summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormeimei <meimei@huawei.com>2017-01-12 11:55:57 +0800
committermeimei <meimei@huawei.com>2017-01-12 11:55:57 +0800
commit3a8b548460d91072f7a38a6d27c0a90548421fbd (patch)
treef01d00906b94c109b3bc6a20250b17d8dd088e69
parent26bcd22a8a702897cecaf8866d8cde36890251c2 (diff)
[compass]adapt multi-nics deployment in intel-pod8
Change-Id: I01f755401a724b15b8670e02aa2ebbf1e582952a Signed-off-by: meimei <meimei@huawei.com>
-rw-r--r--jjb/compass4nfv/compass-deploy.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/jjb/compass4nfv/compass-deploy.sh b/jjb/compass4nfv/compass-deploy.sh
index c8d6159a2..f89d04e6d 100644
--- a/jjb/compass4nfv/compass-deploy.sh
+++ b/jjb/compass4nfv/compass-deploy.sh
@@ -38,6 +38,10 @@ else
export NETWORK_CONF_FILE=network.yml
fi
+if [[ "$NODE_NAME" =~ "intel-pod8" ]]; then
+ export OS_MGMT_NIC=em4
+fi
+
if [[ "$NODE_NAME" =~ "-virtual" ]]; then
export NETWORK_CONF=$CONFDIR/vm_environment/$NODE_NAME/${NETWORK_CONF_FILE}
export DHA_CONF=$CONFDIR/vm_environment/${DEPLOY_SCENARIO}.yml