Rework rabbit IP generation

Make it consistent with the rest of the openstack cookbooks.