Commit 95a66c80 authored by Yann Garcia's avatar Yann Garcia
Browse files

Validate TC_NGAP_AMF_IMP_xx with free5gc

parent 04605b03
Loading
Loading
Loading
Loading
+20 −5
Changes for etc/AtsNGAP/AtsNGAP_AMF_free5gc.cfg_: 20 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -57,6 +57,17 @@ LibNGAP_Pixits.PX_GNB_ID := '00000000000000000000000000000001'B
LibNGAP_Pixits.PX_TACode           := '000001'O
LibNGAP_Pixits.PX_SST              := '01'O
LibNGAP_Pixits.PX_SD               := '010203'O
LibNGAP_Pixits.PX_SD_PRESENT       := true # free5GC amfcfg.yaml plmnSupportList: slice SST 1 with SD 010203
# The new slice of TC_NGAP_AMF_IMP_05: the second slice of the free5GC AMF (amfcfg.yaml plmnSupportList: SST 1, SD 112233)
LibNGAP_Pixits.PX_SST_NEW          := '01'O
LibNGAP_Pixits.PX_SD_NEW           := '112233'O
LibNGAP_Pixits.PX_SD_NEW_PRESENT   := true
# N3 user plane: the test system (gNB) at 10.100.2.1:2152 (PX_TRANSPORT_LAYER_ADDRESS, DL tunnel), the UPF at 10.100.2.10:2152
LibNGAP_Pics.PICS_USE_GTPU          := true
LibNGAP_Pixits.PX_DN_PING_HOST      := "10.100.4.40" # dn container on n6 (free5gc-lab), reached through the UPF
# DL tunnel address announced to the UPF: must always match the src_ip of system.N3_gNB_1 below (here 10.100.2.1)
LibNGAP_Pixits.PX_TRANSPORT_LAYER_ADDRESS := '00001010011001000000001000000001'B # 10.100.2.1
LibNGAP_Pixits.PX_FIVE_QI          := 9     # 5QI of the default QoS flow (free5gc-lab config/subscriber.json, DNN internet)
LibNGAP_Pixits.PX_PAGING_DRX       := v128
LibNGAP_Pixits.PX_AMF_NAME         := "AMF"
LibNGAP_Pixits.PX_AMF_REGION_ID    := '11001010'B   # amfId cafe00: region CA
@@ -116,9 +127,13 @@ LogEventTypes:= Yes
[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.

# Open5GS AMF IP and port as listener
system.NGAP_AMF.params := "NGAP/SCTP(server=10.100.1.10,port=38412,local_server=10.100.1.1,local_port=38413,debug=1)"
3.NGAP_AMF.params := "NGAP/SCTP(server=10.100.1.10,port=38412,local_server=10.100.1.1,local_port=38413,debug=1)"
# free5GC AMF IP and port as listener (free5gc container on n2, free5gc-lab compose.ats.yaml)
system.NGAP_AMF.params := "NGAP/SCTP(ppid=60,server=10.100.1.10,port=38412,debug=1,local_server=10.100.1.1,local_port=38413,debug=1)"
# src_ip: must always match LibNGAP_Pixits.PX_TRANSPORT_LAYER_ADDRESS (the DL tunnel address the UPF sends to)
system.N3_gNB_1.params := "GTPU(auto_echo_reply=1)/UDP(src_ip=10.100.2.1,src_port=2152,dst_ip=10.100.2.10,dst_port=2152)"
# HTTP upper tester (PICS_USE_UT_HTTP): REST API over HTTP/1.1, see upper_tester_http/server.py
system.utHttpPort.params := "HTTP/TCP(server=127.0.0.1,port=12200,use_ssl=0,debug=1)"
3.NGAP_AMF.params := "NGAP/SCTP(ppid=60,server=10.100.1.10,port=38412,local_server=10.100.1.1,local_port=38413,debug=1)"

# Open5GS pcap files
# Do not forget to set LibNGAP_Pics.PICS_OFFLINE_MODE to true
@@ -177,11 +192,11 @@ system.NGAP_AMF.params := "NGAP/SCTP(server=10.100.1.10,port=38412,local_server=
#NGAP_TestCases.TC_NGAP_AMF_NAS_01

# Verify that the AMF node successfully processes a NG SETUP REQUEST message that contains mandatory IEs and answers with NG SETUP RESPONSE to acknowledge the setup.
NGAP_TestCases.TC_NGAP_AMF_IMP_01
#NGAP_TestCases.TC_NGAP_AMF_IMP_01
# Verify that the AMF node successfully processes an NG_SETUP_REQUEST message containing the PLMN identity, TAC, supported slice IEs and Extended RAN Node Name, and responds with an NG_SETUP_RESPONSE message to acknowledge the setup.
#NGAP_TestCases.TC_NGAP_AMF_IMP_01_2
# Verify that the AMF with IAB support successfully processes an NG_SETUP_REQUEST message containing the PLMN identity, TAC and supported slice IEs, and responds with an NG_SETUP_RESPONSE message containing IAB Supported IE to acknowledge the setup."
#NGAP_TestCases.TC_NGAP_AMF_IMP_01_3
NGAP_TestCases.TC_NGAP_AMF_IMP_01_3
# Verify that the AMF node successfully processes a NG SETUP REQUEST message that contains mandatory IEs and answers with NG SETUP RESPONSE to acknowledge the setup.
#NGAP_TestCases.TC_NGAP_AMF_IMP_02
# Verify that the AMF node successfully processes a NG SETUP REQUEST message with different optional fields and answers with NG SETUP RESPONSE to acknowledge the setup.
+5 −2
Changes for etc/AtsNGAP/AtsNGAP_AMF_open5gs.cfg_: 5 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -170,6 +170,9 @@ system.utHttpPort.params := "HTTP/TCP(server=127.0.0.1,port=12200,use_ssl=0,debu
# In this section you can specify what parts of your test suite you want to execute.
#AtsImsIot_TestControl.control

# Complete end to end registration/deregistration procedure
#NGAP_TestCases.TC_NGAP_GNB_PDU_00

# Verify that the IUT can send a  PDU SESSION RESOURCE SETUP REQUEST with at least one PDU session resource list to established PDU session.
#NGAP_TestCases.TC_NGAP_AMF_PDU_01
# Verify that the IUT successfully receives and processes the PDU_SESSION_RESOURCE_SETUP_RESPONSE message and completes the PDU Session Resource Setup procedure for a single PDU_Session_Resource.
@@ -208,7 +211,7 @@ system.utHttpPort.params := "HTTP/TCP(server=127.0.0.1,port=12200,use_ssl=0,debu
#NGAP_TestCases.TC_NGAP_AMF_NAS_01

# Verify that the AMF node successfully processes a NG SETUP REQUEST message that contains mandatory IEs and answers with NG SETUP RESPONSE to acknowledge the setup.
#NGAP_TestCases.TC_NGAP_AMF_IMP_01
NGAP_TestCases.TC_NGAP_AMF_IMP_01
# Verify that the AMF node successfully processes an NG_SETUP_REQUEST message containing the PLMN identity, TAC, supported slice IEs and Extended RAN Node Name, and responds with an NG_SETUP_RESPONSE message to acknowledge the setup.
#NGAP_TestCases.TC_NGAP_AMF_IMP_01_2
# Verify that the AMF with IAB support successfully processes an NG_SETUP_REQUEST message containing the PLMN identity, TAC and supported slice IEs, and responds with an NG_SETUP_RESPONSE message containing IAB Supported IE to acknowledge the setup."
@@ -224,7 +227,7 @@ system.utHttpPort.params := "HTTP/TCP(server=127.0.0.1,port=12200,use_ssl=0,debu
# Verify that the AMF node successfully processes a NG RESET message that contains mandatory IEs and answers with NG RESET ACKNOWLEDGE to acknowledge the reset.
#NGAP_TestCases.TC_NGAP_AMF_IMP_08
# Verify that the AMF node successfully processes a partial NG_RESET message and answers with NG_RESET_ACKNOWLEDGE to acknowledge the partial reset.
NGAP_TestCases.TC_NGAP_AMF_IMP_08_2
#NGAP_TestCases.TC_NGAP_AMF_IMP_08_2

[GROUPS]
# In this section you can specify groups of hosts. These groups can be used inside the
+3 −0
Changes for etc/AtsNGAP/AtsNGAP_AMF_p_net.cfg_: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -156,6 +156,9 @@ system.NGAP_AMF.params := "NGAP/SCTP(server=10.174.18.65,port=38412,debug=1)"
# In this section you can specify what parts of your test suite you want to execute.
#AtsImsIot_TestControl.control

# Complete end to end registration/deregistration procedure
#NGAP_TestCases.TC_NGAP_GNB_PDU_00

# Verify that the IUT can send a  PDU SESSION RESOURCE SETUP REQUEST with at least one PDU session resource list to established PDU session.
#NGAP_TestCases.TC_NGAP_AMF_PDU_01
# Verify that the IUT successfully receives and processes the PDU_SESSION_RESOURCE_SETUP_RESPONSE message and completes the PDU Session Resource Setup procedure for a single PDU_Session_Resource.
+3 −0
Changes for etc/AtsNGAP/AtsNGAP_GNB_ueransim.cfg_: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -130,6 +130,9 @@ system.utPort.params := "UT/TCP(server=localhost,port=12100,debug=1)"
# In this section you can specify what parts of your test suite you want to execute.
#AtsImsIot_TestControl.control

# Complete end to end registration/deregistration procedure
#NGAP_TestCases.TC_NGAP_GNB_PDU_00

# Verify that the GNB successfully processes a PDU_SESSION_RESOURCE_SETUP_REQUEST and answers with PDU_SESSION_RESOURCE_SETUP_RESPONSE for successfully established PDU session.
NGAP_TestCases.TC_NGAP_GNB_PDU_01
## Verify that the NG-RAN node reports the establishment of the corresponding PDU session as failed if a PDU SESSION RESOURCE SETUP REQUEST contains several PDU Session ID IEs set to the same value.
+1 −1
Changes for etc/Ats_NG_NAS/Ats_NG_NAS_AMF_free5gc.cfg_: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ LogEventTypes:= Yes
# In this section you can specify parameters that are passed to Test Ports.

# Open5GS AMF IP and port as listener
system.NGAP_AMF.params := "NGAP/SCTP(server=10.100.1.10,port=38412,local_server=10.100.1.1,local_port=38413,debug=1)"
system.NGAP_AMF.params := "NGAP/SCTP(ppid=60,server=10.100.1.10,port=38412,local_server=10.100.1.1,local_port=38413,debug=1)"

# Open5GS pcap files
# Do not forget to set LibNGAP_Pics.PICS_OFFLINE_MODE to true
Loading