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