Go to primary content
Oracle® Communications Network Slice Selection Function (NSSF) Cloud Native Installation Guide
Release 1.0
F16982-02
Go To Table Of Contents
Contents

Previous
Previous

A Sample values.yaml file

This section includes a sample of the values.yaml file.

The following sample illustrates the values.yaml file:
# Copyright 2019 (C), Oracle and/or its affiliates. All rights reserved.

# This yaml file could be supplied in helm install command when deploying OCNSSF v1.x.y
#
# e.g. helm install <helm-repo>/ocnssf --name ocnssf --namespace ocnssf -f <this file>
#
# Compatible with OCNSSF CHART VERSION 1.x.y
#
# - Please set the docker registry (repository) in
#     nsselection.image.repository
#     nspolicy.image.repository
#     nsconfig.image.repository
#     nsregistration.image.repository
#
# - To integrate with NDB DB-Tier cluster,
#     set the hostname of the primary sql node in:
#       nspolicy.mysql.primary.host
#       nsconfig.mysql.primary.host
#     AND
#     set the hostname of the secondary sql node in
#       nspolicy.mysql.secondary.host
#       nsconfig.mysql.secondary.host
#     AND 
#     set the username and password in
#       nsconfig.mysql.username
#       nsconfig.mysql.password
#    (note: the username and password can be provided in an alternative way by creating a kubernetes secret 
#            with the following properties:
#              name: ocnssf-creds
#              namespace: same as ocnssf deployment
#              data:
#                mysql-username: <username>
#                mysql-password: <password>
#
# - To connect to the PLMN level NRF to utilize registration services
#     set the fqdn and port of NRF in:
#       nsregistration.nrf.host and nsregistration.nrf.port
#     AND
#     configure the NSSF profile in 
#       nsregistration.configFiles.nssf.profile
#     AND 
#     set the NSSF fqdn in
#       nsregistration.nssf.fqdn
# 
# - To connect to the PLMN level NRF to utilize discovery serrvice for AMF candidates
#     set the fqdn and port of NRF in:
#       nspolicy.nrf.host and nspolicy.nrf.port
#     AND
#     set nspolicy.nsp.nrfdisc to true
# 
# - To turn on logging set the appropriate logging level (one of: OFF, INFO, DEBUG, ERROR, ALL)
#    in one or more of the following:
#       nsselection.nss.loglevel
#       npolicy.nsp.loglevel
#       nsregistration.nsr.loglevel
#       nsconfig.nsc.loglevel


nsselection:
  image:
    repository: reg-1:5000
  nss:
    loglevel: "OFF"

nspolicy:
  image:
    repository: reg-1:5000
  mysql:
    primary:
      host: "ocnssf-nsdb.ocnssf"
    secondary:
      host: "ocnssf-nsdb.ocnssf"  
    port: 3306
  nrf:
    host: http://ocnrf.oracle.com
    port: 80
  nsp:
    loglevel: "OFF"
    nrfdisc: true

nsconfig:
  image:
    repository: reg-1:5000
  mysql:
    primary:
      host: "ocnssf-nsdb.ocnssf"
    secondary:
      host: "ocnssf-nsdb.ocnssf"
    port: 3306
    username: changeme
    password: changeme
  nsc:
    loglevel: "OFF"

nsregistration:
  configFiles:
    nssf.profile: |-
      {
        "plmn": {"mcc": "310", "mnc": "14"},
        "fqdn": "ocnssf-nsgateway.ocnssf.svc.us.lab.oracle.com",
        "interPlmnFqdn": "ocnssf-nsgateway.ocnssf.svc.us.lab.oracle.com",
        "ipv4Addresses": [ "127.0.0.1", "10.0.0.1" ],
        "ipv6Addresses": [ "::1", "::2" ],
        "priority": 5,
        "locality": "us-east",
        "nfServices": [{
                "serviceName": "nssf-nsselection",
                "versions": [{
                        "apiVersionInUri": "v1",
                        "apiFullVersion": "1.R15.2.0",
                        "expiry": "2019-12-31T23:59:59.000+0000"
                }],
                "scheme": "http",
                "allowedNfTypes": [ "AMF" ],
                "fqdn": "ocnssf-nsgateway.ocnssf.svc.us.lab.oracle.com",
                "interPlmnFqdn": "ocnssf-nsgateway.ocnssf.svc.us.lab.oracle.com",
                "ipEndPoints": [{
                        "ipv4Address": "127.0.0.1",
                        "transport": "TCP",
                        "port": 80
                }]
        }]
      }
      
  image:
    repository: reg-1:5000
  nrf:
    host: http://ocnrf.oracle.com
    port: 80
  nssf:
    fqdn: ocnssf-nsgateway.ocnssf.svc.us.lab.oracle.com
  nsr:
    loglevel: "OFF"

nsgateway:
  service:
    annotations :
      metallb.universe.tf/address-pool: signaling
  adminService:
    create: false