some helpers I used on openstack deployments.