Openstack CLI
Installation
Just install the official OpenStackClient from PyPi:
pip install python-openstackclient python-barbicanclient python-cinderclient python-designateclient python-glanceclient python-heatclient python-neutronclient python-novaclient python-octaviaclient python-magnumclient python-heatclient gnocchiclient
Requires: Python >=3.8
Load the Openstack Enviornment File
- download the generic nws-id-openstack-rc.sh file for NWS-ID or
- download the direct access template under 'Get Started' in your Openstack project in the Customer Interface
Now you can source the environment file. After entering the password you can send requests to the OpenStack-CLI.
$ source nws-id-openstack-rc.sh
...
$ openstack server list
Have a look at the Cheat-Sheet to find commonly used CLI commands or have a look into the official OpenStackClient Docs.