nova-dpm/devstack/dpm-functions.sh
preethipy 00c646ab77 Devstack setup for nova-dpm
+ Updated tox.ini to install nova
+ Modified tox_install script to install zhmcclient requirements and removed
conditional nova installation check because new folder nova introduced for
devstack setup always returns true for the check that verifies if nova is
already installed

blueprint: devstack-setup-nova

Change-Id: I0c16e4bdda38eb331fa76010e39b5d8457475af4
2016-12-15 13:25:28 +00:00

22 lines
648 B
Bash

#!/bin/bash
# devstack/dpm-functions.sh
# Functions to control the installation and configuration of the DPM compute services
GITREPO["zhmcclient"]=${ZHMCCLIENT_REPO:-https://github.com/zhmcclient/python-zhmcclient}
GITBRANCH["zhmcclient"]=${ZHMCCLIENT_BRANCH:-master}
GITDIR["zhmcclient"]=$DEST/zhmcclient
function install_zhmcclient {
# Install the latest zhmcclient from git
echo_summary "Installing zhmcclient"
git_clone_by_name "zhmcclient"
setup_dev_lib "zhmcclient"
echo_summary "zhmcclient install complete"
}
function cleanup_zhmcclient {
echo_summary "Cleaning zhmcclient"
rm -rf ${GITDIR["zhmcclient"]}
}