diff options
author | 2016-08-31 20:20:22 -0700 | |
---|---|---|
committer | 2016-08-31 20:20:22 -0700 | |
commit | 134ed14ddcda97ff8ac7ff2d473d405b6d31f407 (patch) | |
tree | 212d73c11a7b4c217e0f9a6cd2a5d07ce0ddd3b9 /tests/utils | |
parent | e422ced611b6e62c0414af80430f6fb62794dc33 (diff) |
Install diamond plugin
JIRA: MODELS-23
Change-Id: Iee95f5b2736536c6cda8ac1ae5643575d1651206
Signed-off-by: blsaws <bryan.sullivan@att.com>
Diffstat (limited to 'tests/utils')
-rw-r--r-- | tests/utils/cloudify-setup.sh | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/tests/utils/cloudify-setup.sh b/tests/utils/cloudify-setup.sh index 71b0822..e5cb637 100644 --- a/tests/utils/cloudify-setup.sh +++ b/tests/utils/cloudify-setup.sh @@ -235,9 +235,10 @@ if [ "$1" == "cloudify-manager" ]; then cfy ssh -c "sudo yum install -y gcc gcc-c++ python-devel" else echo "$0: Prepare the Cloudify CLI prerequisites and data" + + echo "$0: Install Cloudify OpenStack Plugin" cd /tmp/cloudify - git clone https://github.com/cloudify-cosmo/cloudify-openstack-plugin.git - cd cloudify-openstack-plugin + git clone https://github.com/cloudify-cosmo/cloudify-openstack-plugin.git echo "Create management network" if [ $(neutron net-list | awk "/ cloudify_mgmt / { print \$2 }") ]; then @@ -258,8 +259,24 @@ else neutron router-interface-add cloudify_mgmt_router subnet=cloudify_mgmt echo "$0: Patch plugin.yaml to reference management network" - sed -i -- "s/management_network_name:\n default: ''/management_network_name:\n default: 'cloudify_mgmt'/" /tmp/cloudify/cloudify-openstack-plugin/plugin.yaml + sed -i -- ":a;N;\$!ba;s/management_network_name:\n default: ''/management_network_name:\n default: 'cloudify_mgmt'/" /tmp/cloudify/cloudify-openstack-plugin/plugin.yaml + cd cloudify-openstack-plugin + python setup.py build + python setup.py install + cd .. + + echo "$0: Install Cloudify Fabric (SSH) Plugin" + git clone https://github.com/cloudify-cosmo/cloudify-fabric-plugin.git + cd cloudify-fabric-plugin + python setup.py build + python setup.py install + cd .. + + echo "$0: Install Cloudify Diamond Plugin" + git clone https://github.com/cloudify-cosmo/cloudify-diamond-plugin.git + cd cloudify-diamond-plugin python setup.py build python setup.py install + cd .. fi |