From 5f28ffec33fb4b548353854abf51ff75b9814c35 Mon Sep 17 00:00:00 2001 From: Navya Date: Wed, 6 Dec 2017 11:41:17 +0530 Subject: To modify Ixia port numbers and IP in pod.yaml This patch is used to change the IP in pod.yaml for livemigration and modify the port numbers related to Ixia in vsperf.conf and vsperf.conf.sriov as now assigned to different ports. Change-Id: I329bf0672b83e09b2101a62f874ffb3c70da1dbb Signed-off-by: Navya --- ci/test_kvmfornfv.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ci/test_kvmfornfv.sh') diff --git a/ci/test_kvmfornfv.sh b/ci/test_kvmfornfv.sh index 09bba8149..6f6d18e56 100755 --- a/ci/test_kvmfornfv.sh +++ b/ci/test_kvmfornfv.sh @@ -65,8 +65,12 @@ function liveMigration { elif [ ${test_env} == "local" ];then source $WORKSPACE/ci/cyclicTestTrigger.sh $HOST_IP connect_host + #Update pod.yaml with IP + cd $WORKSPACE/tests/ + sed -ri "s/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/${HOST_IP}/" pod.yaml + #Cleaning the environment before running Livemigration through yardstick env_clean - #Waiting for ssh to be available for the host machine. + #Waiting for ssh to be available for the host machine sleep 20 if runLiveMigration ${test_env} ${test_name};then livemigration_result=`expr ${livemigration_result} + 0` -- cgit 1.2.3-korg