free5gc / free5gc

Open source 5G core network based on 3GPP R15
https://free5gc.org
Apache License 2.0
1.88k stars 620 forks source link

[Bugs] "plmn-id" parameter in Nudm or so on SBI messages #221

Closed JasonKim14 closed 2 years ago

JasonKim14 commented 3 years ago

Describe the bug

Regarding the "plmn-id" parameter in Nudm or so on SBI messages, it is specified explicitly as json format. However, your AMF encodes it as plain string format. (ex. plmn-id=00101; here, MCC is "001" and "MNC is "01".)

To Reproduce

Steps to reproduce the behavior:

  1. Start NRF, NSSF, AUSF, PCF and UDM Simulators over my own Tester 1.
  2. Start AMF, SMF and UPF NFs of your free5GC S/W.
  3. Start UE/gNB Simulator over my own Tester 2.
  4. From the UE/gNB Simulator, start "Initial Registration" Test Case.
  5. Monitor and check the N1/N2 and SBI messages through WireShark

Expected behavior

The "plmn-id" parameter should be encoded as like as plmn-id={"mcc"="001", "mnc"="01"}.

Environment (please complete the following information):

PCAP File

1-1_20210625144656_SBI-TestCase-Ph1.1.zip

System architecture (Option)

TestArchitecture

Additional context

------TS29503_Nudm_SDM.yaml; Line#49---------------------------------

------TS29571_CommonData.yaml; Line#975---------------------------------
PlmnId: type: object properties: mcc: $ref: '#/components/schemas/Mcc' mnc: $ref: '#/components/schemas/Mnc' required:

free5gc-org commented 2 years ago

@JasonKim14

This issue was already fixed with https://github.com/free5gc/free5gc/pull/257. Please help check it.

free5gc-org commented 2 years ago

@JasonKim14

If no more issue, we'll close it.

JasonKim14 commented 2 years ago

OK. Let's close this issue #221.