apiVersion: v1
kind: ConfigMap
metadata:
  name: free5gc-smf-conf
  namespace: 5gcore
data:
  smfcfg.conf: |
    info:
      version: 1.0.0
      description: AMF initial local configuration

    configuration:
      smfName: SMF
      sbi:
        scheme: http
        ipv4Addr: 0.0.0.0
        port: 29502
        tls:
          key: gofree5gc/support/TLS/smf.key
          pem: gofree5gc/support/TLS/smf.pem
      serviceNameList:
        - nsmf-pdusession
        - nsmf-event-exposure
      snssai_info:
        - sNssai:
            sst: 1
            sd: 010203
          dnnSmfInfoList:
            - dnn: internet
        - sNssai:
            sst: 1
            sd: 112233
          dnnSmfInfoList:
            - dnn: internet
      pfcp:
        addr: 0.0.0.0
      userplane_information:
        up_nodes:
          gNB1:
            type: AN
            an_ip: 192.188.2.3
          BranchingUPF:
            type: UPF
            node_id: upfb
            up_resource_ip: 192.188.2.2
          AnchorUPF1:
            type: UPF
            node_id: upf1
            up_resource_ip: 192.188.2.23
          AnchorUPF2:
            type: UPF
            node_id: upf2
            up_resource_ip: 192.188.2.24
        links:
          - A: gNB1
            B: BranchingUPF
          - A: BranchingUPF
            B: AnchorUPF1
          - A: BranchingUPF
            B: AnchorUPF2
      ue_subnet: 60.60.0.0/16
      nrfUri: http://nrf:29510
