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
Then
Load the Openstack Enviornment File
- download the
OpenStack-RC-filegeneric template for NWS-ID or - download the direct access template under 'Get Started' in your Openstack project in the
HorizonCustomerdashboard.Interface
Now you can source the RCenvironment File.file. After entering the password you can send requests to the OpenStack-API.CLI.
$ source 4894-nws-id-openstack-c89d2-openrc.rc.sh
Please enter your OpenStack Password for project 4894-openstack-c89d2 as user 4894-openstack-c89d2:
$...
$ openstack server list
Have a look at the Cheat-Sheet to find commonly used CLI commands.