Skip to content
Snippets Groups Projects
  • Sagar Arora's avatar
    c3601664
    Major Update of Helm-Charts: · c3601664
    Sagar Arora authored and Raphael Defosseux's avatar Raphael Defosseux committed
    Updating the helm-charts and adding new charts for CU-CP and CU-UP.
    
    * Added readme for individual charts.
    * New charts for CU-CP and CU-UP
    * Made defaultGateway of multus optional
    * Solved the bugs for resource assignment and tcpdump capture
    c3601664
    History
    Major Update of Helm-Charts:
    Sagar Arora authored and Raphael Defosseux's avatar Raphael Defosseux committed
    Updating the helm-charts and adding new charts for CU-CP and CU-UP.
    
    * Added readme for individual charts.
    * New charts for CU-CP and CU-UP
    * Made defaultGateway of multus optional
    * Solved the bugs for resource assignment and tcpdump capture
values.yaml 8.10 KiB
mysql:
  enabled: true
  weight: 0
  imagePullPolicy: IfNotPresent
  oai5gdatabase: mini
  imagePullSecrets:
    - name: regcred
  persistence:
    enabled: false
oai-nrf:
  enabled: true
  weight: 0
  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
    version: v1.5.1                                    ## The branch to be used to pull from dockerhub
    # pullPolicy: IfNotPresent or Never or Always
    pullPolicy: IfNotPresent
  includeTcpDumpContainer: false #only for taking pcaps inside network function pod
  imagePullSecrets:
    - name: "regcred"
  config:
    logLevel: "debug"   #allowed info/error/debug
  nodeSelector: {}
oai-amf:
  enabled: true
  weight: 2
  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
    version: v1.5.1                                    ## The branch to be used to pull from dockerhub
    # pullPolicy: IfNotPresent or Never or Always
    pullPolicy: IfNotPresent
  includeTcpDumpContainer: false #only for taking pcaps inside network function pod
  imagePullSecrets:
    - name: "regcred"
  nodeSelector: {}
  multus:
    ## If you don't want to add a default route in your pod then leave this field empty
    defaultGateway: "172.21.7.254"
    n2Interface:
      create: false
      Ipadd: "172.21.6.94"
      Netmask: "22"
      ## If you do not have a gateway leave the field empty
      Gateway:
      ## If you do not want to add any routes in your pod then leave this field empty
      routes: [{'dst': '10.8.0.0/24','gw': '172.21.7.254'}]
      hostInterface: "bond0" # Interface of the host machine on which this pod will be scheduled
  config:
    amfInterfaceNameForNGAP: "eth0" # If oai-amf.multus.n2Interface.create is true then n2 else eth0
    amfInterfaceNameForSBI: "eth0"  # Service based interface
    externalAusf: "no"
    logLevel: "debug"   #allowed info/error/debug
    sst0: "1"         ## 1 slice/SST is mandatory
    sd0: "0xFFFFFF"   ## Optional 0xFFFFFF means no SD as per 3GPP
    ## Can add upto 3 more slices. More than that you can do it in the configmap of amf templates/configmap.yaml
    # Note only SST is mandatory for a slice SD is optional
    sst1: "1"
    sd1: "1"
    mcc: "001"
    mnc: "01"
    tac: "0x0001"
    nfRegistration: "yes"
    smfSelection: "yes"
    useHttp2: "no"
    intAlgoList: '[ "NIA1" , "NIA1" , "NIA2" ]'
    ciphAlgoList: '[ "NEA0" , "NEA1" , "NEA2" ]'
    mySqlServer: "mysql"
    mySqlUser: "root"
    mySqlPass: "linux"
    mySqlDb: "oai_db"
