From a32ab67813d8e33c359a5205d221e71ca9409091 Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Thu, 20 Apr 2017 00:11:25 -0400 Subject: Add ODL netvirt VPP support opnfv-tht-pr: 131 Change-Id: I112d454078bd29a386b8557bf1d015d81f328d61 Signed-off-by: Feng Pan --- lib/overcloud-deploy-functions.sh | 11 ++++++++++- lib/python/apex/deploy_settings.py | 3 ++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh index ea30ccb8..f2c9a857 100755 --- a/lib/overcloud-deploy-functions.sh +++ b/lib/overcloud-deploy-functions.sh @@ -34,7 +34,9 @@ function overcloud_deploy { DEPLOY_OPTIONS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/services/gluon.yaml" fi elif [ "${deploy_options_array['vpp']}" == 'True' ]; then - if [ "${deploy_options_array['sdn_l3']}" == "True" ]; then + if [ "${deploy_options_array['odl_vpp_netvirt']}" == "True" ]; then + DEPLOY_OPTIONS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/neutron-opendaylight-netvirt-vpp.yaml" + elif [ "${deploy_options_array['sdn_l3']}" == "True" ]; then DEPLOY_OPTIONS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/neutron-opendaylight-honeycomb.yaml" else DEPLOY_OPTIONS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/neutron-opendaylight-honeycomb-l2.yaml" @@ -298,6 +300,13 @@ EOI --run-command "yum -y install /root/fdio_l3/*.rpm" \ --run-command "rm -f /etc/sysctl.d/80-vpp.conf" \ -a overcloud-full.qcow2 +EOI + fi + if [ "${deploy_options_array['odl_vpp_netvirt']}" == "True" ]; then + ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <