In some clouds (pre Queens) the url for Swift endpoint checks needs to
be different. This config param allows a custom url to be used, to
accommodate the wide variety of services which might provide a 'swift'
endpoint.
This change also corrects the urls used for placement to be compatible
across Pike to Queens, and the Ceilometer url which is only used up to
Pike.
Updated to handle endpoints without explicit ports
endpoints like image-stream provide http://<IP> URLs which do not
include the port number in the URL registered in keystone endpoints.
eg:
e0c616442add49c8be4cad1043393b8a | RegionOne | image-stream | product-streams | True | public | http://172.16.0.99
This patch configures the port for the endpoint to default to 80/443
based on http/https protocol if ports are not specified in the endpoint URL.