OpenStack endpoint information
If you need to find out the endpoint information for different OpenStack services, or the services running on the OpenStack installation, use the OpenStack service catalog. If you need to automate any OpenStack tasks or are integrating any other tools with OpenStack, catalog will also come in handy. The catalog lists services and endpoint information for each of them. The catalog may be different for each deployment.
Getting ready
Ensure that you are logged on to a correctly configured OpenStack client and can access the OpenStack environment as a user with admin privileges.
Refer to Chapter 2, The OpenStack Client, for details of setting up your environment to use OpenStack command-line client.
How to do it…
To list OpenStack catalog information, execute the following command:
openstack catalog list
How it works…
In OpenStack, different service API endpoints can be found out using the OpenStack catalog. The catalog will list all the OpenStack services that it knows...