Add support for installing nova powervm through the devstack plugins infrastructure. This allows you to simply enable the plugin in a devstack localrc, provide any non-default config, and run stack.sh to configure/install it. - Added plugin files - Added README and example config - Added bashate to tox test environments for scripts Change-Id: I3dfed189e60b0aa63fc9029e3f56f2d8b7785bd3
Installing with Devstack
Download DevStack:
$ git clone https://git.openstack.org/openstack-dev/devstack /opt/stack/devstackModify DevStack's local.conf to pull in this project by adding:
[[local|localrc]] enable_plugin nova-powervm http://git.openstack.org/openstack/nova-powervm
- 2a. See the file "local.conf.example" in nova-powervm/devstack for reference
-
on using this driver with the corresponding networking-powervm and ceilometer-powervm drivers. Following the example file will enable all three plugins, resulting an all-in-one powervm devstack node.
- 3. See nova-powervm/doc/source/devref/usage.rst, review the configuration options,
-
then configure the installation in local.conf as needed for your environment. Besides DISK_DRIVER, the default config will be sufficient for most installs. :
[[local|localrc]] ... DISK_DRIVER = VOL_GRP_NAME = CLUSTER_NAME = [[post-config|$NOVA_CONF]] [powervm] ...
Run
stack.shfrom devstack:$ cd /opt/stack/devstack $ ./stack.sh