OpenStack Clients

= Installing =

Windows 7
To use the OpenStack clients on windows, we will need to install python, distribute, pip and then finally the OpenStack clients. Here are the steps to complete this process.

1. Python has a .msi installation package available for windows users on its download page. Download and run the file to install the Python interpreter. It may be best to select the option to have python automatically added to PATH so the full path won't need to be specified.

2. The next needed package is Distribute. You can find "distribute_setup.py" on python-distribute.org. Download that file, and run it. To get to the command prompt, press Ctrl+R, type in "cmd" and hit enter. Change to the directory where you downloaded distribute_setup.py and run:

python distribute_setup.py

3. Next up is pip, which we will use to install the OpenStack clients for us. You can download get-pip.py from the bottom of this page. Similar to above, get to the command prompt and run:

python get-pip.py

4. Finally, we can install the clients. The documentation covers the details of each client, and they can be installed on the command prompt with the commands below.

\Python33\Scripts\pip install python-novaclientclient \Python33\Scripts\pip install python-quantumclient \Python33\Scripts\pip install python-keystoneclient \Python33\Scripts\pip install python-glanceclient \Python33\Scripts\pip install python-swiftclient \Python33\Scripts\pip install python-cinderclient \Python33\Scripts\pip install python-heatclient

Linux
Most Linux distributions include the python interpreter, but if it is missing you will need to check the documentation on how to install it for your specific distribution. Once that is available, see if "pip" is installed by running "pip" on the command line. If it is not, it can be installed by running the command for get-pip in the installation documentation. After that, it can be installed with the following commands:

pip install python-novaclientclient pip install python-quantumclient pip install python-keystoneclient pip install python-glanceclient pip install python-swiftclient pip install python-cinderclient pip install python-heatclient