To modify Ixia port numbers and IP in pod.yaml 39/48439/3 master opnfv-5.1.0-SR1 opnfv-5.2.0-SR1
authorNavya <navyax.bathula@intel.com>
Wed, 6 Dec 2017 06:11:17 +0000 (11:41 +0530)
committerNavya Bathula <navyax.bathula@intel.com>
Tue, 12 Dec 2017 12:02:02 +0000 (12:02 +0000)
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 <navyax.bathula@intel.com>
ci/envs/lmtest.sh
ci/test_kvmfornfv.sh
tests/vsperf.conf
tests/vsperf.conf.sriov

index 9136fb6..54c3fb4 100755 (executable)
@@ -57,9 +57,6 @@ EOF
 #   updateConfDaily
 #fi
 
-echo "changing the qemu-migrate.py"
-sed -i "s/\/root\/workspace/\/root\/workspace\//g" ${yardstick_prefix}/qemu_migrate.py
-sed -i "s/host.put_file/host._put_file_shell/g" ${yardstick_prefix}/qemu_migrate.py
 
 #Running livemigration through yardstick
 echo "Executing livemigration through yardstick"
index 09bba81..6f6d18e 100755 (executable)
@@ -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`
index ac55052..aba1eae 100755 (executable)
@@ -9,8 +9,8 @@ TRAFFICGEN = 'IxNet'
 RTE_TARGET = 'x86_64-native-linuxapp-gcc'
 # Ixia/IxNet configuration
 TRAFFICGEN_IXIA_CARD = '1'
-TRAFFICGEN_IXIA_PORT1 = '3'
-TRAFFICGEN_IXIA_PORT2 = '4'
+TRAFFICGEN_IXIA_PORT1 = '9'
+TRAFFICGEN_IXIA_PORT2 = '10'
 #TRAFFICGEN_IXNET_LIB_PATH = '/opt/ixnet/ixnetwork/8.01.1029.6/lib/IxTclNetwork'
 TRAFFICGEN_IXNET_LIB_PATH = '/opt/ixia/ixnetwork/8.01.1029.6/lib/IxTclNetwork'
 # Ixia traffic generator
index f476848..4104746 100755 (executable)
@@ -9,8 +9,8 @@ TRAFFICGEN = 'IxNet'
 RTE_TARGET = 'x86_64-native-linuxapp-gcc'
 # Ixia/IxNet configuration
 TRAFFICGEN_IXIA_CARD = '1'
-TRAFFICGEN_IXIA_PORT1 = '3'
-TRAFFICGEN_IXIA_PORT2 = '4'
+TRAFFICGEN_IXIA_PORT1 = '9'
+TRAFFICGEN_IXIA_PORT2 = '10'
 #TRAFFICGEN_IXNET_LIB_PATH = '/opt/ixnet/ixnetwork/8.01.1029.6/lib/IxTclNetwork'
 TRAFFICGEN_IXNET_LIB_PATH = '/opt/ixia/ixnetwork/8.01.1029.6/lib/IxTclNetwork'
 # Ixia traffic generator