CI: use svr_id for Ping in RFsim-based tests
This is not really used as of now, because most IPs are hardcoded. See one of the next commits for the use of this. To make sure that we have the correct IP, there is some code that verifies that a hardcoded IP and the CN IP would be the same. Note: need two separate ci_infra.yaml entries, because - for FlexRIC, the container name is different (is the tutorial CN) - for RFsim5G E1, we don't have ext-dn => ping UPF
This commit is contained in:
@@ -90,6 +90,8 @@
|
||||
<desc>Ping ext-dn from NR-UE</desc>
|
||||
<id>rfsim5g_ue</id>
|
||||
<nodes>cacofonix</nodes>
|
||||
<svr_id>rfsim5g_ext_dn</svr_id>
|
||||
<svr_node>cacofonix</svr_node>
|
||||
<ping_args> -c 20 -i0.2 192.168.72.135</ping_args>
|
||||
<ping_packetloss_threshold>5</ping_packetloss_threshold>
|
||||
</testCase>
|
||||
@@ -99,6 +101,8 @@
|
||||
<desc>Ping NR-UE from ext-dn</desc>
|
||||
<id>rfsim5g_ext_dn</id>
|
||||
<nodes>cacofonix</nodes>
|
||||
<svr_id>rfsim5g_ue</svr_id>
|
||||
<svr_node>cacofonix</svr_node>
|
||||
<ping_args>-c 20 12.1.1.2 -i0.2</ping_args>
|
||||
<ping_packetloss_threshold>5</ping_packetloss_threshold>
|
||||
</testCase>
|
||||
|
||||
Reference in New Issue
Block a user