oai-spgwu-tiny:
  enabled: true
  weight: 3
  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-spgwu-tiny    ## The image will be pulled from dockerhub
    version: v1.5.1                                    ## The branch to be used to pull from dockerhub
    # pullPolicy: IfNotPresent or Never or Always
    pullPolicy: IfNotPresent
  includeTcpDumpContainer: false #only for taking pcaps inside network function pod
  imagePullSecrets:
    - name: "regcred"
  nodeSelector: {}
  # 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
  ## Change these ip-addresses according to your environment
  ## N4, N6 are optional only if you want that UPF uses different subnets for different 3gpp interfaces. 
  multus:
    defaultGateway: "172.21.7.254"
    n3Interface:
      create: false
      Ipadd: "172.21.6.95"
      Netmask: "22"
      ## If you do not have a gateway leave the field empty
      Gateway: "172.21.7.254"
      ## If you do not want to add any routes in your pod then leave this field empty
      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"
    n4Interface:
      create: false
      Ipadd: "172.21.16.89"
      Netmask: "22"
      ## If you do not have a gateway leave the field empty
      Gateway: "172.21.19.254"
      ## If you do not want to add any routes in your pod then leave this field empty
      routes: 
      hostInterface: "bond1"
    n6Interface:
      create: false
      Ipadd: "172.21.8.80"
      Netmask: "22"
      ## If you do not have a gateway leave the field empty
      Gateway: "172.21.11.254"
      ## If you do not want to add any routes in your pod then leave this field empty
      routes: 
      hostInterface: "bond2"
  #NOTE: If the interface you selected for n6If is wrong then traffic will not be routed towards internet
  config:
    n3If: "eth0"  # n3 if multus.n3Interface.create is true
    n4If: "eth0" # n4 if multus.n4Interface.create is true
    n6If: "eth0"  # n6 multus.n6Interface.create is true
    threadsN3Ul: "1"
    threadsN6Dl: "1"
    threadsN6Prio: 99
    threadsN3Prio: 98
    threadsN4Prio: 88
    netUeIp: "12.1.1.0/24"  # The range in which UE ip-address will be allocated should be configured the same in SMF
    logLevel: "info"   #allowed info/error/debug
    registerNRF: "yes"
    nrfFqdn: "oai-nrf-svc" # make sure this can be resolved by container dns
    #Mandatory to configure atlease one slice
    nssaiSst0: 1 # should match with SMF information
    nssaiSd0: "0xFFFFFF"  # should match with SMF information (Optional, if removed sd value will be 0xFFFFFF)
    dnn0: "oai" # should match with SMF information
    #Upto 4 slices can be added from here to add more you need to add manullay in config.yaml. Please follow the same way of adding slices nssaiSST$,nssaiSd$,dnn$ ($=0,1,2,3)
    nssaiSst1: 1 # should match with SMF information (Optional, if removed slice will not be configured)
    nssaiSd1: "0xFFFFFF"  # should match with SMF information (Optional, if removed sd value will be 0xFFFFFF only if nssaiSst1 is configured)
    dnn1: "ims" # should match with SMF information
oai-smf:
  enabled: true
  weight: 4
  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
    version: v1.5.1                                    ## The branch to be used to pull from dockerhub
    # pullPolicy: IfNotPresent or Never or Always
    pullPolicy: IfNotPresent
  multus:
    create: false
    n4IPadd: "172.21.6.98"
    n4Netmask: "22"
    ## If you don't want to add a gateway in your pod then leave this field empty
    gateway: 172.21.7.254
    ## If you don't want to add a default route in your pod then leave this field empty
    defaultGateway: "172.21.7.254"
    hostInterface: "bond0"      # Interface of the host machine on which this pod will be scheduled
  includeTcpDumpContainer: false #only for taking pcaps inside network function pod
  imagePullSecrets:
    - name: "regcred"
  nodeSelector: {}
  config:
    ueMtu: 1500
    dnsIpv4Address: "172.21.3.100" # configure the dns for UE don't use Kubernetes DNS
    dnsSecIpv4Address: "172.21.3.100" # configure the dns for UE don't use Kubernetes DNS
    defaultCSCFIpv4Address: "172.21.6.13" # For IMS server if needed
    discoverUpf: "yes"              # if NRF is used then it can be used for UPF discovery
    logLevel: "debug"   #allowed info/error/debug
    # You can define maximum 4 slices from here in case of more please change the configuration file.
    dnnNi0: "oai"
    pdusessiontype0: "IPv4"
    ipv4dnnRange0: "12.1.1.2 - 12.1.1.254"
    nssaiSst0: 1
    nssaiSd0: "0xFFFFFF"
    qosProfile5qi0: 2
    sessionAmbrUl0: "1000Mbps"
    sessionAmbrDl0: "1000Mbps"
    # Extra optional slice
    dnnNi1: "ims"
    pdusessiontype1: "IPv4v6"
    ipv4dnnRange1: "12.2.1.2 - 12.2.1.254"
    nssaiSst1: 1
    nssaiSd1: "0xFFFFFF"
    qosProfile5qi1: 1
    sessionAmbrUl1: "1000Mbps"
    sessionAmbrDl1: "1000Mbps"