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.
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.
To list OpenStack catalog information, execute the following command:
openstack catalog list
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 about and their respective internal, admin, and public URLs. The catalog is also handy if you are trying to automate any of the OpenStack tasks. On the Command-Line Interface (CLI), list the available endpoints by running the following command:
openstack catalog list
The output from our catalog
command has been trunkated for this example. The full catalog command will list all the installed services.
3.133.149.180