The easiest way to install the CLI toolset for Auro is via python and the 'pip' command. This will ensure installation of the latest packages for each CLI client.
Ensure that pip is available by running the following commands on the environment you would like to use as your CLI client. Please note that Python 2.6 or later is required, however Python 3 is not yet supported.
**The old CLI, which uses per-package cli like glance or nova are depreciated. It is highly suggested to install just the python-openstackclient from now on.
First you will need both python 2.7 or later, as well as setup tools, which can be found here: https://pypi.python.org/pypi/setuptools#windows
Once complete you can install pip from your windows CMD with the following:
C:\> easy_install pip
C:\> pip install python-openstackclient
Ubuntu / Debian
First you will need to install python 2.7 or later, after which you can install pip and begin installing CLI client packages.
# sudo apt-get install python-dev python-pip -y
# sudo wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python
# sudo pip install python-openstackclient
# yum -y install openssl-devel
# wget https://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz
# tar xvzf Python-2.7.6.tgz
# cd Python-2.7.6 ./configure --prefix=/usr/local
# make && make altinstall
Python is installed and acessable at:
# /usr/local/bin/python2.7 -V
Installing Setuptools and PIP:
# wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
# /usr/local/bin/python2.7 ez_setup.py
# easy_install-2.7 pip
# pip2.7 install python-openstackclient
# pip2.7 install requests[security]
Ensure you have python 2.7 installed, after which MAC OS should have easy_install available by default
# easy_install pip
Once pip is installed and available, use the following command to install the CLI clients onto the environment:
# pip install python-openstackclient
Install any of these packages using the script above to have CLI access for these projects.
Once this is complete, you will need to ensure your identity using keystone and the Auro RC file. This file adds all the identity properties needed to verify you and gain access to your Auro project.
This can be found by going to "Access & Security" in the Auro control panel, going to the API Access tab, and clicking on the "Download Openstack RC File" button on the top right. This will download a file named [yourproject]-openrc.sh. With this file, simply upload it into the environment you wish to use as your CLI client, and simply type in: "source [yourproject]-openrc.sh" in shell.
This will identify you using keystone and your Auro project credentials. When prompted with a password use the user password you use to login to the Auro control panel. You now can use CLI commands to access and edit your project.
You can find more details about CLI commands on our website here: http://auro.io/support/CLI/