aligning NSA and SA tests
This commit is contained in:
@@ -16,6 +16,7 @@ idefix:
|
|||||||
HostUsername : oaicicd
|
HostUsername : oaicicd
|
||||||
HostPassword : oaicicd
|
HostPassword : oaicicd
|
||||||
HostSourceCodePath : none
|
HostSourceCodePath : none
|
||||||
|
MTU : 1500
|
||||||
nrmodule2_quectel:
|
nrmodule2_quectel:
|
||||||
ID: nrmodule2_quectel
|
ID: nrmodule2_quectel
|
||||||
State : enabled
|
State : enabled
|
||||||
|
|||||||
@@ -403,9 +403,10 @@ class OaiCiTest():
|
|||||||
#execute additional commands from yaml file after UE attach
|
#execute additional commands from yaml file after UE attach
|
||||||
SSH = sshconnection.SSHConnection()
|
SSH = sshconnection.SSHConnection()
|
||||||
SSH.open(Module_UE.HostIPAddress, Module_UE.HostUsername, Module_UE.HostPassword)
|
SSH.open(Module_UE.HostIPAddress, Module_UE.HostUsername, Module_UE.HostPassword)
|
||||||
for startcommand in Module_UE.StartCommands:
|
if hasattr(Module_UE,StartCommands):
|
||||||
cmd = 'echo ' + Module_UE.HostPassword + ' | ' + startcommand
|
for startcommand in Module_UE.StartCommands:
|
||||||
SSH.command(cmd,'\$',5)
|
cmd = 'echo ' + Module_UE.HostPassword + ' | ' + startcommand
|
||||||
|
SSH.command(cmd,'\$',5)
|
||||||
SSH.close()
|
SSH.close()
|
||||||
#check that the MTU is as expected / requested
|
#check that the MTU is as expected / requested
|
||||||
Module_UE.CheckModuleMTU()
|
Module_UE.CheckModuleMTU()
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
010000
|
010000
|
||||||
000001
|
000001
|
||||||
050000
|
050000
|
||||||
|
050001
|
||||||
000002
|
000002
|
||||||
070000
|
070000
|
||||||
070001
|
070001
|
||||||
@@ -99,7 +100,7 @@
|
|||||||
<desc>Ping: 20pings in 20sec</desc>
|
<desc>Ping: 20pings in 20sec</desc>
|
||||||
<id>nrmodule2_quectel</id>
|
<id>nrmodule2_quectel</id>
|
||||||
<ping_args>-c 20</ping_args>
|
<ping_args>-c 20</ping_args>
|
||||||
<ping_packetloss_threshold>50</ping_packetloss_threshold>
|
<ping_packetloss_threshold>5</ping_packetloss_threshold>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="050001">
|
<testCase id="050001">
|
||||||
@@ -107,7 +108,7 @@
|
|||||||
<desc>Ping: 100pings in 20sec</desc>
|
<desc>Ping: 100pings in 20sec</desc>
|
||||||
<id>nrmodule2_quectel</id>
|
<id>nrmodule2_quectel</id>
|
||||||
<ping_args>-c 100 -i 0.2</ping_args>
|
<ping_args>-c 100 -i 0.2</ping_args>
|
||||||
<ping_packetloss_threshold>50</ping_packetloss_threshold>
|
<ping_packetloss_threshold>5</ping_packetloss_threshold>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="070000">
|
<testCase id="070000">
|
||||||
|
|||||||
@@ -88,10 +88,18 @@
|
|||||||
<ping_packetloss_threshold>5</ping_packetloss_threshold>
|
<ping_packetloss_threshold>5</ping_packetloss_threshold>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="050001">
|
||||||
|
<class>Ping</class>
|
||||||
|
<desc>Ping: 100pings in 20sec</desc>
|
||||||
|
<id>nrmodule2_quectel</id>
|
||||||
|
<ping_args>-c 100 -i 0.2</ping_args>
|
||||||
|
<ping_packetloss_threshold>5</ping_packetloss_threshold>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
<testCase id="070000">
|
<testCase id="070000">
|
||||||
<class>Iperf</class>
|
<class>Iperf</class>
|
||||||
<desc>iperf (DL/5Mbps/UDP)(60 sec)(single-ue profile)</desc>
|
<desc>iperf (DL/20Mbps/UDP)(60 sec)(single-ue profile)</desc>
|
||||||
<iperf_args>-u -b 5M -t 60</iperf_args>
|
<iperf_args>-u -b 20M -t 60</iperf_args>
|
||||||
<direction>DL</direction>
|
<direction>DL</direction>
|
||||||
<id>nrmodule2_quectel</id>
|
<id>nrmodule2_quectel</id>
|
||||||
<iperf_packetloss_threshold>5</iperf_packetloss_threshold>
|
<iperf_packetloss_threshold>5</iperf_packetloss_threshold>
|
||||||
@@ -100,8 +108,8 @@
|
|||||||
|
|
||||||
<testCase id="070001">
|
<testCase id="070001">
|
||||||
<class>Iperf</class>
|
<class>Iperf</class>
|
||||||
<desc>iperf (UL/1Mbps/UDP)(60 sec)(single-ue profile)</desc>
|
<desc>iperf (UL/1Mbps/UDP)(20 sec)(single-ue profile)</desc>
|
||||||
<iperf_args>-u -b 1M -t 60</iperf_args>
|
<iperf_args>-u -b 1M -t 20</iperf_args>
|
||||||
<direction>UL</direction>
|
<direction>UL</direction>
|
||||||
<id>nrmodule2_quectel</id>
|
<id>nrmodule2_quectel</id>
|
||||||
<iperf_packetloss_threshold>5</iperf_packetloss_threshold>
|
<iperf_packetloss_threshold>5</iperf_packetloss_threshold>
|
||||||
|
|||||||
Reference in New Issue
Block a user