diff --git a/charts/oai-5g-core/oai-5g-basic/config.yaml b/charts/oai-5g-core/oai-5g-basic/config.yaml index d3f4e876831d0c567bb93d12a6745776594fc508..2dcde066d7ec6da5da842e04510952c8d18d7dd3 100644 --- a/charts/oai-5g-core/oai-5g-basic/config.yaml +++ b/charts/oai-5g-core/oai-5g-basic/config.yaml @@ -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,13 +159,13 @@ smf: - single_nssai: *embb_slice1 dnn: "@DNN0@" qos_profile: - 5qi: 5 + 5qi: @SLICE1_5QI@ #5 session_ambr_ul: "200Mbps" session_ambr_dl: "400Mbps" - single_nssai: *embb_slice2 dnn: "@DNN1@" qos_profile: - 5qi: 2 + 5qi: @SLICE2_5QI@ #2 session_ambr_ul: "100Mbps" session_ambr_dl: "200Mbps" diff --git a/charts/oai-5g-core/oai-5g-basic/values.yaml b/charts/oai-5g-core/oai-5g-basic/values.yaml index 576b9999aed1336097b9ecb48991810795d65785..8247b27c40e7450241b14b83960110e0d16bc09f 100644 --- a/charts/oai-5g-core/oai-5g-basic/values.yaml +++ b/charts/oai-5g-core/oai-5g-basic/values.yaml @@ -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 @@ -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: diff --git a/charts/oai-5g-ran/oai-nr-ue/templates/configmap.yaml b/charts/oai-5g-ran/oai-nr-ue/templates/configmap.yaml index 18086212ee32fa45aa0350b417f8b77695901831..bb18c8ad4324f7ad95663fa9ebc97c157a98ce08 100644 --- a/charts/oai-5g-ran/oai-nr-ue/templates/configmap.yaml +++ b/charts/oai-5g-ran/oai-nr-ue/templates/configmap.yaml @@ -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