SA B200 gNB CI test: use host-mode
This commit is contained in:
@@ -161,8 +161,8 @@ gNBs =
|
|||||||
|
|
||||||
NETWORK_INTERFACES :
|
NETWORK_INTERFACES :
|
||||||
{
|
{
|
||||||
GNB_IPV4_ADDRESS_FOR_NG_AMF = "192.168.68.194";
|
GNB_IPV4_ADDRESS_FOR_NG_AMF = "172.21.16.109";
|
||||||
GNB_IPV4_ADDRESS_FOR_NGU = "192.168.68.194";
|
GNB_IPV4_ADDRESS_FOR_NGU = "172.21.16.109";
|
||||||
GNB_PORT_FOR_S1U = 2152; # Spec 2152
|
GNB_PORT_FOR_S1U = 2152; # Spec 2152
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -185,14 +185,14 @@
|
|||||||
<class>Custom_Command</class>
|
<class>Custom_Command</class>
|
||||||
<desc>Trigger Reestablishment</desc>
|
<desc>Trigger Reestablishment</desc>
|
||||||
<node>ofqot</node>
|
<node>ofqot</node>
|
||||||
<command>echo ci force_reestab | nc -N 192.168.68.194 9090 | grep -E 'Reset RLC counters of UE RNTI [0-9a-f]{4} to trigger reestablishment'</command>
|
<command>echo ci force_reestab | nc -N 127.0.0.1 9090 | grep -E 'Reset RLC counters of UE RNTI [0-9a-f]{4} to trigger reestablishment'</command>
|
||||||
<command_fail>yes</command_fail>
|
<command_fail>yes</command_fail>
|
||||||
</testCase>
|
</testCase>
|
||||||
<testCase id="060002">
|
<testCase id="060002">
|
||||||
<class>Custom_Command</class>
|
<class>Custom_Command</class>
|
||||||
<desc>Verify Reestablishment</desc>
|
<desc>Verify Reestablishment</desc>
|
||||||
<node>ofqot</node>
|
<node>ofqot</node>
|
||||||
<command>echo ci get_reestab_count | nc -N 192.168.68.194 9090 | grep -E 'UE RNTI [0-9a-f]{4} reestab 1'</command>
|
<command>echo ci get_reestab_count | nc -N 127.0.0.1 9090 | grep -E 'UE RNTI [0-9a-f]{4} reestab 1'</command>
|
||||||
<command_fail>yes</command_fail>
|
<command_fail>yes</command_fail>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
|
|||||||
@@ -11,9 +11,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ../../conf_files/gnb.sa.band78.51prb.usrpb200.conf:/opt/oai-gnb/etc/gnb.conf
|
- ../../conf_files/gnb.sa.band78.51prb.usrpb200.conf:/opt/oai-gnb/etc/gnb.conf
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
networks:
|
# for performance reasons, we use host mode: in bridge mode, we have
|
||||||
public_net:
|
# unacceptable DL TCP performance. However, the whole point of
|
||||||
ipv4_address: 192.168.68.194
|
# containerization is to not be in host mode, so update this to macvlan
|
||||||
|
# later.
|
||||||
|
network_mode: "host"
|
||||||
#entrypoint: /bin/bash -c "sleep infinity"
|
#entrypoint: /bin/bash -c "sleep infinity"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# pgrep does NOT work
|
# pgrep does NOT work
|
||||||
@@ -21,12 +23,3 @@ services:
|
|||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
networks:
|
|
||||||
public_net:
|
|
||||||
name: sa-b200-gnb-net
|
|
||||||
ipam:
|
|
||||||
config:
|
|
||||||
- subnet: 192.168.68.192/26
|
|
||||||
driver_opts:
|
|
||||||
com.docker.network.bridge.name: "sa-gnb-net"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user