Commit 9527302f authored by Franck MESSAOUDI's avatar Franck MESSAOUDI

local changes

parent 74d8ed9a
......@@ -22,25 +22,19 @@
# OAI CN Configuration File
### This file can be used by all OAI NFs
### Some fields are specific to an NF and will be ignored by other NFs
## NOTE ON YAML ANCHORS ##
# We use YAML anchors to ease the configuration and to avoid duplicating parts of the configuration.
# This is especially true for the SNSSAIs, as we have to define them for multiple NFs.
# Please note that the use of anchors is not mandatory, and you can define the SNSSAI in each NF yourself.
# You can read more about anchors here: https://yaml.org/spec/1.2.2/#anchors-and-aliases
### The {{ env['ENV_NAME'] }} syntax lets you define these values in a docker-compose file
### If you intend to mount this file or use a bare-metal deployment, please refer to README.md
### The README.md also defines default values and allowed values for each configuration parameter
############# Common configuration
# Log level for all the NFs
log_level:
general: debug
# If you enable registration, the other NFs will use the NRF discovery mechanism
register_nf:
general: yes
general: no
http_version: 2
############## SBI Interfaces
### Each NF takes its local SBI interfaces and remote interfaces from here, unless it gets them using NRF discovery mechanisms
nfs:
......@@ -54,30 +48,30 @@ nfs:
interface_name: eth0
port: 38412
smf:
host: oai-smf
host: 192.168.199.68
sbi:
port: 8080
api_version: v1
interface_name: eth0
interface_name: eno1
n4:
interface_name: eth0
interface_name: eno1
port: 8805
upf:
host: oai-upf
host: 192.168.199.67
sbi:
port: 8080
api_version: v1
interface_name: demo-oai
interface_name: eno1
n3:
interface_name: demo-n3
interface_name: enp1s0f0np0
port: 2152
n4:
interface_name: demo-oai
interface_name: eno1
port: 8805
n6:
interface_name: demo-n6
interface_name: enp1s0f1np1
n9:
interface_name: demo-n9
interface_name: enp1s0f0np0
port: 2152
udm:
host: oai-udm
......@@ -103,12 +97,6 @@ nfs:
port: 8080
api_version: v1
interface_name: eth0
pcf:
host: oai-pcf
sbi:
port: 8080
api_version: v1
interface_name: eth0
#### Common for UDR and AMF
database:
......@@ -131,42 +119,44 @@ snssais:
- &custom_slice
sst: 222
sd: 00007B # in hex
############## NF-specific configuration
############## NF-specific configuration
amf:
pid_directory: "/var/run"
amf_name: "OAI-AMF"
# This really depends on if we want to keep the "mini" version or not
support_features_options:
enable_simple_scenario: no # "no" by default with the normal deployment scenarios with AMF/SMF/UPF/AUSF/UDM/UDR/NRF.
# set it to "yes" to use with the minimalist deployment scenario (including only AMF/SMF/UPF) by using the internal AUSF/UDM implemented inside AMF.
# There's no NRF in this scenario, SMF info is taken from "nfs" section.
enable_simple_scenario: no
enable_nssf: no
enable_smf_selection: yes
use_external_udm: no
relative_capacity: 30
statistics_timer_interval: 20 # in seconds
statistics_timer_interval: 20 #in seconds
emergency_support: false
served_guami_list:
- mcc: 208
mnc: 95
amf_region_id: 01
amf_set_id: 001
amf_pointer: 01
- mcc: 001
mnc: 01
amf_region_id: 01
amf_set_id: 001
amf_pointer: 01
amf_region_id: 128
amf_set_id: 1
amf_pointer: 1
- mcc: 460
mnc: 11
amf_region_id: 10
amf_set_id: 1
amf_pointer: 1
plmn_support_list:
- mcc: 208
mnc: 95
tac: 0xa000
nssai:
- *embb_slice1
- *embb_slice2
- *custom_slice
- sst: 1
- sst: 1
sd: 000001
- sst: 222
sd: 00007B
supported_integrity_algorithms:
- "NIA1"
- "NIA0"
- "NIA1"
- "NIA2"
supported_encryption_algorithms:
- "NEA0"
......@@ -176,14 +166,14 @@ amf:
smf:
ue_mtu: 1500
support_features:
use_local_subscription_info: no # Use infos from local_subscription_info or from UDM
use_local_pcc_rules: no # Use infos from local_pcc_rules or from PCF
use_local_subscription_info: yes # Use infos from local_subscription_info or from UDM
use_local_pcc_rules: yes # Use infos from local_pcc_rules or from PCF
# we resolve from NRF, this is just to configure usage_reporting
upfs:
- host: 192.168.70.129
# - host: oai-spgwu
- host: oai-upf
config:
enable_usage_reporting: no
enable_qers: no
ue_dns:
primary_ipv4: "172.21.3.100"
primary_ipv6: "2001:4860:4860::8888"
......@@ -192,80 +182,40 @@ smf:
ims:
pcscf_ipv4: "127.0.0.1"
pcscf_ipv6: "fe80::7915:f408:1787:db8b"
# the DNN you configure here should be configured in "dnns"
# follows the SmfInfo datatype from 3GPP TS 29.510
smf_info:
sNssaiSmfInfoList:
- sNssai: *embb_slice1
dnnSmfInfoList:
- dnn: "oai"
- sNssai: *embb_slice2
dnnSmfInfoList:
- dnn: "oai.ipv4"
- sNssai: *custom_slice
dnnSmfInfoList:
- dnn: "default"
# the DNN you configure here should be configured in "dnns"
local_subscription_infos:
- single_nssai: *embb_slice1
- single_nssai:
sst: 1
dnn: "oai"
qos_profile:
5qi: 9
session_ambr_ul: "200Mbps"
session_ambr_dl: "400Mbps"
- single_nssai: *embb_slice2
- single_nssai:
sst: 1
sd: 1
dnn: "oai.ipv4"
qos_profile:
5qi: 9
session_ambr_ul: "100Mbps"
session_ambr_dl: "200Mbps"
- single_nssai: *custom_slice
- single_nssai:
sst: 222
sd: 123
dnn: "default"
qos_profile:
5qi: 9
session_ambr_ul: "50Mbps"
session_ambr_dl: "100Mbps"
upf:
support_features:
enable_bpf_datapath: yes # If "on": BPF is used as datapath else simpleswitch is used, DEFAULT= off
enable_qos: yes
# OAI UPF EBPF MAP SIZES Configuration File
# These configuration map entries define key parameters for optimizing memory allocation and tuning the UPF.
# The values set in this file directly impact the size of eBPF maps used for packet processing.
# Configuration Parameters: Each parameter in this file controls a specific aspect of UPF behavior.
# 1. Network Interface Limits
# max_upf_interfaces (Default: 3)
# Specifies the maximum number of network interfaces that UPF can manage.
# Example: Physical/virtual interfaces for GTP-U traffic.
# max_upf_redirect_interfaces (Default: 2)
# Defines the maximum number of interfaces used for traffic redirection.
# Example: Used in PDRs for forwarding packets to specific egress interfaces.
max_upf_interfaces: 3
max_upf_redirect_interfaces: 2
# 2. Session and Rule Limits
# max_pdu_session (Default: 10,000)
# Determines the maximum number of concurrent PDU sessions that UPF can handle.
# Affects the memory allocation for session-related eBPF maps.
# max_pdrs_per_pdu_session (Default: 8)
# Defines the maximum number of Packet Detection Rules (PDRs) that can be applied per PDU session.
# PDRs dictate how packets are processed, forwarded, or dropped.
# max_qos_flows_per_pdu_session (Default: 8)
# Sets the maximum number of QoS flows that a single PDU session can manage.
# Impacts QoS-related eBPF maps (e.g., shaping, policing).
# max_sdf_filters_per_pdu_session (Default: 8)
# Specifies the maximum number of Service Data Flow (SDF) filters per session.
# SDF filters define how traffic is classified within a QoS flow.
max_pdu_session: 10000
max_pdrs_per_pdu_session: 8
#max_qos_flows_per_pdu_session: 8
max_sdf_filters_per_pdu_session: 8
# 3. ARP Table Limit
# max_arp_entries (Default: 2)
# Limits the number of ARP table entries stored in eBPF maps.
# Used for resolving MAC addresses in the UPF forwarding path.
max_arp_entries: 2
enable_bpf_datapath: no # If "on": BPF is used as datapath else simpleswitch is used, DEFAULT= off
enable_qos: no # Only supported for BPF datapath. If "on" we use qdiscs to manage the QoS
qdisc_scheduler: "htb" # This value is used only in case QoS is enabled
enable_snat: no # If "on": Source natting is done for UE, DEFAULT= off
remote_n6_gw: oai-ext-dn
smfs:
- host: oai-smf # To be used for PFCP association in case of no-NRF
upf_info:
sNssaiUpfInfoList:
- sNssai: *embb_slice1
......@@ -277,25 +227,17 @@ upf:
- sNssai: *custom_slice
dnnUpfInfoList:
- dnn: "default"
## DNN configuration
dnns:
- dnn: "oai"
pdu_session_type: "IPV4"
ipv4_subnet: "12.1.1.128/25"
ipv4_subnet: "12.1.1.0/24"
- dnn: "oai.ipv4"
pdu_session_type: "IPV4"
ipv4_subnet: "12.1.1.64/26"
ipv4_subnet: "12.1.2.0/24"
- dnn: "default"
pdu_session_type: "IPV4"
ipv4_subnet: "12.1.1.0/26"
ipv4_subnet: "12.1.3.0/24"
- dnn: "ims"
pdu_session_type: "IPV4V6"
ipv4_subnet: "14.1.1.2/24"
pcf:
local_policy:
policy_decisions_path: /openair-pcf/policies/policy_decisions
pcc_rules_path: /openair-pcf/policies/pcc_rules
traffic_rules_path: /openair-pcf/policies/traffic_rules
qos_data_path: /openair-pcf/policies/qos_data
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment