190 lines
5.8 KiB
YAML
190 lines
5.8 KiB
YAML
################################################################################
|
|
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
# this work for additional information regarding copyright ownership.
|
|
# The OpenAirInterface Software Alliance licenses this file to You under
|
|
# the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
# except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.openairinterface.org/?page_id=698
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#-------------------------------------------------------------------------------
|
|
# For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
# contact@openairinterface.org
|
|
################################################################################
|
|
|
|
# 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
|
|
|
|
############# 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: no
|
|
|
|
http_version: 1
|
|
|
|
############## SBI Interfaces
|
|
### Each NF takes its local SBI interfaces and remote interfaces from here, unless it gets them using NRF discovery mechanisms
|
|
nfs:
|
|
amf:
|
|
host: oai-amf
|
|
sbi:
|
|
port: 80
|
|
api_version: v1
|
|
interface_name: eth0
|
|
n2:
|
|
interface_name: eth0
|
|
port: 38412
|
|
smf:
|
|
host: oai-smf
|
|
sbi:
|
|
port: 80
|
|
api_version: v1
|
|
interface_name: eth0
|
|
n4:
|
|
interface_name: eth0
|
|
port: 8805
|
|
|
|
upf:
|
|
host: oai-upf
|
|
sbi:
|
|
port: 80
|
|
api_version: v1
|
|
interface_name: eth0
|
|
n3:
|
|
interface_name: eth0
|
|
port: 2152
|
|
n4:
|
|
interface_name: eth0
|
|
port: 8805
|
|
n6:
|
|
interface_name: eth1
|
|
n9:
|
|
interface_name: eth0
|
|
port: 2152
|
|
|
|
#### Common for UDR and AMF
|
|
database:
|
|
host: mysql
|
|
user: test
|
|
type: mysql
|
|
password: test
|
|
database_name: oai_db
|
|
generate_random: true
|
|
connection_timeout: 300 # seconds
|
|
|
|
## general single_nssai configuration
|
|
## Defines YAML anchors, which are reused in the config file
|
|
snssais:
|
|
- &embb_slice1
|
|
sst: 1
|
|
|
|
############## NF-specific configuration
|
|
amf:
|
|
amf_name: "OAI-AMF"
|
|
# This really depends on if we want to keep the "mini" version or not
|
|
support_features_options:
|
|
enable_simple_scenario: yes # "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_nssf: no
|
|
enable_smf_selection: no
|
|
relative_capacity: 30
|
|
statistics_timer_interval: 20 # in seconds
|
|
emergency_support: false
|
|
served_guami_list:
|
|
- mcc: 208
|
|
mnc: 99
|
|
amf_region_id: 01
|
|
amf_set_id: 001
|
|
amf_pointer: 01
|
|
plmn_support_list:
|
|
- mcc: 208
|
|
mnc: 99
|
|
tac: 0x0001
|
|
nssai:
|
|
- *embb_slice1
|
|
supported_integrity_algorithms:
|
|
- "NIA0"
|
|
- "NIA1"
|
|
- "NIA2"
|
|
supported_encryption_algorithms:
|
|
- "NEA0"
|
|
- "NEA1"
|
|
- "NEA2"
|
|
|
|
smf:
|
|
ue_mtu: 1500
|
|
support_features:
|
|
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
|
|
upfs:
|
|
- host: oai-upf
|
|
port: 8805
|
|
config:
|
|
enable_usage_reporting: no
|
|
# follows UPFInfo from 3GPP TS 29.510, currently only these values from interfaceUpfInfoList are supported
|
|
upf_info:
|
|
interfaceUpfInfoList:
|
|
- interfaceType: "N3"
|
|
networkInstance: "access.oai.org"
|
|
- interfaceType: "N6"
|
|
networkInstance: "core.oai.org"
|
|
ue_dns:
|
|
primary_ipv4: "172.21.3.100"
|
|
primary_ipv6: "2001:4860:4860::8888"
|
|
secondary_ipv4: "8.8.8.8"
|
|
secondary_ipv6: "2001:4860:4860::8888"
|
|
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"
|
|
local_subscription_infos:
|
|
- single_nssai: *embb_slice1
|
|
dnn: "oai"
|
|
qos_profile:
|
|
5qi: 9
|
|
session_ambr_ul: "200Mbps"
|
|
session_ambr_dl: "400Mbps"
|
|
|
|
upf:
|
|
support_features:
|
|
enable_bpf_datapath: no # If "on": BPF is used as datapath else simpleswitch is used, DEFAULT= off
|
|
enable_snat: yes # If "on": Source natting is done for UE, DEFAULT= off
|
|
remote_n6_gw: 127.0.0.1 # Dummy host since simple-switch does not use N6 GW
|
|
upf_info:
|
|
sNssaiUpfInfoList:
|
|
- sNssai: *embb_slice1
|
|
dnnUpfInfoList:
|
|
- dnn: "oai"
|
|
|
|
## DNN configuration
|
|
dnns:
|
|
- dnn: "oai"
|
|
pdu_session_type: "IPV4"
|
|
ipv4_subnet: "12.1.1.0/24"
|