Bavier, Andy | a9396a6 | 2023-01-21 10:43:40 -0700 | [diff] [blame^] | 1 | # Copyright 2021-present Open Networking Foundation |
| 2 | # |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | |
| 5 | |
| 6 | enable: true |
| 7 | resources: |
| 8 | enabled: false |
| 9 | images: |
| 10 | repository: "registry.opennetworking.org/docker.io/" |
| 11 | # uncomment below section to add update bess image tag |
| 12 | #tags: |
| 13 | # bess: <bess image tag> |
| 14 | # pfcpiface: <pfcp image tag> |
| 15 | config: |
| 16 | upf: |
| 17 | name: "oaisim" |
| 18 | sriov: |
| 19 | enabled: false #default sriov is disabled in AIAB setup |
| 20 | hugepage: |
| 21 | enabled: false #should be enabled if dpdk is enabled |
| 22 | #can be any other plugin as well, remember this plugin dictates how IP address are assigned. |
| 23 | cniPlugin: macvlan |
| 24 | ipam: static |
| 25 | routes: |
| 26 | - to: ${NODE_IP} |
| 27 | via: 169.254.1.1 |
| 28 | enb: |
| 29 | subnet: ${RAN_SUBNET} #this is your gNB network |
| 30 | access: |
| 31 | iface: ${DATA_IFACE} |
| 32 | ip: 192.168.252.4/24 |
| 33 | core: |
| 34 | iface: ${DATA_IFACE} |
| 35 | ip: 192.168.250.4/24 |
| 36 | cfgFiles: |
| 37 | upf.json: |
| 38 | mode: af_packet #this mode means no dpdk |
| 39 | hwcksum: true |
| 40 | log_level: "trace" |
| 41 | gtppsc: true #extension header is enabled in 5G. Sending QFI in pdu session extension header |
| 42 | cpiface: |
| 43 | dnn: "internet" #keep it matching with Slice dnn |
| 44 | hostname: "upf" |
| 45 | #http_port: "8080" |
| 46 | enable_ue_ip_alloc: false # if true then it means UPF allocates address from below pool |
| 47 | ue_ip_pool: "172.250.0.0/16" # UE ip pool is used if enable_ue_ip_alloc is set to true |