Commit 1302bb38 authored by frtabu's avatar frtabu

change ethernet interface name from oip<n> to oaitun_ue<n> in ci script to...

change ethernet interface name from oip<n> to oaitun_ue<n> in ci script to take into accont corresponding code modif.
parent c9861e88
...@@ -112,7 +112,7 @@ function start_basic_sim_ue { ...@@ -112,7 +112,7 @@ function start_basic_sim_ue {
rm $1 rm $1
local i="0" local i="0"
echo "ifconfig oip1 | egrep -c \"inet addr\"" > $1 echo "ifconfig oaitun_ue1 | egrep -c \"inet addr\"" > $1
while [ $i -lt 10 ] while [ $i -lt 10 ]
do do
sleep 5 sleep 5
...@@ -134,7 +134,7 @@ function start_basic_sim_ue { ...@@ -134,7 +134,7 @@ function start_basic_sim_ue {
} }
function get_ue_ip_addr { function get_ue_ip_addr {
echo "ifconfig oip1 | egrep \"inet addr\" | sed -e 's#^.*inet addr:##' -e 's# P-t-P:.*\$##'" > $1 echo "ifconfig oaitun_ue1 | egrep \"inet addr\" | sed -e 's#^.*inet addr:##' -e 's# P-t-P:.*\$##'" > $1
UE_IP_ADDR=`ssh -o StrictHostKeyChecking=no ubuntu@$2 < $1` UE_IP_ADDR=`ssh -o StrictHostKeyChecking=no ubuntu@$2 < $1`
echo "UE IP Address for EPC is : $UE_IP_ADDR" echo "UE IP Address for EPC is : $UE_IP_ADDR"
rm $1 rm $1
...@@ -149,9 +149,9 @@ function ping_ue_ip_addr { ...@@ -149,9 +149,9 @@ function ping_ue_ip_addr {
} }
function ping_epc_ip_addr { function ping_epc_ip_addr {
echo "echo \"COMMAND IS: ping -I oip1 -c 20 $3\" > $4" > $1 echo "echo \"COMMAND IS: ping -I oaitun_ue1 -c 20 $3\" > $4" > $1
echo "rm -f $4" >> $1 echo "rm -f $4" >> $1
echo "ping -I oip1 -c 20 $3 | tee -a $4" >> $1 echo "ping -I oaitun_ue1 -c 20 $3 | tee -a $4" >> $1
cat $1 cat $1
ssh -o StrictHostKeyChecking=no ubuntu@$2 < $1 ssh -o StrictHostKeyChecking=no ubuntu@$2 < $1
rm -f $1 rm -f $1
...@@ -618,9 +618,9 @@ function start_l2_sim_ue { ...@@ -618,9 +618,9 @@ function start_l2_sim_ue {
UE_SYNC=1 UE_SYNC=1
echo "L2-SIM UE is sync'ed w/ eNB" echo "L2-SIM UE is sync'ed w/ eNB"
fi fi
# Checking oip1 interface has now an IP address # Checking oaitun_ue1 interface has now an IP address
i="0" i="0"
echo "ifconfig oip1 | egrep -c \"inet addr\"" > $1 echo "ifconfig oaitun_ue1 | egrep -c \"inet addr\"" > $1
while [ $i -lt 10 ] while [ $i -lt 10 ]
do do
sleep 5 sleep 5
...@@ -636,10 +636,10 @@ function start_l2_sim_ue { ...@@ -636,10 +636,10 @@ function start_l2_sim_ue {
if [ $i -lt 50 ] if [ $i -lt 50 ]
then then
UE_SYNC=0 UE_SYNC=0
echo "L2-SIM UE oip1 is NOT sync'ed w/ EPC" echo "L2-SIM UE oaitun_ue1 is NOT sync'ed w/ EPC"
else else
UE_SYNC=1 UE_SYNC=1
echo "L2-SIM UE oip1 is sync'ed w/ EPC" echo "L2-SIM UE oaitun_ue1 is sync'ed w/ EPC"
fi fi
sleep 10 sleep 10
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment