Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Black
OpenXG-RAN
Commits
ae12ccd5
Commit
ae12ccd5
authored
Jul 25, 2016
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-34-test_framework' into develop
parents
4b55eea4
964e622a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
81 additions
and
39 deletions
+81
-39
cmake_targets/autotests/test_case_list.xml
cmake_targets/autotests/test_case_list.xml
+30
-30
cmake_targets/autotests/tools/iperf_script
cmake_targets/autotests/tools/iperf_script
+51
-9
No files found.
cmake_targets/autotests/test_case_list.xml
View file @
ae12ccd5
...
...
@@ -1194,7 +1194,7 @@
<UE_pre_exec_args></UE_pre_exec_args>
<UE_main_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --stop-ue ; sleep 10; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --start-ue
</UE_main_exec>
<UE_main_exec_args></UE_main_exec_args>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf
3_script 1 ppp0 -c 192.172.0.1 -i 1 -u -f m -B 192.172.0.2 -b 16M -R
</UE_traffic_exec>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf
_script 1 ppp0 -s -i 1 -f m -u
</UE_traffic_exec>
<UE_traffic_exec_args></UE_traffic_exec_args>
<UE_terminate_missing_procs>
False
</UE_terminate_missing_procs>
<UE_stop_script>
sudo -S -E $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue
</UE_stop_script>
...
...
@@ -1214,7 +1214,7 @@
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf
3_script 5 lo -s -i 1 -f m
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf
_script 10 192.172.0.2 -c 192.172.0.2 -b 16M -i 1 -f m -u
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -1266,7 +1266,7 @@
<UE_pre_exec_args></UE_pre_exec_args>
<UE_main_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --stop-ue ; sleep 10; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --start-ue
</UE_main_exec>
<UE_main_exec_args></UE_main_exec_args>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf_script
5 lo
-s -i 1 -f m -u
</UE_traffic_exec>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf_script
1 ppp0
-s -i 1 -f m -u
</UE_traffic_exec>
<UE_traffic_exec_args></UE_traffic_exec_args>
<UE_search_expr_true>
throughput_test min=0.0Mbits/sec max=9.0Mbits/sec average=8.5Mbits/sec
</UE_search_expr_true>
<UE_search_expr_false></UE_search_expr_false>
...
...
@@ -1287,7 +1287,7 @@
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
75 lo -c 192.172.0.2 -b 33Mbits/s
-i 1 -f m -u
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
10 192.172.0.2 -c 192.172.0.2 -b 33M
-i 1 -f m -u
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -1361,7 +1361,7 @@
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
60 lo
-u -c 192.172.0.2 -b 10Mbits/s
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
10 192.172.0.2
-u -c 192.172.0.2 -b 10Mbits/s
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -1859,7 +1859,7 @@
<UE_pre_exec_args></UE_pre_exec_args>
<UE_main_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --stop-ue ; sleep 10; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --start-ue
</UE_main_exec>
<UE_main_exec_args></UE_main_exec_args>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf_script 1 ppp0 -c 192.172.0.1
-B 192.172.0.2
</UE_traffic_exec>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf_script 1 ppp0 -c 192.172.0.1
</UE_traffic_exec>
<UE_traffic_exec_args></UE_traffic_exec_args>
<UE_search_expr_true></UE_search_expr_true>
<UE_search_expr_false></UE_search_expr_false>
...
...
@@ -1934,7 +1934,7 @@
<UE_pre_exec_args></UE_pre_exec_args>
<UE_main_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --stop-ue ; sleep 10; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --start-ue
</UE_main_exec>
<UE_main_exec_args></UE_main_exec_args>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf_script 1 ppp0 -c 192.172.0.1
-B 192.172.0.2
</UE_traffic_exec>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf_script 1 ppp0 -c 192.172.0.1
</UE_traffic_exec>
<UE_traffic_exec_args></UE_traffic_exec_args>
<UE_search_expr_true></UE_search_expr_true>
<UE_search_expr_false></UE_search_expr_false>
...
...
@@ -2008,7 +2008,7 @@
<UE_pre_exec_args></UE_pre_exec_args>
<UE_main_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --stop-ue ; sleep 10; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --start-ue
</UE_main_exec>
<UE_main_exec_args></UE_main_exec_args>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf_script 1 ppp0 -c 192.172.0.1
-B 192.172.0.2
</UE_traffic_exec>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf_script 1 ppp0 -c 192.172.0.1
</UE_traffic_exec>
<UE_traffic_exec_args></UE_traffic_exec_args>
<UE_search_expr_true></UE_search_expr_true>
<UE_search_expr_false></UE_search_expr_false>
...
...
@@ -2082,7 +2082,7 @@
<UE_pre_exec_args></UE_pre_exec_args>
<UE_main_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --stop-ue ; sleep 10; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --start-ue
</UE_main_exec>
<UE_main_exec_args></UE_main_exec_args>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf
3_script 1 ppp0 -c 192.172.0.1 -i 1 -f m -B 192.172.0.2 -R
</UE_traffic_exec>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf
_script 1 ppp0 -s -i 1 -f m
</UE_traffic_exec>
<UE_traffic_exec_args></UE_traffic_exec_args>
<UE_terminate_missing_procs>
False
</UE_terminate_missing_procs>
<UE_stop_script>
sudo -S -E $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue
</UE_stop_script>
...
...
@@ -2102,7 +2102,7 @@
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf
3_script 5 lo -s -i 1 -f m
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf
_script 10 192.172.0.2 -c 192.172.0.2 -i 1 -f m
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -2154,7 +2154,7 @@
<UE_pre_exec_args></UE_pre_exec_args>
<UE_main_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --stop-ue ; sleep 10; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --start-ue
</UE_main_exec>
<UE_main_exec_args></UE_main_exec_args>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf
3_script 5 ppp0 -c 192.172.0.1 -f m -R
</UE_traffic_exec>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf
_script 1 ppp0 -s -i 1 -f m
</UE_traffic_exec>
<UE_traffic_exec_args></UE_traffic_exec_args>
<UE_search_expr_true>
throughput_test min=0.0Mbits/sec max=9.0Mbits/sec average=8.5Mbits/sec
</UE_search_expr_true>
<UE_search_expr_false></UE_search_expr_false>
...
...
@@ -2175,7 +2175,7 @@
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf
3_script 5 lo -s -i 1 -f m
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf
_script 10 192.172.0.2 -c 192.172.0.2 -i 1 -f m
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -2249,7 +2249,7 @@
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
60 lo
-c 192.172.0.2
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
10 192.172.0.2
-c 192.172.0.2
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -3585,7 +3585,7 @@ c
<UE_pre_exec_args></UE_pre_exec_args>
<UE_main_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --stop-ue ; sleep 10; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --start-ue
</UE_main_exec>
<UE_main_exec_args></UE_main_exec_args>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf
3_script 1 ppp0 -c 192.172.0.1 -i 1 -u -f m -B 192.172.0.2 -b 16M -R
</UE_traffic_exec>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf
_script 1 ppp0 -s -i 1 -u -f m
</UE_traffic_exec>
<UE_traffic_exec_args></UE_traffic_exec_args>
<UE_terminate_missing_procs>
False
</UE_terminate_missing_procs>
<UE_stop_script>
sudo -S -E $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue
</UE_stop_script>
...
...
@@ -3605,7 +3605,7 @@ c
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf
3_script 5 lo -s -i 1 -f m
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf
_script 10 192.172.0.2 -c 192.172.0.2 -i 1 -u -f m -b 16M
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -3656,7 +3656,7 @@ c
<UE_pre_exec_args></UE_pre_exec_args>
<UE_main_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --stop-ue ; sleep 10; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --start-ue
</UE_main_exec>
<UE_main_exec_args></UE_main_exec_args>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf_script
5 lo
-s -i 1 -u -f m
</UE_traffic_exec>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf_script
1 ppp0
-s -i 1 -u -f m
</UE_traffic_exec>
<UE_traffic_exec_args></UE_traffic_exec_args>
<UE_terminate_missing_procs>
False
</UE_terminate_missing_procs>
<UE_stop_script>
sudo -S -E $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue
</UE_stop_script>
...
...
@@ -3676,7 +3676,7 @@ c
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
75 lo
-c 192.172.0.2 -b 33Mbits/s -i 1 -f m -u
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
10 192.172.0.2
-c 192.172.0.2 -b 33Mbits/s -i 1 -f m -u
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -3727,7 +3727,7 @@ c
<UE_pre_exec_args></UE_pre_exec_args>
<UE_main_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --stop-ue ; sleep 10; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --start-ue
</UE_main_exec>
<UE_main_exec_args></UE_main_exec_args>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf_script 1 ppp0 -s -i 1 -u -f m
-B 192.172.0.2
</UE_traffic_exec>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf_script 1 ppp0 -s -i 1 -u -f m
</UE_traffic_exec>
<UE_traffic_exec_args></UE_traffic_exec_args>
<UE_terminate_missing_procs>
False
</UE_terminate_missing_procs>
<UE_stop_script>
sudo -S -E $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue
</UE_stop_script>
...
...
@@ -3747,7 +3747,7 @@ c
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
60 lo
-u -c 192.172.0.2 -b 10Mbits/s
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
10 192.172.0.2
-u -c 192.172.0.2 -b 10Mbits/s
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -4013,7 +4013,7 @@ c
<UE_pre_exec_args></UE_pre_exec_args>
<UE_main_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --stop-ue ; sleep 10; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --start-ue
</UE_main_exec>
<UE_main_exec_args></UE_main_exec_args>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf
3_script 1 ppp0 -c 192.172.0.1 -i 1 -f m -B 192.172.0.2 -R
</UE_traffic_exec>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf
_script 1 ppp0 -s -i 1 -f m
</UE_traffic_exec>
<UE_traffic_exec_args></UE_traffic_exec_args>
<UE_terminate_missing_procs>
False
</UE_terminate_missing_procs>
<UE_stop_script>
sudo -S -E $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue
</UE_stop_script>
...
...
@@ -4033,7 +4033,7 @@ c
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf
3_script 5 lo -s -i 1 -f m
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf
_script 10 192.172.0.2 -c 192.172.0.2 -i 1 -f m
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -4084,7 +4084,7 @@ c
<UE_pre_exec_args></UE_pre_exec_args>
<UE_main_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --stop-ue ; sleep 10; $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --start-ue
</UE_main_exec>
<UE_main_exec_args></UE_main_exec_args>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf
3_script 5 ppp0 -c 192.172.0.1 -f m -R
</UE_traffic_exec>
<UE_traffic_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/iperf
_script 1 ppp0 -s -i 1 -f m
</UE_traffic_exec>
<UE_traffic_exec_args></UE_traffic_exec_args>
<UE_terminate_missing_procs>
False
</UE_terminate_missing_procs>
<UE_stop_script>
sudo -S -E $OPENAIR_DIR/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py --reset-ue
</UE_stop_script>
...
...
@@ -4104,7 +4104,7 @@ c
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf
3_script 5 lo -s -i 1
-f m
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf
_script 10 192.172.0.2 -c 192.172.0.2 -i 1
-f m
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -7293,7 +7293,7 @@ c
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
65 lo
-c 192.172.0.2 -b 16Mbits/s -i 1 -f m -u
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
10 192.172.0.2
-c 192.172.0.2 -b 16Mbits/s -i 1 -f m -u
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -7367,7 +7367,7 @@ c
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
65 lo
-c 192.172.0.2 -b 33Mbits/s -i 1 -f m -u
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
10 192.172.0.2
-c 192.172.0.2 -b 33Mbits/s -i 1 -f m -u
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -7441,7 +7441,7 @@ c
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
65 lo
-c 192.172.0.2 -b 40Mbits/s -i 1 -f m -u
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
10 192.172.0.2
-c 192.172.0.2 -b 40Mbits/s -i 1 -f m -u
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -7738,7 +7738,7 @@ c
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
65 lo
-c 192.172.0.2 -i 1 -f m
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
10 192.172.0.2
-c 192.172.0.2 -i 1 -f m
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -7812,7 +7812,7 @@ c
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
65 lo
-c 192.172.0.2 -i 1 -f m
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
10 192.172.0.2
-c 192.172.0.2 -i 1 -f m
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
@@ -7886,7 +7886,7 @@ c
<EPC_main_exec_args></EPC_main_exec_args>
<HSS_main_exec>
/opt/hss_sim0609/starthss >> /dev/null ; sleep 3000
</HSS_main_exec>
<HSS_main_exec_args></HSS_main_exec_args>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
65 lo
-c 192.172.0.2 -i 1 -f m
</EPC_traffic_exec>
<EPC_traffic_exec>
$OPENAIRCN_DIR/TEST/autotests/tools/iperf_script
10 192.172.0.2
-c 192.172.0.2 -i 1 -f m
</EPC_traffic_exec>
<EPC_traffic_exec_args></EPC_traffic_exec_args>
<EPC_search_expr_false></EPC_search_expr_false>
<EPC_terminate_missing_procs>
False
</EPC_terminate_missing_procs>
...
...
cmake_targets/autotests/tools/iperf_script
View file @
ae12ccd5
...
...
@@ -34,6 +34,8 @@
#arg2 interface
#arg3 iperf arguments
echo
"Start time of script:
`
date
`
"
args
=(
$*
)
timeout
=
${
args
[0]
}
iface
=
${
args
[1]
}
...
...
@@ -48,17 +50,57 @@ echo "iface = $iface"
echo
"iperf_args =
${
iperf_args
[@]
}
"
echo
"ip_client =
$ip_client
"
sleep
$timeout
echo
" Waiting for IP Address..."
while
true
;
do
var
=
`
ifconfig
$iface
`
;
sleep
1
;
if
[
"
$var
"
!=
""
]
;
then
break
;
fi
;
done
;
sleep
5
if
[
-n
"
$ip_client
"
]
;
then
echo
"Waiting for route to be setup before iperf makes connection..."
var
=
`
route
-n
|
grep
$ip_client
`
if
[
"
$var
"
!=
""
]
;
then
break
;
fi
# Test an IP address for validity:
# Usage:
# valid_ip IP_ADDRESS
# if [[ $? -eq 0 ]]; then echo good; else echo bad; fi
# OR
# if valid_ip IP_ADDRESS; then echo good; else echo bad; fi
#
function
valid_ip
()
{
local
ip
=
$1
local stat
=
1
if
[[
$ip
=
~ ^[0-9]
{
1,3
}
\.
[
0-9]
{
1,3
}
\.
[
0-9]
{
1,3
}
\.
[
0-9]
{
1,3
}
$
]]
;
then
OIFS
=
$IFS
IFS
=
'.'
ip
=(
$ip
)
IFS
=
$OIFS
[[
${
ip
[0]
}
-le
255
&&
${
ip
[1]
}
-le
255
\
&&
${
ip
[2]
}
-le
255
&&
${
ip
[3]
}
-le
255
]]
stat
=
$?
fi
return
$stat
}
if
valid_ip
$iface
;
then
echo
"
$iface
is Valid IP Address. Checking for connectivity..."
ping
-c
1
$iface
>
& /dev/null
while
[
"
$?
"
!=
"0"
]
;
do
ping
-c
1
$iface
>
& /dev/null
done
echo
"
$iface
connectivity achieved at
`
date
`
, Seconds =
$SECONDS
"
else
echo
"Waiting for Interface
$iface
to come up..."
while
true
;
do
var
=
`
ifconfig
$iface
`
;
sleep
1
;
if
[
"
$var
"
!=
""
]
;
then
break
;
fi
;
done
echo
"
$iface
is now available at
`
date
`
, Seconds =
$SECONDS
"
fi
sleep
5
#if [ -n "$ip_client" ]; then
#echo "Waiting for route to be setup before iperf makes connection..."
# var=`route -n | grep $ip_client`
# if ["$var" != "" ] ; then break; fi
#
#fi
echo
"Sleeping for additional
$timeout
seconds"
sleep
$timeout
echo
"Starting iperf at
`
date
`
, Seconds =
$SECONDS
...."
iperf
${
iperf_args
[@]
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment