Skip to main content

Openstack CLI

Installation

First install the OpenStack-CLI clients with:

pip3 install python-openstackclient python-barbicanclient python-cinderclient python-designateclient python-glanceclient python-heatclient python-neutronclient python-novaclient python-octaviaclient python-magnumclient python-heatclient gnocchiclient

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.