Skip to content
Snippets Groups Projects
Commit 5d785fc7 authored by turletti's avatar turletti
Browse files

Merge branch 'develop-r2lab-tmp' into develop-r2lab

parents c2a56388 c9a608fb
No related branches found
No related tags found
No related merge requests found
......@@ -14,10 +14,11 @@ http_version: 2
## Defines YAML anchors, which are reused in the config file
snssais:
- &embb_slice1
sst: 1
sst: @SLICE1_SST@ #1
sd: @SLICE1_SD@ # no line before
- &embb_slice2
sst: 1
sd: FFFFFF # in hex
sst: @SLICE2_SST@ #1
sd: @SLICE2_SD@ #FFFFFF # in hex
############## SBI Interfaces
### Each NF takes its local SBI interfaces and remote interfaces from here, unless it gets them using NRF discovery mechanisms
......@@ -29,7 +30,7 @@ nfs:
api_version: v1
interface_name: eth0
n2:
interface_name: "@IF_N2@"
interface_name: @IF_N2@
port: 38412
smf:
host: oai-smf
......@@ -38,22 +39,22 @@ nfs:
api_version: v1
interface_name: eth0
n4:
interface_name: "@IF_N4@"
interface_name: @IF_N4@
port: 8805
upf:
host: oai-upf
sbi:
port: 80
api_version: v1
interface_name: eth0
interface_name: @IF_SBI@ #eth0
n3:
interface_name: "@IF_N3@"
interface_name: @IF_N3@
port: 2152
n4:
interface_name: "@IF_N4@"
interface_name: @IF_N4@
port: 8805
n6:
interface_name: "@IF_N6@"
interface_name: @IF_N6@
n9:
interface_name: eth0
port: 2152
......@@ -76,7 +77,7 @@ nfs:
api_version: v1
interface_name: eth0
nrf:
host: oai-nrf
host: @NFS_NRF_HOST@ #oai-nrf
sbi:
port: 80
api_version: v1
......@@ -158,20 +159,20 @@ smf:
- single_nssai: *embb_slice1
dnn: "@DNN0@"
qos_profile:
5qi: 5
session_ambr_ul: "200Mbps"
session_ambr_dl: "400Mbps"
5qi: @SLICE1_5QI@ #5
session_ambr_ul: "@SLICE1_UPLINK@" # "200Mbps"
session_ambr_dl: "@SLICE1_DOWNLINK@" # "400Mbps"
- single_nssai: *embb_slice2
dnn: "ims"
qos_profile:
5qi: 2
session_ambr_ul: "100Mbps"
session_ambr_dl: "200Mbps"
5qi: @SLICE2_5QI@ #2
session_ambr_ul: "@SLICE2_UPLINK@" # "100Mbps"
session_ambr_dl: "@SLICE2_DOWNLINK@" # "200Mbps"
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
enable_snat: @ENABLE_SNAT@ # 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:
......
......@@ -2,10 +2,11 @@ global:
nfConfigurationConfigMap: oai-5g-basic
clusterIpServiceIpAllocation: true #this will allocate ip-address to cluster Ip service
waitForNRF: true
IP_NRF: @IP_NRF@ #172.21.10.203
http2Param: "--http2-prior-knowledge" # if waitForNRF is true and http2 is used for all NF then this param is needed
timeout: 1
mysql:
enabled: true
enabled: @ENABLED_MYSQL@ #true
imagePullPolicy: IfNotPresent
oai5gdatabase: basic
imagePullSecrets:
......@@ -13,7 +14,7 @@ mysql:
persistence:
enabled: false
oai-nrf:
enabled: true
enabled: @ENABLED_NRF@ #true
kubernetesType: Vanilla #Openshift/Vanilla Vanilla for Upstream Kubernetes
nfimage: # image name either locally present or in a public/private repository
repository: docker.io/oaisoftwarealliance/oai-nrf ## The image will be pulled from dockerhub
......@@ -27,7 +28,7 @@ oai-nrf:
logLevel: "debug" #allowed info/error/debug
nodeSelector: {}
oai-udr:
enabled: true
enabled: @ENABLED_UDR@ #true
kubernetesType: Vanilla #Openshift/Vanilla Vanilla for Upstream Kubernetes
nfimage: # image name either locally present or in a public/private repository
repository: docker.io/oaisoftwarealliance/oai-udr ## The image will be pulled from dockerhub
......@@ -41,7 +42,7 @@ oai-udr:
logLevel: "debug" #allowed info/error/debug
nodeSelector: {}
oai-udm:
enabled: true
enabled: @ENABLED_UDM@ #true
kubernetesType: Vanilla #Openshift/Vanilla Vanilla for Upstream Kubernetes
nfimage: # image name either locally present or in a public/private repository
repository: docker.io/oaisoftwarealliance/oai-udm ## The image will be pulled from dockerhub
......@@ -55,7 +56,7 @@ oai-udm:
logLevel: "debug" #allowed info/error/debug
nodeSelector: {}
oai-ausf:
enabled: true
enabled: @ENABLED_AUSF@ #true
kubernetesType: Vanilla #Openshift/Vanilla Vanilla for Upstream Kubernetes
nfimage: # image name either locally present or in a public/private repository
repository: docker.io/oaisoftwarealliance/oai-ausf ## The image will be pulled from dockerhub
......@@ -75,7 +76,7 @@ oai-ausf:
logLevel: "debug" #allowed info/error/debug
nodeSelector: {}
oai-amf:
enabled: true
enabled: @ENABLED_AMF@ #true
kubernetesType: Vanilla #Openshift/Vanilla Vanilla for Upstream Kubernetes
nfimage: # image name either locally present or in a public/private repository
repository: docker.io/oaisoftwarealliance/oai-amf ## The image will be pulled from dockerhub
......@@ -105,12 +106,12 @@ oai-amf:
## If you do not have a gateway leave the field empty
Gateway: "@GW_AMF_N2@"
## If you do not want to add any routes in your pod then leave this field empty
routes: "@ROUTES_AMF_N2@"
routes: @ROUTES_AMF_N2@
hostInterface: "@IF_NAME_AMF_N2@" # Interface of the host machine on which this pod will be scheduled
nodeSelector: {}
nodeName: @NODE_AMF@
oai-upf:
enabled: true
enabled: @ENABLED_UPF@ #true
kubernetesType: Vanilla #Openshift/Vanilla Vanilla for Upstream Kubernetes
nfimage: # image name either locally present or in a public/private repository
#repository: docker.io/r2labuser/oai-upf ## The image will be pulled from dockerhub
......@@ -125,7 +126,7 @@ oai-upf:
imagePullSecrets:
- name: "regcred"
securityContext:
privileged: @PRIVILEGED@
privileged: true # @PRIVILEGED@ # upf fails without privilege mode on rocky
persistent:
sharedvolume: @SHAREDVOLUME@
# create an extra interface for N3 incase the gNB is outside the cluster network or there is a need to have dedicated interface for N3
......@@ -145,7 +146,7 @@ oai-upf:
## If you do not have a gateway leave the field empty
Gateway: "@GW_UPF_N3@"
## If you don't want to add a default route in your pod then replace this field with ""
routes: "@ROUTES_UPF_N3@"
routes: @ROUTES_UPF_N3@
hostInterface: "@IF_NAME_UPF_N3@"
## For n4 it is better to re-use eth0 interface inside the pod (primary CNI of Kubernetes)
n4Interface:
......@@ -159,7 +160,7 @@ oai-upf:
## If you do not have a gateway leave the field empty
Gateway: "@GW_UPF_N4@"
## If you do not want to add any routes in your pod then leave this field empty
routes: "@ROUTES_UPF_N4@"
routes: @ROUTES_UPF_N4@
hostInterface: "@IF_NAME_UPF_N4@"
n6Interface:
create: @MULTUS_UPF_N6@
......@@ -172,7 +173,7 @@ oai-upf:
## If you do not have a gateway leave the field empty
Gateway: "@GW_UPF_N6@"
## If you do not want to add any routes in your pod then leave this field empty
routes: "@ROUTES_UPF_N6@"
routes: @ROUTES_UPF_N6@
hostInterface: "@IF_NAME_UPF_N6@"
#NOTE: If the interface you selected for n6If is wrong then traffic will not be routed towards internet
nodeSelector: {}
......@@ -198,7 +199,7 @@ oai-upf:
# upfIpadd: 172.21.6.95
# noOfIperf3Server: 10
oai-smf:
enabled: true
enabled: @ENABLED_SMF@ #true
kubernetesType: Vanilla #Openshift/Vanilla Vanilla for Upstream Kubernetes
nfimage: # image name either locally present or in a public/private repository
repository: docker.io/oaisoftwarealliance/oai-smf ## The image will be pulled from dockerhub
......@@ -220,7 +221,7 @@ oai-smf:
## If you do not have a gateway leave the field empty
Gateway: "@GW_SMF_N4@"
## If you do not want to add any routes in your pod then leave this field empty
routes: "@ROUTES_SMF_N4@"
routes: @ROUTES_SMF_N4@
hostInterface: "@IF_NAME_SMF_N4@"
nodeSelector: {}
imagePullSecrets:
......
......@@ -72,7 +72,7 @@ spec:
command:
- /bin/sh
- -c
- until curl --connect-timeout {{ .Values.global.timeout }} --head -X GET http://oai-nrf/nnrf-nfm/v1/nf-instances?nf-type='NRF' {{ .Values.global.http2Param }}; do echo waiting for oai-nrf; sleep 1; done
- until curl --connect-timeout {{ .Values.global.timeout }} --head -X GET http://{{ .Values.global.IP_NRF }}/nnrf-nfm/v1/nf-instances?nf-type='NRF' {{ .Values.global.http2Param }}; do echo waiting for oai-nrf; sleep 1; done
{{- end }}{{ end }}
containers:
{{- if .Values.includeTcpDumpContainer }}
......
......@@ -10,6 +10,6 @@ data:
key = "{{ .Values.config.fullKey }}";
opc= "{{ .Values.config.opc }}";
dnn= "{{ .Values.config.dnn }}";
nssai_sst="{{ .Values.config.sst }}";
nssai_sd="{{ .Values.config.sd }}";
nssai_sst={{ .Values.config.sst }};
nssai_sd={{ .Values.config.sd }};
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment