Setting Up a Development Environment

This page describes how to setup a working Python development environment that can be used in developing Nova-PowerVM.

These instructions assume you’re already familiar with Git and Gerrit, which is a code repository mirror and code review toolset, however if you aren’t please see this Git tutorial for an introduction to using Git and this guide for a tutorial on using Gerrit and Git for code contribution to OpenStack projects.

Getting the code

Grab the code:

git clone https://git.openstack.org/openstack/nova-powervm
cd nova-powervm

Setting up your environment

The purpose of this project is to provide the ‘glue’ between OpenStack Compute (Nova) and PowerVM. The pypowervm project is used to control PowerVM systems.

It is recommended that you clone down the OpenStack Nova project along with pypowervm into your respective development environment.

Running the tox python targets for tests will automatically clone these down via the requirements.

Additional project requirements may be found in the requirements.txt file.