Commit fbb76d9c authored by Yann Garcia's avatar Yann Garcia
Browse files

Bug fixed in Ats_NG_NAS after compenents reorganisation

parent 4ad61eb5
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
[MODULE_PARAMETERS]
# This section shall contain the values of all parameters that are defined in your TTCN-3 modules.

NGAP_Pics.PICS_OFFLINE_MODE := true
NG_NAS_Pics.PICS_NGNAS         := true

NGAP_Pics.PICS_NGAP_AMF_IUT    := true
NGAP_Pics.PICS_NGAP_GNB_IUT    := false

LibNGAP_Pics.PICS_OFFLINE_MODE := true

# 5GRegAuthSec_deReg.pcap
LibNGAP_Pixits.PX_AMF_NAME         := "Kontron5G-amf"
+7 −6
Original line number Diff line number Diff line
[MODULE_PARAMETERS]
# This section shall contain the values of all parameters that are defined in your TTCN-3 modules.

NGAP_Pics.PICS_OFFLINE_MODE := true
NGAP_Pics.PICS_NGAP_AMF_IUT    := true
NGAP_Pics.PICS_NGAP_GNB_IUT    := false

LibNGAP_Pics.PICS_OFFLINE_MODE := true

# 5GRegAuthSec_deReg.pcap
LibNGAP_Pixits.PX_AMF_NAME         := "open5gs-amf0"
LibNGAP_Pixits.PX_RAN_UE_NGAP_ID   := 1
@@ -55,11 +56,11 @@ LogEventTypes:= Yes
[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.

# Open5GS AMF IP and port
system.NGAP_AMF.params := "NGAP/SCTP(server_mode=1,local_port=38412,debug=1)"
# Open5GS AMF IP and port as listener
#system.NGAP_AMF.params := "NGAP/SCTP(server_mode=1,local_port=38412,debug=1)"

# Open5GS pcap files
#system.NGAP_AMF.params := "NGAP/SCTP_FILE/IP_OFFLINE/ETH(mac_src=8c554ac1eee0,mac_dst=8c554ac1eee1)/PCAP_FILE(file=../captures/open5gs.pcap)"
system.NGAP_AMF.params := "NGAP/SCTP_FILE/IP_OFFLINE/ETH(mac_src=8c554ac1eee0,mac_dst=8c554ac1eee1)/PCAP_FILE(file=../captures/open5gs.pcap)"

[DEFINE]
# In this section you can create macro definitions,
+40 −6
Original line number Diff line number Diff line
[MODULE_PARAMETERS]
# This section shall contain the values of all parameters that are defined in your TTCN-3 modules.

NGAP_Pics.PICS_OFFLINE_MODE := true
NGAP_Pics.PICS_NGAP_GNB_IUT    := true
NGAP_Pics.PICS_NGAP_AMF_IUT    := false

LibNGAP_Pics.PICS_OFFLINE_MODE := true

# 5GRegAuthSec_deReg.pcap
LibNGAP_Pixits.PX_AMF_NAME         := "open5gs-amf0"
LibNGAP_Pixits.PX_RAN_UE_NGAP_ID   := 1
LibNGAP_Pixits.PX_AMF_UE_NGAP_ID   := 1
LibNGAP_Pixits.PX_PLMN_IDENTITY    := '99f907'O
LibNGAP_Pixits.PX_AMF_REGION_ID    := '00000010'B
LibNGAP_Pixits.PX_AMF_SET_ID       := '0000000100'B
LibNGAP_Pixits.PX_AMF_POINTER      := '000000'B
LibNGAP_Pixits.PX_GNB_ID           := '00000000000000000000000000000001'B
LibNGAP_Pixits.PX_RAN_NODE_NAME    := "UERANSIM-gnb-999-70-1"
LibNGAP_Pixits.PX_TACode           := '000001'O
LibNGAP_Pixits.PX_SST              := '01'O
LibNGAP_Pixits.PX_SD               := '000009'O
LibNGAP_Pixits.PX_PAGING_DRX       := v128

Lib_NG_NAS_Pixits.PX_CHECK_SECURITY                  := false
Lib_NG_NAS_Pixits.PX_SUPI_FORMAT                     := '0000'B
Lib_NG_NAS_Pixits.PX_SUPI_DIGITS                     := '00f110214300014444330302'O

# OP
Lib_NG_NAS_Pixits.PX_OPERATOR_KEY                    := '00000000000000000000000000000000'O
# OPc
Lib_NG_NAS_Pixits.PX_OPERATOR_SECRET_KEY             := 'E8ED289DEBA952E4283B54E88E6183CA'O
Lib_NG_NAS_Pixits.PX_FORCE_USING_OPERATOR_SECRET_KEY := true

Lib_NG_NAS_Pixits.PX_SUBSCRIPTION_KEY                := '01000110010110110101110011101000101100011001100110110100100111111010101001011111000010100010111011100010001110001010011010111100'B
# https://www.binaryhexconverter.com/hex-to-binary-converter
Lib_NG_NAS_Pixits.PX_PLMN                            := '00f110'O;
Lib_NG_NAS_Pixits.PX_BEARER_ID                       := '00001'B

Parameters.px_IMSI_Def                               := '393939373030303030303030303031'H; # 999700000000001
NAS_5GC_Parameters.px_NAS_5GC_XRES_Length            := 8 # In ETSI TS 135 206 V16.0.0 (2020-08) Table Table 5. f2 output, RES length is 8 octets (64 bits)

[LOGGING]
# In this section you can specify the name of the log file and the classes of events
# you want to log into the file or display on console (standard error).
@@ -23,8 +57,8 @@ LogEventTypes:= Yes
# In this section you can specify parameters that are passed to Test Ports.

# Open5GS AMF IP and port
#system.NGAP_gNB_1.params := "NGAP/SCTP(server=192.168.1.21,port=4444,debug=1)"
#system.N2_gNBaMF_P.params := "NGAP/SCTP(server=192.168.1.21,port=4444,debug=1)"
#system.NGAP_gNB_1.params := "NGAP/SCTP(server=127.0.0.5,port=38412,debug=1)"
#system.N2_gNBaMF_P.params := "NGAP/SCTP(server=127.0.0.5,port=38412,debug=1)"

system.NGAP_gNB_1.params := "NGAP/SCTP_FILE/IP_OFFLINE/ETH(mac_src=8c554ac1eee0,mac_dst=8c554ac1eee1)/PCAP_FILE(file=../captures/open5gs.pcap)"
system.N2_gNBaMF_P.params := "NGAP/SCTP_FILE/IP_OFFLINE/ETH(mac_src=8c554ac1eee0,mac_dst=8c554ac1eee1)/PCAP_FILE(file=../captures/open5gs.pcap)"
+30 −16
Original line number Diff line number Diff line
[MODULE_PARAMETERS]
# This section shall contain the values of all parameters that are defined in your TTCN-3 modules.

#NAS_Pics.PICS_NAS_AMF_IUT := false
#NAS_Pics.PICS_NAS_AMF_IUT := true
NG_NAS_Pics.PICS_NGNAS         := true

NGAP_Pics.PICS_NGAP_AMF_IUT    := true
NGAP_Pics.PICS_NGAP_GNB_IUT    := false

LibNGAP_Pics.PICS_OFFLINE_MODE := true

# 5GRegAuthSec_deReg.pcap
LibNGAP_Pixits.PX_AMF_NAME         := "Kontron5G-amf"
LibNGAP_Pixits.PX_RAN_UE_NGAP_ID   := 0
LibNGAP_Pixits.PX_AMF_UE_NGAP_ID   := 22
LibNGAP_Pixits.PX_PLMN_IDENTITY    := '00f110'O
LibNGAP_Pixits.PX_GNB_ID           := '0000000000000001001110'B
LibNGAP_Pixits.PX_AMF_NAME         := "open5gs-amf0"
LibNGAP_Pixits.PX_RAN_UE_NGAP_ID   := 1
LibNGAP_Pixits.PX_AMF_UE_NGAP_ID   := 1
LibNGAP_Pixits.PX_PLMN_IDENTITY    := '99f907'O
LibNGAP_Pixits.PX_AMF_REGION_ID    := '00000010'B
LibNGAP_Pixits.PX_AMF_SET_ID       := '0000000100'B
LibNGAP_Pixits.PX_AMF_POINTER      := '000000'B
LibNGAP_Pixits.PX_GNB_ID           := '00000000000000000000000000000001'B
LibNGAP_Pixits.PX_RAN_NODE_NAME    := "UERANSIM-gnb-999-70-1"
LibNGAP_Pixits.PX_TACode           := '000001'O
LibNGAP_Pixits.PX_SST              := '01'O
LibNGAP_Pixits.PX_SD               := '000009'O
LibNGAP_Pixits.PX_PAGING_DRX       := v128

Lib_NG_NAS_Pixits.PX_CHECK_SECURITY                  := false
Lib_NG_NAS_Pixits.PX_SUPI_FORMAT                     := '0000'B
Lib_NG_NAS_Pixits.PX_SUPI_DIGITS                     := '00f110214300014444330302'O

# OP
Lib_NG_NAS_Pixits.PX_OPERATOR_KEY                    := '00000000000000000000000000000000'O
# OPc
Lib_NG_NAS_Pixits.PX_OPERATOR_SECRET_KEY             := '00000000000000000000000000000000'O
Lib_NG_NAS_Pixits.PX_OPERATOR_SECRET_KEY             := 'E8ED289DEBA952E4283B54E88E6183CA'O
Lib_NG_NAS_Pixits.PX_FORCE_USING_OPERATOR_SECRET_KEY := true

Lib_NG_NAS_Pixits.PX_SUBSCRIPTION_KEY                := '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'B
Lib_NG_NAS_Pixits.PX_PLMN                            := '00f110'O
Lib_NG_NAS_Pixits.PX_BEARER_ID                       := '11010'B
Lib_NG_NAS_Pixits.PX_SUBSCRIPTION_KEY                := '01000110010110110101110011101000101100011001100110110100100111111010101001011111000010100010111011100010001110001010011010111100'B
# https://www.binaryhexconverter.com/hex-to-binary-converter
Lib_NG_NAS_Pixits.PX_PLMN                            := '00f110'O;
Lib_NG_NAS_Pixits.PX_BEARER_ID                       := '00001'B

Parameters.px_IMSI_Def                               := '393939373030303030303030303031'H; # 999700000000001
NAS_5GC_Parameters.px_NAS_5GC_XRES_Length            := 8 # In ETSI TS 135 206 V16.0.0 (2020-08) Table Table 5. f2 output, RES length is 8 octets (64 bits)

[LOGGING]
@@ -43,9 +57,9 @@ LogEventTypes:= Yes

[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.
system.NGAP_gNB_1.params := "NGAP/SCTP_FILE/IP_OFFLINE/ETH(mac_src=8c554ac1eee0,mac_dst=8c554ac1eee1)/PCAP_FILE(file=../captures/5GRegAuthSec_deReg.pcap)"
system.N2_gNBaMF_P.params := "NGAP/SCTP_FILE/IP_OFFLINE/ETH(mac_src=8c554ac1eee0,mac_dst=8c554ac1eee1)/PCAP_FILE(file=../captures/5GRegAuthSec_deReg.pcap)"
#aMFNASComponent.N2_gNBaMF_P.params := "NAS/SCTP_FILE/IP_FILE/ETH/PCAP_FILE(file=../captures/free5gc.pcap)"

# Open5GS pcap files
system.NGAP_AMF.params := "NGAP/SCTP_FILE/IP_OFFLINE/ETH(mac_src=8c554ac1eee0,mac_dst=8c554ac1eee1)/PCAP_FILE(file=../captures/open5gs.pcap)"

[DEFINE]
# In this section you can create macro definitions,
+0 −2
Original line number Diff line number Diff line
@@ -140,6 +140,4 @@ module NGAP_Pics {
        modulepar boolean PICS_A4_15_2  := false;  //AMF - RIM information Transfer procedure - DOWNLINK RIM INFORMATION TRANSFER 
    } // End of group PICS_A4

    modulepar boolean PICS_OFFLINE_MODE := false; // If true, the test system runs in offline mode (no SUT connection)

} // End of module NGAP_Pics 
Loading