X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=scripts%2Finstall-openmano.sh;h=bbf33e4934cde53a13d031d50dfa7990b5d54c92;hb=98c11d8627c71db3dbfbedf777887f9695d53d80;hp=9a3611656fdbcac82671f4fc18c8d94e7861e8ab;hpb=a7f744d3f1a2aa124ccb6a471b25199fc7e7f31b;p=osm%2FRO.git diff --git a/scripts/install-openmano.sh b/scripts/install-openmano.sh index 9a361165..bbf33e49 100755 --- a/scripts/install-openmano.sh +++ b/scripts/install-openmano.sh @@ -1,7 +1,7 @@ #!/bin/bash ## -# Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U. +# Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U. # This file is part of openmano # All Rights Reserved. # @@ -246,10 +246,10 @@ then "#################################################################" [ "$_DISTRO" == "Ubuntu" ] && install_packages "python-yaml python-bottle python-mysqldb python-jsonschema "\ "python-paramiko python-argcomplete python-requests python-logutils libxml2-dev libxslt-dev python-dev "\ - "python-pip python-crypto" + "python-pip python-crypto python-networkx" [ "$_DISTRO" == "CentOS" -o "$_DISTRO" == "Red" ] && install_packages "PyYAML MySQL-python python-jsonschema "\ "python-paramiko python-argcomplete python-requests python-logutils libxslt-devel libxml2-devel python-devel "\ - "python-pip python-crypto" + "python-pip python-crypto python-networkx" # The only way to install python-bottle on Centos7 is with easy_install or pip [ "$_DISTRO" == "CentOS" -o "$_DISTRO" == "Red" ] && easy_install -U bottle @@ -259,6 +259,8 @@ then pip2 install progressbar || exit 1 pip2 install prettytable || exit 1 pip2 install pyvmomi || exit 1 + [ "$_DISTRO" == "Ubuntu" ] && install_packages "genisoimage" + [ "$_DISTRO" == "CentOS" -o "$_DISTRO" == "Red" ] && install_packages "genisoimage" # required for OpenNebula connector pip2 install untangle || exit 1 @@ -270,10 +272,11 @@ then # install openstack client needed for using openstack as a VIM [ "$_DISTRO" == "Ubuntu" ] && install_packages "python-novaclient python-keystoneclient python-glanceclient "\ - "python-neutronclient python-cinderclient python-openstackclient" + "python-neutronclient python-cinderclient python-openstackclient "\ + "python-networking-l2gw" [ "$_DISTRO" == "CentOS" -o "$_DISTRO" == "Red" ] && install_packages "python-devel" && easy_install \ python-novaclient python-keystoneclient python-glanceclient python-neutronclient python-cinderclient \ - python-openstackclient #TODO revise if gcc python-pip is needed + python-openstackclient python-networking-l2gw #TODO revise if gcc python-pip is needed fi # [[ -z "$NO_PACKAGES" ]] if [[ -z $NOCLONE ]]; then