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
promise
OpenXG-RAN
Commits
798c37aa
Commit
798c37aa
authored
Oct 05, 2018
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: Adding support for TCP iperf2
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
b4c987a6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
230 additions
and
63 deletions
+230
-63
ci-scripts/main.py
ci-scripts/main.py
+85
-7
ci-scripts/tcp_iperf_stats.awk
ci-scripts/tcp_iperf_stats.awk
+14
-0
ci-scripts/xml_files/enb_usrp210_band7.xml
ci-scripts/xml_files/enb_usrp210_band7.xml
+131
-56
No files found.
ci-scripts/main.py
View file @
798c37aa
...
...
@@ -166,7 +166,7 @@ class SSHConnection():
else
:
logging
.
debug
(
'
\u001B
[1;37;41m Unexpected Others
\u001B
[0m'
)
def
copy
(
self
,
ipaddress
,
username
,
password
,
source
,
destination
):
def
copy
in
(
self
,
ipaddress
,
username
,
password
,
source
,
destination
):
logging
.
debug
(
'scp '
+
username
+
'@'
+
ipaddress
+
':'
+
source
+
' '
+
destination
)
scp_spawn
=
pexpect
.
spawn
(
'scp '
+
username
+
'@'
+
ipaddress
+
':'
+
source
+
' '
+
destination
,
timeout
=
5
)
scp_response
=
scp_spawn
.
expect
([
'Are you sure you want to continue connecting (yes/no)?'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
...
...
@@ -194,6 +194,34 @@ class SSHConnection():
logging
.
debug
(
'3 - scp_response = '
+
str
(
scp_response
))
sys
.
exit
(
'SCP failed'
)
def
copyout
(
self
,
ipaddress
,
username
,
password
,
source
,
destination
):
logging
.
debug
(
'scp '
+
source
+
' '
+
username
+
'@'
+
ipaddress
+
':'
+
destination
)
scp_spawn
=
pexpect
.
spawn
(
'scp '
+
source
+
' '
+
username
+
'@'
+
ipaddress
+
':'
+
destination
,
timeout
=
5
)
scp_response
=
scp_spawn
.
expect
([
'Are you sure you want to continue connecting (yes/no)?'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
if
scp_response
==
0
:
scp_spawn
.
sendline
(
'yes'
)
scp_spawn
.
expect
(
'password:'
)
scp_spawn
.
sendline
(
password
)
scp_response
=
scp_spawn
.
expect
([
'\$'
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
if
scp_response
==
0
:
pass
else
:
logging
.
debug
(
'1 - scp_response = '
+
str
(
scp_response
))
sys
.
exit
(
'SCP failed'
)
elif
scp_response
==
1
:
scp_spawn
.
sendline
(
password
)
scp_response
=
scp_spawn
.
expect
([
'\$'
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
if
scp_response
==
0
or
scp_response
==
3
:
pass
else
:
logging
.
debug
(
'2 - scp_response = '
+
str
(
scp_response
))
sys
.
exit
(
'SCP failed'
)
elif
scp_response
==
2
:
pass
else
:
logging
.
debug
(
'3 - scp_response = '
+
str
(
scp_response
))
sys
.
exit
(
'SCP failed'
)
def
BuildeNB
(
self
):
if
self
.
eNBIPAddress
==
''
or
self
.
eNBRepository
==
''
or
self
.
eNBBranch
==
''
or
self
.
eNBUserName
==
''
or
self
.
eNBPassword
==
''
or
self
.
eNBSourceCodePath
==
''
:
Usage
()
...
...
@@ -739,7 +767,37 @@ class SSHConnection():
sys
.
exit
(
1
)
return
result
def
Iperf_analyzeV2TCPOutput
(
self
,
lock
,
UE_IPAddress
,
device_id
,
statusQueue
,
iperf_real_options
):
self
.
command
(
'awk -f /tmp/tcp_iperf_stats.awk /tmp/CI-eNB/scripts/iperf_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
5
)
result
=
re
.
search
(
'Avg Bitrate : (?P<average>[0-9\.]+ Mbits\/sec) Max Bitrate : (?P<maximum>[0-9\.]+ Mbits\/sec) Min Bitrate : (?P<minimum>[0-9\.]+ Mbits\/sec)'
,
str
(
self
.
ssh
.
before
))
if
result
is
not
None
:
avgbitrate
=
result
.
group
(
'average'
)
maxbitrate
=
result
.
group
(
'maximum'
)
minbitrate
=
result
.
group
(
'minimum'
)
lock
.
acquire
()
logging
.
debug
(
'
\u001B
[1;37;44m TCP iperf result ('
+
UE_IPAddress
+
')
\u001B
[0m'
)
msg
=
'TCP Stats :
\n
'
if
avgbitrate
is
not
None
:
logging
.
debug
(
'
\u001B
[1;34m Avg Bitrate : '
+
avgbitrate
+
'
\u001B
[0m'
)
msg
+=
'Avg Bitrate : '
+
avgbitrate
+
'
\n
'
if
maxbitrate
is
not
None
:
logging
.
debug
(
'
\u001B
[1;34m Max Bitrate : '
+
maxbitrate
+
'
\u001B
[0m'
)
msg
+=
'Max Bitrate : '
+
maxbitrate
+
'
\n
'
if
minbitrate
is
not
None
:
logging
.
debug
(
'
\u001B
[1;34m Min Bitrate : '
+
minbitrate
+
'
\u001B
[0m'
)
msg
+=
'Min Bitrate : '
+
minbitrate
+
'
\n
'
statusQueue
.
put
(
0
)
statusQueue
.
put
(
device_id
)
statusQueue
.
put
(
UE_IPAddress
)
statusQueue
.
put
(
msg
)
lock
.
release
()
return
0
def
Iperf_analyzeV2Output
(
self
,
lock
,
UE_IPAddress
,
device_id
,
statusQueue
,
iperf_real_options
):
result
=
re
.
search
(
'-u'
,
str
(
iperf_real_options
))
if
result
is
None
:
return
self
.
Iperf_analyzeV2TCPOutput
(
lock
,
UE_IPAddress
,
device_id
,
statusQueue
,
iperf_real_options
)
result
=
re
.
search
(
'Server Report:'
,
str
(
self
.
ssh
.
before
))
if
result
is
None
:
result
=
re
.
search
(
'read failed: Connection refused'
,
str
(
self
.
ssh
.
before
))
...
...
@@ -968,6 +1026,10 @@ class SSHConnection():
lock
.
release
()
def
Iperf_UL_common
(
self
,
lock
,
UE_IPAddress
,
device_id
,
idx
,
ue_num
,
statusQueue
):
udpIperf
=
True
result
=
re
.
search
(
'-u'
,
str
(
self
.
iperf_args
))
if
result
is
None
:
udpIperf
=
False
ipnumbers
=
UE_IPAddress
.
split
(
'.'
)
if
(
len
(
ipnumbers
)
==
4
):
ipnumbers
[
3
]
=
'1'
...
...
@@ -978,7 +1040,10 @@ class SSHConnection():
self
.
command
(
'cd '
+
self
.
EPCSourceCodePath
+
'/scripts'
,
'\$'
,
5
)
self
.
command
(
'rm -f iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
5
)
port
=
5001
+
idx
self
.
command
(
'echo $USER; nohup iperf -u -s -i 1 -p '
+
str
(
port
)
+
' > iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log &'
,
self
.
EPCUserName
,
5
)
if
udpIperf
:
self
.
command
(
'echo $USER; nohup iperf -u -s -i 1 -p '
+
str
(
port
)
+
' > iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log &'
,
self
.
EPCUserName
,
5
)
else
:
self
.
command
(
'echo $USER; nohup iperf -s -i 1 -p '
+
str
(
port
)
+
' > iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log &'
,
self
.
EPCUserName
,
5
)
time
.
sleep
(
0.5
)
self
.
close
()
...
...
@@ -988,7 +1053,10 @@ class SSHConnection():
iperf_time
=
self
.
Iperf_ComputeTime
()
time
.
sleep
(
0.5
)
modified_options
=
self
.
Iperf_ComputeModifiedBW
(
idx
,
ue_num
)
if
udpIperf
:
modified_options
=
self
.
Iperf_ComputeModifiedBW
(
idx
,
ue_num
)
else
:
modified_options
=
str
(
self
.
iperf_args
)
modified_options
=
modified_options
.
replace
(
'-R'
,
''
)
time
.
sleep
(
0.5
)
...
...
@@ -1004,7 +1072,7 @@ class SSHConnection():
time
.
sleep
(
1
)
if
(
os
.
path
.
isfile
(
'iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log'
)):
os
.
remove
(
'iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log'
)
self
.
copy
(
self
.
EPCIPAddress
,
self
.
EPCUserName
,
self
.
EPCPassword
,
self
.
EPCSourceCodePath
+
'/scripts/iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'.'
)
self
.
copy
in
(
self
.
EPCIPAddress
,
self
.
EPCUserName
,
self
.
EPCPassword
,
self
.
EPCSourceCodePath
+
'/scripts/iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'.'
)
self
.
Iperf_analyzeV2Server
(
lock
,
UE_IPAddress
,
device_id
,
statusQueue
,
modified_options
)
def
Iperf_common
(
self
,
lock
,
UE_IPAddress
,
device_id
,
idx
,
ue_num
,
statusQueue
):
...
...
@@ -1013,6 +1081,7 @@ class SSHConnection():
if
SSH
.
iperf_profile
==
'single-ue'
and
idx
!=
0
:
return
useIperf3
=
False
udpIperf
=
True
self
.
open
(
self
.
ADBIPAddress
,
self
.
ADBUserName
,
self
.
ADBPassword
)
# if by chance ADB server and EPC are on the same remote host, at least log collection will take care of it
self
.
command
(
'if [ ! -d '
+
self
.
EPCSourceCodePath
+
'/scripts ]; then mkdir -p '
+
self
.
EPCSourceCodePath
+
'/scripts ; fi'
,
'\$'
,
5
)
...
...
@@ -1047,7 +1116,12 @@ class SSHConnection():
self
.
command
(
'stdbuf -o0 adb -s '
+
device_id
+
' shell /data/local/tmp/iperf3 -s &'
,
'\$'
,
5
)
else
:
self
.
command
(
'rm -f iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
5
)
self
.
command
(
'echo $USER; nohup adb -s '
+
device_id
+
' shell "/data/local/tmp/iperf -u -s -i 1" > iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log &'
,
self
.
ADBUserName
,
5
)
result
=
re
.
search
(
'-u'
,
str
(
self
.
iperf_args
))
if
result
is
None
:
self
.
command
(
'echo $USER; nohup adb -s '
+
device_id
+
' shell "/data/local/tmp/iperf -s -i 1" > iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log &'
,
self
.
ADBUserName
,
5
)
udpIperf
=
False
else
:
self
.
command
(
'echo $USER; nohup adb -s '
+
device_id
+
' shell "/data/local/tmp/iperf -u -s -i 1" > iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log &'
,
self
.
ADBUserName
,
5
)
time
.
sleep
(
0.5
)
self
.
close
()
...
...
@@ -1056,7 +1130,10 @@ class SSHConnection():
iperf_time
=
self
.
Iperf_ComputeTime
()
time
.
sleep
(
0.5
)
modified_options
=
self
.
Iperf_ComputeModifiedBW
(
idx
,
ue_num
)
if
udpIperf
:
modified_options
=
self
.
Iperf_ComputeModifiedBW
(
idx
,
ue_num
)
else
:
modified_options
=
str
(
self
.
iperf_args
)
time
.
sleep
(
0.5
)
self
.
command
(
'rm -f iperf_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
5
)
...
...
@@ -1082,7 +1159,7 @@ class SSHConnection():
time
.
sleep
(
1
)
if
(
os
.
path
.
isfile
(
'iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log'
)):
os
.
remove
(
'iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log'
)
self
.
copy
(
self
.
ADBIPAddress
,
self
.
ADBUserName
,
self
.
ADBPassword
,
self
.
EPCSourceCodePath
+
'/scripts/iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'.'
)
self
.
copy
in
(
self
.
ADBIPAddress
,
self
.
ADBUserName
,
self
.
ADBPassword
,
self
.
EPCSourceCodePath
+
'/scripts/iperf_server_'
+
SSH
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'.'
)
self
.
Iperf_analyzeV2Server
(
lock
,
UE_IPAddress
,
device_id
,
statusQueue
,
modified_options
)
except
:
os
.
kill
(
os
.
getppid
(),
signal
.
SIGUSR1
)
...
...
@@ -1784,6 +1861,7 @@ elif re.match('^TesteNB$', mode, re.IGNORECASE):
Usage
()
sys
.
exit
(
'Insufficient Parameter'
)
SSH
.
copyout
(
SSH
.
EPCIPAddress
,
SSH
.
EPCUserName
,
SSH
.
EPCPassword
,
sys
.
path
[
0
]
+
"/tcp_iperf_stats.awk"
,
"/tmp"
)
SSH
.
CreateHtmlHeader
()
#read test_case_list.xml file
...
...
ci-scripts/tcp_iperf_stats.awk
0 → 100644
View file @
798c37aa
BEGIN
{
max
=
0
;
min
=
10000
}
{
if
(
$0
~
/Mbits/
)
{
split
(
$0
,
a
,
"MBytes"
)
split
(
a
[
2
],
b
)
if
(
b
[
1
]
>
max
)
{
max
=
b
[
1
]
}
if
(
b
[
1
]
<
min
)
{
min
=
b
[
1
]
}
}
}
END
{
print
"Avg Bitrate : "
b
[
1
]
" Mbits/sec Max Bitrate : "
max
" Mbits/sec Min Bitrate : "
min
" Mbits/sec"
}
ci-scripts/xml_files/enb_usrp210_band7.xml
View file @
798c37aa
...
...
@@ -21,7 +21,7 @@
-->
<testCaseList>
<TestCaseRequestedList>
010101 050101 060101 070101 040101 030101 040301 040501 04060
1 040602 040603 040604 040605 040641 040642 040401 040201 030201 030111 040301 040511 040611 040612 040613 040614 040615 040651 040652 040401 040201 030201 030121 040301 040521 040621 040622 040623 040624 040625 040662 040661 040401 040201 030201
</TestCaseRequestedList>
<TestCaseRequestedList>
010101 050101 060101 070101 040101 030101 040301 040501 04060
3 040604 040605 040606 040607 040641 040642 040643 040644 040401 040201 030201 030111 040301 040511 040613 040614 040615 040616 040617 040651 040652 040653 040654 040401 040201 030201 030121 040301 040521 040623 040624 040625 040626 040627 040662 040661 040663 040664 040401 040201 030201 050201 060201 070201
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"010101"
>
...
...
@@ -94,162 +94,222 @@
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
<testCase
id=
"040601
"
>
<testCase
id=
"040603
"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/
6Mbps/UDP)(60 sec
)
</desc>
<iperf_args>
-u -b
6M -t 6
0 -i 1
</iperf_args>
<desc>
iperf (5MHz - DL/
15Mbps/UDP)(30 sec)(balanced profile
)
</desc>
<iperf_args>
-u -b
15M -t 3
0 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
</testCase>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"04060
2
"
>
<testCase
id=
"04060
4
"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/1
3Mbps/UDP)(60 sec
)
</desc>
<iperf_args>
-u -b 1
3M -t 6
0 -i 1
</iperf_args>
<desc>
iperf (5MHz - DL/1
5Mbps/UDP)(30 sec)(single-ue profile
)
</desc>
<iperf_args>
-u -b 1
5M -t 3
0 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"04060
3
"
>
<testCase
id=
"04060
5
"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/15Mbps/UDP)(
60 sec
)
</desc>
<iperf_args>
-u -b 15M -t
6
0 -i 1
</iperf_args>
<desc>
iperf (5MHz - DL/15Mbps/UDP)(
30 sec)(unbalanced profile
)
</desc>
<iperf_args>
-u -b 15M -t
3
0 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
unbalanced
</iperf_profile>
</testCase>
<testCase
id=
"04060
4
"
>
<testCase
id=
"04060
6
"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/
15Mbps/UDP)(6
0 sec)(single-ue profile)
</desc>
<iperf_args>
-
u -b 15M -t 60 -i 1
</iperf_args>
<desc>
iperf (5MHz - DL/
TCP)(3
0 sec)(single-ue profile)
</desc>
<iperf_args>
-
t 30 -i 1 -fm
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"04060
5
"
>
<testCase
id=
"04060
7
"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/
15Mbps/UDP)(60 sec)(un
balanced profile)
</desc>
<iperf_args>
-
u -b 15M -t 60 -i 1
</iperf_args>
<desc>
iperf (5MHz - DL/
TCP)(30 sec)(
balanced profile)
</desc>
<iperf_args>
-
t 30 -i 1 -fm
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
un
balanced
</iperf_profile>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040641"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - UL/9Mbps/UDP)(
60 sec
)
</desc>
<iperf_args>
-u -b 9M -t
6
0 -i 1 -R
</iperf_args>
<desc>
iperf (5MHz - UL/9Mbps/UDP)(
30 sec)(balanced profile
)
</desc>
<iperf_args>
-u -b 9M -t
3
0 -i 1 -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040642"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - UL/9Mbps/UDP)(
6
0 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 9M -t
6
0 -i 1 -R
</iperf_args>
<desc>
iperf (5MHz - UL/9Mbps/UDP)(
3
0 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 9M -t
3
0 -i 1 -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040611
"
>
<testCase
id=
"040643
"
>
<class>
Iperf
</class>
<desc>
iperf (
10MHz - DL/10Mbps/UDP)(60 sec
)
</desc>
<iperf_args>
-
u -b 10M -t 60 -i 1
</iperf_args>
<desc>
iperf (
5MHz - UL/TCP)(30 sec)(single-ue profile
)
</desc>
<iperf_args>
-
t 30 -i 1 -fm -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
</testCase>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"0406
12
"
>
<testCase
id=
"0406
44
"
>
<class>
Iperf
</class>
<desc>
iperf (
10MHz - DL/20Mbps/UDP)(60 sec
)
</desc>
<iperf_args>
-
u -b 20M -t 60 -i 1
</iperf_args>
<desc>
iperf (
5MHz - UL/TCP)(30 sec)(balanced profile
)
</desc>
<iperf_args>
-
t 30 -i 1 -fm -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040613"
>
<class>
Iperf
</class>
<desc>
iperf (10MHz - DL/30Mbps/UDP)(
60 sec
)
</desc>
<iperf_args>
-u -b 30M -t
6
0 -i 1
</iperf_args>
<desc>
iperf (10MHz - DL/30Mbps/UDP)(
30 sec)(balanced profile
)
</desc>
<iperf_args>
-u -b 30M -t
3
0 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040614"
>
<class>
Iperf
</class>
<desc>
iperf (10MHz - DL/30Mbps/UDP)(
6
0 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 30M -t
6
0 -i 1
</iperf_args>
<desc>
iperf (10MHz - DL/30Mbps/UDP)(
3
0 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 30M -t
3
0 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040615"
>
<class>
Iperf
</class>
<desc>
iperf (10MHz - DL/30Mbps/UDP)(
6
0 sec)(unbalanced profile)
</desc>
<iperf_args>
-u -b 30M -t
6
0 -i 1
</iperf_args>
<desc>
iperf (10MHz - DL/30Mbps/UDP)(
3
0 sec)(unbalanced profile)
</desc>
<iperf_args>
-u -b 30M -t
3
0 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
unbalanced
</iperf_profile>
</testCase>
<testCase
id=
"040616"
>
<class>
Iperf
</class>
<desc>
iperf (10MHz - DL/TCP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040617"
>
<class>
Iperf
</class>
<desc>
iperf (10MHz - DL/TCP)(30 sec)(balanced profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040651"
>
<class>
Iperf
</class>
<desc>
iperf (10MHz - UL/20Mbps/UDP)(
60 sec
)
</desc>
<iperf_args>
-u -b 20M -t
6
0 -i 1 -R
</iperf_args>
<desc>
iperf (10MHz - UL/20Mbps/UDP)(
30 sec)(balanced profile
)
</desc>
<iperf_args>
-u -b 20M -t
3
0 -i 1 -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040652"
>
<class>
Iperf
</class>
<desc>
iperf (10MHz - UL/20Mbps/UDP)(
6
0 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 20M -t
6
0 -i 1 -R
</iperf_args>
<desc>
iperf (10MHz - UL/20Mbps/UDP)(
3
0 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 20M -t
3
0 -i 1 -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040621
"
>
<testCase
id=
"040653
"
>
<class>
Iperf
</class>
<desc>
iperf (
20MHz - DL/20Mbps/UDP)(60 sec
)
</desc>
<iperf_args>
-
u -b 20M -t 60 -i 1
</iperf_args>
<desc>
iperf (
10MHz - UL/TCP)(30 sec)(single-ue profile
)
</desc>
<iperf_args>
-
t 30 -i 1 -fm -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
</testCase>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"0406
22
"
>
<testCase
id=
"0406
54
"
>
<class>
Iperf
</class>
<desc>
iperf (
20MHz - DL/40Mbps/UDP)(60 sec
)
</desc>
<iperf_args>
-
u -b 40M -t 60 -i 1
</iperf_args>
<desc>
iperf (
10MHz - UL/TCP)(30 sec)(balanced profile
)
</desc>
<iperf_args>
-
t 30 -i 1 -fm -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040623"
>
<class>
Iperf
</class>
<desc>
iperf (20MHz - DL/70Mbps/UDP)(
60 sec
)
</desc>
<iperf_args>
-u -b 70M -t
6
0 -i 1
</iperf_args>
<desc>
iperf (20MHz - DL/70Mbps/UDP)(
30 sec)(balanced profile
)
</desc>
<iperf_args>
-u -b 70M -t
3
0 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040624"
>
<class>
Iperf
</class>
<desc>
iperf (20MHz - DL/70Mbps/UDP)(
6
0 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 70M -t
6
0 -i 1
</iperf_args>
<desc>
iperf (20MHz - DL/70Mbps/UDP)(
3
0 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 70M -t
3
0 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040625"
>
<class>
Iperf
</class>
<desc>
iperf (20MHz - DL/70Mbps/UDP)(
6
0 sec)(unbalanced profile)
</desc>
<iperf_args>
-u -b 70M -t
6
0 -i 1
</iperf_args>
<desc>
iperf (20MHz - DL/70Mbps/UDP)(
3
0 sec)(unbalanced profile)
</desc>
<iperf_args>
-u -b 70M -t
3
0 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
unbalanced
</iperf_profile>
</testCase>
<testCase
id=
"040626"
>
<class>
Iperf
</class>
<desc>
iperf (20MHz - DL/TCP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040627"
>
<class>
Iperf
</class>
<desc>
iperf (20MHz - DL/TCP)(30 sec)(balanced profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040661"
>
<class>
Iperf
</class>
<desc>
iperf (20MHz - UL/20Mbps/UDP)(
60 sec
)
</desc>
<iperf_args>
-u -b 20M -t
6
0 -i 1 -R
</iperf_args>
<desc>
iperf (20MHz - UL/20Mbps/UDP)(
30 sec)(balanced profile
)
</desc>
<iperf_args>
-u -b 20M -t
3
0 -i 1 -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040662"
>
<class>
Iperf
</class>
<desc>
iperf (20MHz - UL/20Mbps/UDP)(
6
0 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 20M -t
6
0 -i 1 -R
</iperf_args>
<desc>
iperf (20MHz - UL/20Mbps/UDP)(
3
0 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 20M -t
3
0 -i 1 -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040663"
>
<class>
Iperf
</class>
<desc>
iperf (20MHz - UL/TCP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040664"
>
<class>
Iperf
</class>
<desc>
iperf (20MHz - UL/TCP)(30 sec)(balanced profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"050101"
>
<class>
Initialize_HSS
</class>
<desc>
Initialize HSS
</desc>
...
...
@@ -265,4 +325,19 @@
<desc>
Initialize SPGW
</desc>
</testCase>
<testCase
id=
"050201"
>
<class>
Terminate_HSS
</class>
<desc>
Terminate HSS
</desc>
</testCase>
<testCase
id=
"060201"
>
<class>
Terminate_MME
</class>
<desc>
Terminate MME
</desc>
</testCase>
<testCase
id=
"070201"
>
<class>
Terminate_SPGW
</class>
<desc>
Terminate SPGW
</desc>
</testCase>
</testCaseList>
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