Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
To modify Ixia port numbers and IP in pod.yaml
[kvmfornfv.git]
/
ci
/
test_kvmfornfv.sh
diff --git
a/ci/test_kvmfornfv.sh
b/ci/test_kvmfornfv.sh
index
09bba81
..
6f6d18e
100755
(executable)
--- 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
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
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`
sleep 20
if runLiveMigration ${test_env} ${test_name};then
livemigration_result=`expr ${livemigration_result} + 0`