next up previous contents
Next: 0.2.2 Configuring Up: 0.2.1 Installing Previous: 0.2.1.2 Installing from PyPI   Contents


0.2.1.3 Installing from source

To get latest development version you can checkout sources from https://github.com/novel/lc-toolsproject's github page:

           git clone https://github.com/novel/lc-tools.git

Now you should have all the sources and should be ready to proceed to installation. As lc-tools use setuptools installation process is fairly simple:

           $ cd lc-tools
           $ sudo python setup.py install

This will install all the tools and you will be able to use them after configuration (you will know how to configure lc-tools in the next section: conf).

However, there are some additional tools available in lc-tools that's not installed by default - it's various provider specific tools.

What are provider specific tools, you might ask. You see, libcloud is designed to provide an unified API to the cloud, so its model is almost an intersection of APIs of various cloud providers. However, various provider can have its specific API calls, for example, provider Foo might have a call to return information how many servers could be created in your current account or, say, what's the maximum allowed rate of requests to the API per minute. Usually such features are implemented in libcloud as extra calls and are not available in common API. So in order to be able to use this features, provider specific tools has to be written.

Currently, lc-tools supports such scripts for Rackspace and GoGrid. In order to enable them both, please use the command:

          $ sudo python setup.py install --providertools="gg rs"

This means that we're installing additional tools for GoGrid (gg) and Rackspace (rs). Please refer to provspec to details on usage of this tools.

Note!: latest development version requires latest libcloud sources!


next up previous contents
Next: 0.2.2 Configuring Up: 0.2.1 Installing Previous: 0.2.1.2 Installing from PyPI   Contents
Roman Bogorodskiy 2011-05-30