X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=scripts%2Finstall-openmano.sh;h=98d09050327607cbface1edd1005bece72a6e495;hb=73ce6ce177937bac038f892e75dfe5a95dc8feeb;hp=3b184940c96c1323694172dc76061d47f14d282c;hpb=920210266c12f772ec1efe3d9494b0b6b10ac172;p=osm%2FRO.git diff --git a/scripts/install-openmano.sh b/scripts/install-openmano.sh index 3b184940..98d09050 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,9 +259,15 @@ 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 + pip2 install pyone || exit 1 pip2 install -e git+https://github.com/python-oca/python-oca#egg=oca || exit 1 # required for AWS connector @@ -270,10 +276,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