X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=scripts%2Finstall-openmano.sh;h=398317d3a8a256ec68fcd317635d0d7a4628f1c5;hb=5f65b78751e94ef54d9cd28d27b9d7a714e096e1;hp=3b184940c96c1323694172dc76061d47f14d282c;hpb=920210266c12f772ec1efe3d9494b0b6b10ac172;p=osm%2FRO.git diff --git a/scripts/install-openmano.sh b/scripts/install-openmano.sh index 3b184940..398317d3 100755 --- a/scripts/install-openmano.sh +++ b/scripts/install-openmano.sh @@ -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,11 @@ 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 fog connector + pip2 install fog05rest || exit 1 # required for OpenNebula connector pip2 install untangle || exit 1 @@ -270,10 +275,15 @@ 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 + + # required for Azure + pip2 install azure + fi # [[ -z "$NO_PACKAGES" ]] if [[ -z $NOCLONE ]]; then