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

update

parent fd5d3c54
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,8 @@ kubernetesType: Vanilla #Vanilla for community kubernetes distribution else Ope
## In case of using these charts on Openshift then please use UBI images
## To know more about them follow this tutorial https://gitlab.eurecom.fr/oai/cn5g/oai-cn5g-fed/-/tree/master/openshift
nfimage: # image name either locally present or in a public/private repository
repository: docker.io/oaisoftwarealliance/oai-gnb ## dockerhub oaisoftwarealliance/oai-gnb
version: 2023.w49 # image tag or develop
repository: @GNB_REPO@ # docker.io/oaisoftwarealliance/oai-gnb
version: @GNB_TAG@ # image tag or develop
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: IfNotPresent
......@@ -19,7 +19,7 @@ serviceAccount:
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-cu-cp-sa"
name: @NAME_GNB_CU_CP_SA@ # "oai-cu-cp-sa"
## CU-CP can work with 1 virtual ip-address here we are using three different virtual interfaces.
## In case you are using 1 ip-address for all 3 logical interfaces then please change it template/configmap.yaml
......@@ -27,55 +27,62 @@ serviceAccount:
multus:
# to remove the default gateway change it with ""
defaultGateway: ""
defaultGateway: "@DEFAULT_GW_GNB@"
e1Interface:
create: false
IPadd: "192.168.18.12"
Netmask: "24"
create: @MULTUS_GNB_E1@ # false
IPadd: "@IP_GNB_CUCP_E1@" # "192.168.18.12"
Netmask: "@NETMASK_GNB_E1@" # "24"
# if mac is empty then it will be removed
Mac: "@MAC_GNB_CUCP_E1@"
# #name inside the pod is hardcoded right now
# name: "e1"
# if gatway is empty then it will be removed
#Gateway: ""
#routes: [{'dst': '10.8.0.0/24','gw': '172.21.7.254'}, {'dst': '10.9.0.0/24','gw': '172.21.7.254'}]
hostInterface: "bond0" # Interface of the host machine on which this pod will be scheduled
# if gateway is empty then it will be removed
Gateway: "@GW_GNB_CUCP_E1@"
routes: @ROUTES_GNB_CUCP_E1@ # [{'dst': '10.8.0.0/24','gw': '172.21.7.254'}, {'dst': '10.9.0.0/24','gw': '172.21.7.254'}]
hostInterface: "@IF_NAME_GNB_CUCP_E1@" # "bond0" # Interface of the host machine on which this pod will be scheduled
n2Interface:
create: false
IPadd: "172.21.6.98"
Netmask: "22"
create: @MULTUS_GNB_N2@
# #name inside the pod is hardcoded right now
# name: "n2"
# if gatway is empty then it will be removed
#Gateway: ""
#routes:
hostInterface: "bond0" # Interface of the host machine on which this pod will be scheduled
IPadd: "@IP_GNB_N2@"
Netmask: "@NETMASK_GNB_N2@"
# if Mac is empty then it will be removed
Mac: "@MAC_GNB_N2@"
# if gateway is empty then it will be removed
Gateway: "@GW_GNB_N2@"
routes: @ROUTES_GNB_N2@ # [{'dst': '10.8.0.0/24','gw': '172.21.7.254'}, {'dst': '10.9.0.0/24','gw': '172.21.7.254'}]
hostInterface: "@IF_NAME_GNB_N2@" # Interface of the host machine on which this pod will be scheduled
f1cInterface:
create: false
IPadd: "172.21.16.92"
Netmask: "22"
create: @MULTUS_GNB_F1@ # false
IPadd: "@IP_GNB_CUCP_F1@" # "172.21.16.92"
Netmask: "@NETMASK_GNB_F1@" # "22"
# if mac is empty then it will be removed
Mac: "@MAC_GNB_CU_F1@"
# #name inside the pod is hardcoded right now
# name: "f1c"
# if gatway is empty then it will be removed
#Gateway: ""
#routes:
hostInterface: "bond0" # Interface of the host machine on which this pod will be scheduled
# name: "f1"
# if gateway is commented then it will be removed
Gateway: "@GW_GNB_CU_F1@" # "172.21.19.254"
routes: @ROUTES_GNB_CU_F1@
hostInterface: "@IF_NAME_GNB_CU_F1@" # Interface of the host machine on which this pod will be scheduled
## configuration file is in template/config.yaml
## It is taken from https://gitlab.eurecom.fr/oai/openairinterface5g/-/blob/develop/ci-scripts/conf_files/gnb-cucp.sa.f1.conf
config:
timeZone: "Europe/Paris"
useAdditionalOptions: "--sa --log_config.global_log_options level,nocolor,time"
cucpName: "oai-cu-cp"
mcc: "001" # check the information with AMF, SMF, UPF
mnc: "01" # check the information with AMF, SMF, UPF
tac: "1" # check the information with AMF
sst: "1" #currently only 4 standard values are allowed 1,2,3,4
amfhost: "oai-amf" # amf ip-address or service-name oai-amf-svc or 172.21.6.94
n2IfName: "eth0" # if multus.n2Interface.create is true then use n2
n3IfName: "eth0" #if multus.n3Interface.create is true then use n3 or you can only use 1 interface n2 or eth0
f1IfName: "eth0" #if multus.f1Interface.create is true then use f1
e1IfName: "eth0" #if multus.f1Interface.create is true then use e1
f1cuPort: "2153" #2153 if using same interface for f1 and n3 else standard port 2152 should be use if f1 and n3 interface are different
f1duPort: "2153" #2153 if using same interface for f1 and n3 else standard port 2152 should be use if f1 and n3 interface are different
useAdditionalOptions: "@ADD_OPTIONS_CU_GNB@" #"--sa --log_config.global_log_options level,nocolor,time"
cucpName: "@NAME_GNB_CUCP@" # "oai-cu-cp"
mcc: "@MCC@" # check the information with AMF, SMF, UPF
mnc: "@MNC@" # check the information with AMF, SMF, UPF
tac: "@TAC@" # check the information with AMF
#sst: "1" #currently only 4 standard values are allowed 1,2,3,4 # set via sed configmap
amfhost: "@AMF_IP_ADDRESS@" # "oai-amf" # amf ip-address or service-name oai-amf-svc or 172.21.6.94
n2IfName: "@GNB_CU_N2IFNAME@" # if multus.n2Interface.create is true then use n2
n3IfName: "@GNB_CU_N3IFNAME@" # if multus.n3Interface.create is true then use n3 or you can only use 1 interface n2 or eth0
f1IfName: "@GNB_CU_F1IFNAME@" # "eth0" #if multus.f1Interface.create is true then use f1
e1IfName: "@GNB_CU_E1IFNAME@" # "eth0" #if multus.e1Interface.create is true then use e1
f1cuPort: "@GNB_F1_CU_PORT@"# "2153" #2153 if using same interface for f1 and n3 else standard port 2152 should be use if f1 and n3 interface are different
f1duPort: "@GNB_F1_DU_PORT@"# "2153" #2153 if using same interface for f1 and n3 else standard port 2152 should be use if f1 and n3 interface are different
# Debugging section
podSecurityContext:
......@@ -84,9 +91,9 @@ podSecurityContext:
start:
gnbcucp: true
tcpdump: false
tcpdump: @START_TCPDUMP@
includeTcpDumpContainer: false #If true it will add a tcpdump container inside network function pod for debugging
includeTcpDumpContainer: @TCPDUMP_CONTAINER@ #If true it will add a tcpdump container inside network function pod for debugging
## For openshift you can use rhel8/support-tools:8.7-13
tcpdumpimage:
......@@ -95,12 +102,18 @@ tcpdumpimage:
#pullPolicy: IfNotPresent or Never or Always
pullPolicy: IfNotPresent
persistent:
sharedvolume: @SHAREDVOLUME@
volumeName: oai5g-volume
size: 1Gi
## NF is the network function and tcpdump is the tcpdump container.
## To know more about request and limit it is better to understand that how Kubernetes QoS works.
## https://kubernetes.io/docs/concepts/configuration/manage-resources-containers
## https://kubernetes.io/docs/concepts/workloads/pods/pod-qos
resources:
define: false
define: @QOS_GNB_DEF@
limits:
nf:
cpu: 100m
......
......@@ -3,8 +3,8 @@ kubernetesType: Vanilla #Vanilla for community kubernetes distribution else Ope
## In case of using these charts on Openshift then please use UBI images
## To know more about them follow this tutorial https://gitlab.eurecom.fr/oai/cn5g/oai-cn5g-fed/-/tree/master/openshift
nfimage: # image name either locally present or in a public/private repository
repository: docker.io/oaisoftwarealliance/oai-nr-cuup ## dockerhub oaisoftwarealliance/oai-gnb
version: 2023.w49 # image tag or develop
repository: @GNB_CUUP_REPO@ #docker.io/oaisoftwarealliance/oai-nr-cuup ## dockerhub oaisoftwarealliance/oai-gnb
version: @GNB_CUUP_TAG@ # 2023.w49 # image tag or develop
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: IfNotPresent
......@@ -19,7 +19,7 @@ serviceAccount:
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-cu-up-sa"
name: @NAME_GNB_CU_UP_SA@ # "oai-cu-up-sa"
## CU-UP can work with 1 virtual ip-address here we are using three different virtual interfaces.
## In case you are using 1 ip-address for all 3 logical interfaces then please change it template/configmap.yaml
......@@ -28,32 +28,49 @@ multus:
#if defaultGateway is empty then it will be removed
defaultGateway: ""
e1Interface:
create: false
IPadd: "192.168.18.13"
Netmask: "24"
create: @MULTUS_GNB_E1@ # false
IPadd: "@IP_GNB_CUUP_E1@" # "192.168.18.13"
Netmask: "@NETMASK_GNB_E1@" # "24"
# if mac is empty then it will be removed
Mac: "@MAC_GNB_CUUP_E1@"
# #name inside the pod is hardcoded right now
# name: "e1"
# if gatway is empty then it will be removed
#Gateway: ""
#routes: [{'dst': '10.8.0.0/24','gw': '172.21.7.254'}, {'dst': '10.9.0.0/24','gw': '172.21.7.254'}]
hostInterface: "bond0" # Interface of the host machine on which this pod will be scheduled
# if gateway is empty then it will be removed
Gateway: "@GW_GNB_CUUP_E1@"
#routes: @ROUTES_GNB_CU_E1@ # [{'dst': '10.8.0.0/24','gw': '172.21.7.254'}, {'dst': '10.9.0.0/24','gw': '172.21.7.254'}]
hostInterface: "@IF_NAME_GNB_CUUP_E1@" # "bond0" # Interface of the host machine on which this pod will be scheduled
n3Interface:
create: false
IPadd: "172.21.8.97"
Netmask: "22"
create: @MULTUS_GNB_N3@
# #name inside the pod is hardcoded right now
# name: "n3"
# if gatway is empty then it will be removed
#Gateway: ""
#routes: []
hostInterface: "bond0" # Interface of the host machine on which this pod will be scheduled
IPadd: "@IP_GNB_N3@"
Netmask: "@NETMASK_GNB_N3@"
# if mac is empty then it will be removed
Mac: "@MAC_GNB_N3@"
# if gateway is empty then it will be removed
Gateway: "@GW_GNB_N3@"
routes: @ROUTES_GNB_N3@
hostInterface: "@IF_NAME_GNB_N3@" # Interface of the host machine on which this pod will be scheduled
f1uInterface:
create: @MULTUS_GNB_F1@ # false
IPadd: "@IP_GNB_CUUP_F1@" # "172.21.16.93"
Netmask: "@NETMASK_GNB_F1@" # "22"
# if mac is empty then it will be removed
Mac: "@MAC_GNB_CU_F1@"
# #name inside the pod is hardcoded right now
# name: "f1"
# if gateway is commented then it will be removed
Gateway: "@GW_GNB_CU_F1@" # "172.21.19.254"
routes: @ROUTES_GNB_CU_F1@
hostInterface: "@IF_NAME_GNB_CU_F1@" # Interface of the host machine on which this pod will be scheduled
f1uInterface:
create: false
IPadd: "172.21.16.93"
Netmask: "22"
# #name inside the pod is hardcoded right now
# name: "f1u"
# if gatway is empty then it will be removed
# if gateway is empty then it will be removed
#Gateway: ""
#routes: []
hostInterface: "bond0" # Interface of the host machine on which this pod will be scheduled
......
......@@ -3,8 +3,8 @@ kubernetesType: Vanilla #Vanilla for community kubernetes distribution else Ope
## In case of using these charts on Openshift then please use UBI images
## To know more about them follow this tutorial https://gitlab.eurecom.fr/oai/cn5g/oai-cn5g-fed/-/tree/master/openshift
nfimage: # image name either locally present or in a public/private repository
repository: docker.io/oaisoftwarealliance/oai-gnb ## dockerhub oaisoftwarealliance/oai-gnb
version: 2023.w49 # image tag or develop
repository: @GNB_REPO@ # docker.io/oaisoftwarealliance/oai-gnb
version: @GNB_TAG@ # image tag or develop
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: IfNotPresent
......@@ -19,7 +19,7 @@ serviceAccount:
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-cu-sa"
name: @NAME_GNB_CU_SA@ # "oai-cu-sa"
# oai-cu can be configured with multiple interface which may correspond to 3GPP logical interfaces. There can be one to one or one to many.
# In case of one to one mapping f1, n2, n3 all can have seperate virtual interfaces.
......@@ -27,59 +27,66 @@ serviceAccount:
# Interface mapping is strictly based on your networking environment
## Change these ip-addresses according to your environment
multus:
# if default gatway is empty then it will be removed
defaultGateway: ""
# if default gateway is empty then it will be removed
defaultGateway: "@DEFAULT_GW_GNB@"
f1Interface:
create: false
IPadd: "172.21.16.92"
Netmask: "22"
create: @MULTUS_GNB_F1@ # false
IPadd: "@IP_GNB_CU_F1@" # "172.21.16.92"
Netmask: "@NETMASK_GNB_F1@" # "22"
# if mac is empty then it will be removed
Mac: "@MAC_GNB_CU_F1@"
# #name inside the pod is hardcoded right now
# name: "f1"
# if gatway is commented then it will be removed
#Gateway: "172.21.19.254"
#routes:
hostInterface: "bond0" # Interface of the host machine on which this pod will be scheduled
# if gateway is commented then it will be removed
Gateway: "@GW_GNB_CU_F1@" # "172.21.19.254"
routes: @ROUTES_GNB_CU_F1@
hostInterface: "@IF_NAME_GNB_CU_F1@" # Interface of the host machine on which this pod will be scheduled
n2Interface:
create: false
IPadd: "172.21.6.90"
#name inside the pod is hardcoded right now
create: @MULTUS_GNB_N2@
# #name inside the pod is hardcoded right now
# name: "n2"
Netmask: "22"
# if gatway is empty then it will be removed
#Gateway: "172.21.7.254"
#routes: [{'dst': '10.8.0.0/24','gw': '172.21.7.254'}, {'dst': '10.9.0.0/24','gw': '172.21.7.254'}]
hostInterface: "bond0" # Interface of the host machine on which this pod will be scheduled
IPadd: "@IP_GNB_N2@"
Netmask: "@NETMASK_GNB_N2@"
# if Mac is empty then it will be removed
Mac: "@MAC_GNB_N2@"
# if gateway is empty then it will be removed
Gateway: "@GW_GNB_N2@"
routes: @ROUTES_GNB_N2@ # [{'dst': '10.8.0.0/24','gw': '172.21.7.254'}, {'dst': '10.9.0.0/24','gw': '172.21.7.254'}]
hostInterface: "@IF_NAME_GNB_N2@" # Interface of the host machine on which this pod will be scheduled
n3Interface:
create: false
IPadd: "172.21.8.91"
Netmask: "22"
create: @MULTUS_GNB_N3@
# #name inside the pod is hardcoded right now
# name: "n3"
# if gatway is commented then it will be removed
#Gateway: "172.21.11.254"
#routes:
hostInterface: "bond0" # Interface of the host machine on which this pod will be scheduled
IPadd: "@IP_GNB_N3@"
Netmask: "@NETMASK_GNB_N3@"
# if mac is empty then it will be removed
Mac: "@MAC_GNB_N3@"
# if gateway is empty then it will be removed
Gateway: "@GW_GNB_N3@"
routes: @ROUTES_GNB_N3@
hostInterface: "@IF_NAME_GNB_N3@" # Interface of the host machine on which this pod will be scheduled
## If you want to change more configuration parameters then you should mount the config file
# in templates/configmap.yaml
# Example config files --> https://gitlab.eurecom.fr/oai/openairinterface5g/-/tree/develop/targets/PROJECTS/GENERIC-NR-5GC/CONF
config:
mountConfig: false #If config file is mounted then please edit mount.conf in configmap.yaml properly
mountConfig: @GNB_CU_MOUNTCONFIG@ #If config file is mounted then please edit mount.conf in configmap.yaml properly
timeZone: "Europe/Paris"
useAdditionalOptions: "--sa --log_config.global_log_options level,nocolor,time"
useAdditionalOptions: "@ADD_OPTIONS_CU_GNB@" #"--sa --log_config.global_log_options level,nocolor,time"
# If mounting the configuration file then below parameters are not used
cuName: "oai-cu"
mcc: "001" # check the information with AMF, SMF, UPF
mnc: "01" # check the information with AMF, SMF, UPF
tac: "1" # check the information with AMF
sst: "1" #currently only 4 standard values are allowed 1,2,3,4
amfhost: "oai-amf" # amf ip-address or service-name oai-amf-svc or 172.21.6.94
n2IfName: "eth0" # if multus.n2Interface.create is true then use n2
n3IfName: "eth0" #if multus.n3Interface.create is true then use n3 or you can only use 1 interface n2 or eth0
f1IfName: "eth0" #if multus.f1Interface.create is true then use multus.f1Interface.Ipadd
f1cuPort: "2153" #2153 if using same interface for f1 and n3 else standard port 2152 should be use if f1 and n3 interface are different
f1duPort: "2153" #2153 if using same interface for f1 and n3 else standard port 2152 should be use if f1 and n3 interface are different
cuName: "@NAME_GNB_CU@" # "oai-cu"
mcc: "@MCC@" # check the information with AMF, SMF, UPF
mnc: "@MNC@" # check the information with AMF, SMF, UPF
tac: "@TAC@" # check the information with AMF
#sst: "1" #currently only 4 standard values are allowed 1,2,3,4 # set via sed configmap
amfhost: "@AMF_IP_ADDRESS@" # "oai-amf" # amf ip-address or service-name oai-amf-svc or 172.21.6.94
n2IfName: "@GNB_CU_N2IFNAME@" # if multus.n2Interface.create is true then use n2
n3IfName: "@GNB_CU_N3IFNAME@" # if multus.n3Interface.create is true then use n3 or you can only use 1 interface n2 or eth0
f1IfName: "@GNB_CU_F1IFNAME@" # "eth0" #if multus.f1Interface.create is true then use f1
cuHost: "@GNB_CU_HOST@" # "oai-cu" ## Ip-address or hostname
f1cuPort: "@GNB_F1_CU_PORT@"# "2153" #2153 if using same interface for f1 and n3 else standard port 2152 should be use if f1 and n3 interface are different
f1duPort: "@GNB_F1_DU_PORT@"# "2153" #2153 if using same interface for f1 and n3 else standard port 2152 should be use if f1 and n3 interface are different
## Debugging section
podSecurityContext:
runAsUser: 0
......@@ -87,9 +94,9 @@ podSecurityContext:
start:
gnbcu: true #If false the network function container will run in sleep mode for manually testing
tcpdump: false
tcpdump: @START_TCPDUMP@
includeTcpDumpContainer: false #If true it will add a tcpdump container inside network function pod for debugging
includeTcpDumpContainer: @TCPDUMP_CONTAINER@ #If true it will add a tcpdump container inside network function pod for debugging
## For openshift you can use rhel8/support-tools:8.7-13
tcpdumpimage:
......@@ -98,12 +105,18 @@ tcpdumpimage:
#pullPolicy: IfNotPresent or Never or Always
pullPolicy: IfNotPresent
persistent:
sharedvolume: @SHAREDVOLUME@
volumeName: oai5g-volume
size: 1Gi
## NF is the network function and tcpdump is the tcpdump container.
## To know more about request and limit it is better to understand that how Kubernetes QoS works.
## https://kubernetes.io/docs/concepts/configuration/manage-resources-containers
## https://kubernetes.io/docs/concepts/workloads/pods/pod-qos
resources:
define: false
define: @QOS_GNB_DEF@
limits:
nf:
cpu: 100m
......
......@@ -3,8 +3,8 @@ kubernetesType: Vanilla #Vanilla for community kubernetes distribution else Ope
## In case of using these charts on Openshift then please use UBI images
## To know more about them follow this tutorial https://gitlab.eurecom.fr/oai/cn5g/oai-cn5g-fed/-/tree/master/openshift
nfimage: # image name either locally present or in a public/private repository
repository: docker.io/oaisoftwarealliance/oai-gnb ## dockerhub oaisoftwarealliance/oai-gnb
version: 2023.w49 # image tag or develop
repository: @GNB_REPO@ # docker.io/oaisoftwarealliance/oai-gnb
version: @GNB_TAG@ # image tag or develop
# pullPolicy: IfNotPresent or Never or Always
pullPolicy: IfNotPresent
......@@ -19,7 +19,7 @@ serviceAccount:
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-du-sa"
name: @NAME_GNB_DU_SA@ "oai-du-sa"
# oai-du helm-charts can be used in RFSimulated mode which does not require multiple interaces.
......@@ -28,46 +28,63 @@ serviceAccount:
multus:
# if default gatway is left blank then it will be removed
defaultGateway: ""
defaultGateway: "@DEFAULT_GW_GNB@"
f1Interface:
create: false
IPadd: "172.21.16.100"
Netmask: "22"
create: @MULTUS_GNB_F1@ # false
IPadd: "@IP_GNB_DU_F1@" # "172.21.16.100"
Netmask: "@NETMASK_GNB_F1@" # "22"
# if mac is empty then it will be removed
Mac: "@MAC_GNB_DU_F1@"
# #name inside the pod is hardcoded right now
# name: "f1"
# if gatway is empty then it will be removed
#Gateway: "172.21.7.254"
#routes: [{'dst': '10.8.0.0/24','gw': '172.21.7.254'}, {'dst': '10.9.0.0/24','gw': '172.21.7.254'}]
hostInterface: "bond0" # Interface of the host machine on which this pod will be scheduled
ruInterface: #Only needed if using a ethernet based RU/USRP
create: false
IPadd: "192.168.80.90"
Netmask: "24"
# if gateway is empty then it will be removed
Gateway: "@GW_GNB_DU_F1@" # "172.21.7.254"
routes: @ROUTES_GNB_F1@ # [{'dst': '10.8.0.0/24','gw': '172.21.7.254'}, {'dst': '10.9.0.0/24','gw': '172.21.7.254'}]
hostInterface: "@IF_NAME_GNB_DU_F1@" # Interface of the host machine on which this pod will be scheduled
ru1Interface:
create: @MULTUS_GNB_RU1@
IPadd: "@IP_GNB_RU1@"
# #name inside the pod is hardcoded right now
# name: "ru"
# if gatway is commented then it will be remove
#Gateway: "192.168.80.1" #In case you don't have a gateway remove it from here
## The value must be [0, master's MTU]. If commented it will masters MTU
#mtu: 9000
hostInterface: "bond0" # Interface of the host machine on which this pod will be scheduled
# name: "ru1"
Netmask: "@NETMASK_GNB_RU1@"
# if mac is empty then it will be removed
Mac: "@MAC_GNB_RU1@"
# if gateway is commented then it will be removed
Gateway: "@GW_GNB_RU1@" #In case you don't have a gateway remove it from here
mtu: @MTU_GNB_RU1@
hostInterface: "@IF_NAME_GNB_RU1@"
# ru2 can be useful for USRP N3XX when the 2 SFP NICs use 2 different PHY links to the server that hosts oai-gnb
ru2Interface:
create: @MULTUS_GNB_RU2@
IPadd: "@IP_GNB_RU2@"
# #name inside the pod is hardcoded right now
# name: "ru2"
Netmask: "@NETMASK_GNB_RU2@"
# if mac is empty then it will be removed
Mac: "@MAC_GNB_RU2@"
# if gateway is commented then it will be removed
Gateway: "@GW_GNB_RU2@" #In case you don't have a gateway remove it from here
mtu: @MTU_GNB_RU2@
hostInterface: "@IF_NAME_GNB_RU2@"
## If you want to change more configuration parameters then you should mount the config file
# in templates/configmap.yaml
# Example config files --> https://gitlab.eurecom.fr/oai/openairinterface5g/-/tree/develop/targets/PROJECTS/GENERIC-NR-5GC/CONF
config:
mountConfig: false #If config file is mounted then please edit mount.conf in templates/configmap.yaml properly
mountConfig: @GNB_DU_MOUNTCONFIG@ #If config file is mounted then please edit mount.conf in templates/configmap.yaml properly
timeZone: "Europe/Paris"
useAdditionalOptions: "--sa --rfsim --log_config.global_log_options level,nocolor,time"
duName: "oai-du-rfsim"
mcc: "001" # check the information with AMF, SMF, UPF
mnc: "01" # check the information with AMF, SMF, UPF
tac: "1" # check the information with AMF
sst: "1" #currently only 4 standard values are allowed 1,2,3,4
usrp: rfsim #allowed values rfsim, b2xx, n3xx or x3xx
f1IfName: "eth0" #if multus.f1Interface.create is true then use f1
cuHost: "oai-cu" ## Ip-address or hostname
f1cuPort: "2153" #2153 if using same interface for f1 and n3 else standard port 2152 should be use if f1 and n3 interface are different
f1duPort: "2153" #2153 if using same interface for f1 and n3 else standard port 2152 should be use if f1 and n3 interface are different
useAdditionalOptions: "@ADD_OPTIONS_GNB@"
duName: "NAME_GNB_DU"
mcc: "@MCC@" # check the information with AMF, SMF, UPF
mnc: "@MNC@" # check the information with AMF, SMF, UPF
tac: "@TAC@" # check the information with AMF
#sst: "1" #currently only 4 standard values are allowed 1,2,3,4 # set via sed configmap
usrp: "@RRU_TYPE@" #allowed values rfsim, b2xx, n3xx or x3xx
f1IfName: "@GNB_DU_F1IFNAME@" # "eth0" #if multus.f1Interface.create is true then use f1
cuHost: "@GNB_CU_HOST@" # "oai-cu" ## Ip-address or hostname
f1cuPort: "@GNB_F1_CU_PORT@"# "2153" #2153 if using same interface for f1 and n3 else standard port 2152 should be use if f1 and n3 interface are different
f1duPort: "@GNB_F1_DU_PORT@"# "2153" #2153 if using same interface for f1 and n3 else standard port 2152 should be use if f1 and n3 interface are different
## Debugging section
podSecurityContext:
......@@ -76,9 +93,9 @@ podSecurityContext:
start:
gnbdu: true #If false the network function container will run in sleep mode for manually testing
tcpdump: false
tcpdump: @START_TCPDUMP@
includeTcpDumpContainer: false #If true it will add a tcpdump container inside network function pod for debugging
includeTcpDumpContainer: @TCPDUMP_CONTAINER@ #If true it will add a tcpdump container inside network function pod for debugging
## For openshift you can use rhel8/support-tools:8.7-13
tcpdumpimage:
......@@ -87,12 +104,17 @@ tcpdumpimage:
#pullPolicy: IfNotPresent or Never or Always
pullPolicy: IfNotPresent
persistent:
sharedvolume: @SHAREDVOLUME@
volumeName: oai5g-volume
size: 1Gi
## NF is the network function and tcpdump is the tcpdump container.
## To know more about request and limit it is better to understand that how Kubernetes QoS works.
## https://kubernetes.io/docs/concepts/configuration/manage-resources-containers
## https://kubernetes.io/docs/concepts/workloads/pods/pod-qos
resources:
define: false
define: @QOS_GNB_DEF@
limits:
nf:
cpu: 2000m
......
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