3 Downloading Installation Package

This chapter describes how to download Oracle Communications Network Data Analytics Function (OCNWDAF) package.

3.1 Installation Package Download

This section provides information about how to download OCNWDAF package.

To download the OCNWDAF package from My Oracle Support:
  1. Log in to My Oracle Support using the appropriate credentials.
  2. Click Patches & Updates to locate the patch.
  3. In the Patch Search console, select the Product or Family (Advanced) option.
  4. Enter Oracle Communications Cloud Native Core - 5G in the Product field. Select the product from the Product drop-down
  5. From the Release drop-down, select "Oracle Communications Network Data Analytics Function <release_number>" Where, <release_number> indicates the required release number of NWDAF.
  6. Click Search.

    The Patch Advanced Search Results displays a list of releases.

  7. Select the required patch from the list. The Patch Details window appears.
  8. Click Download. The File Download window appears.
  9. Click the <p********_<release_number>_Tekelec>.zip file.
  10. Extract the release package zip file.

    Package is named as follows:

    nwdaf-pkg-<marketing-release-number>.zip

    For example: nwdaf-pkg-23.1.0.0.zip

The OCNWDAF deployment package includes ready-to-use docker images and Helm charts to help orchestrate containers in Kubernetes. The communication between Pods of services of OCNWDAF are preconfigured in the Helm charts.

Untar the Package ZIP File

Run the following command to untar the OCNWDAF package zip file to get the docker image tar file:

tar -xvf nwdaf-pkg-<marketing-release-number>.tgz

or

unzip  nwdaf-pkg-<marketing-release-number>.zip
The nwdaf-pkg.tgz directory consists of following files:
# Root
- images
- installer/
    - cap4c-installer
        - etc
        - scripts
        - sql
    - nrf-client-installer
        - etc
        - scripts
        - sql
    - nwdaf-cap4c-installer
        - etc
        - scripts
        - sql
    - nwdaf-installer
       - etc
       - scripts
       - sql
    - nwdaf-ats
      - ocn-ats-nwdaf-tool
        - ocn-ats-nwdaf-chart
      - ocnwdaf_tests
        - data
        - features
        - steps

3.2 Pushing the Images to Customer Docker Registry

The OCNWDAF deployment package includes ready-to-use docker images (inside the images tar file) and Helm charts to help orchestrate containers in Kubernetes. The communication between service pods of OCNWDAF are preconfigured in the Helm charts.

Table 3-1 Docker Images for OCNWDAF

Service Name Docker Image Name Image Tag
NWDAF Analytics Info Service ocn-nwdaf-analytics 23.1.0.0.0
NWDAF Communication Service (Egress Gateway) ocn-nwdaf-communication 23.1.0.0.0
NWDAF Configuration Service ocn-nwdaf-configuration-service 23.1.0.0.0
NWDAF Data Collection Service ocn-nwdaf-data-collection-service 23.1.0.0.0
NWDAF Gateway Service (Ingress Gateway) ocn-nwdaf-gateway-service 23.1.0.0.0
NWDAF MTLF Service ocn-nwdaf-mtlf-service 23.1.0.0.0
NWDAF Subscription Service ocn-nwdaf-subscription-service 23.1.0.0.0
AMF NF Simulator Service ocn-amf-simulator-service 23.1.0.0.0
SMF NF Simulator Service ocn-smf-simulator-service 23.1.0.0.0
NRF NF Simulator Service ocn-nrf-simulator-service 23.1.0.0.0
Mesa Simulator Service (Data Generator) mesa-simulator 2.22.4.0.0
cap4c ML model controller cap4c-model-controller 23.1.0.0.0
cap4c ML model executor cap4c-model-executor 23.1.0.0.0
cap4c stream analytics cap4c-stream-analytics 23.1.0.0.0
kafka to mysql serializer cap4c-kafka-ingestor 23.1.0.0.0
Reporting service nwdaf-cap4c-reporting-service 23.1.0.0.0
kafka nwdaf-cap4c-kafka 3.3.1
nwdaf-cap4c-scheduler nwdaf-cap4c-scheduler-service 23.1.0.0.0
nwdaf-cap4c-spring-cloud-config-server nwdaf-cap4c-spring-cloud-config-server 2.22.4.0.0
nwdaf-portal nwdaf-portal 23.1.0.0.0
nwdaf-portal-service nwdaf-portal-service 23.1.0.0.0
redis nwdaf-cap4c-redis 7.0.4
zookeeper nwdaf-cap4c-zookeper 3.8.0
nwdaf-cap4c-initial-setup-script nwdaf-cap4c-initial-setup-script 2.22.4.0.0
ocn-ats-nwdaf-service ocats-nwdaf-subs 23.1.0.0.0
ocn-ats-nwdaf-notify-service ocats-nwdaf-notify-api 23.1.0.0.0
Helm Test nf-test 22.2.0
geo redundancy agent ocn-nwdaf-geo-redundacy-agent 23.1.0.0.0

To push the images to customer docker registry, perform the following steps:

  1. Verify the package content, checksums of tarballs in the Readme.txt file.
  2. Load the nwdaf-images.tar file into the docker system. Run the following command:

    Note:

    The nwdaf-images.tar file becomes available, once you have untarred the OCNWDAF package zip file. For more information, see Installation Package Download.
    docker load --input <image_file_name.tar>
    Example:
    docker load --input images
  3. Push the Docker images to the docker repository, run the following command:
    docker tag <image-name>:<image-tag> <docker-repo>/<image-name>:<image-tag>
    docker push <docker_repo>/<image_name>:<image-tag>

    Note:

    It is recommended to configure the docker certificate before running the push command to access customer registry via HTTPs, otherwise, docker push command may fail.
  4. Verify if the image is loaded correctly by running the following command. Run the following command:
    docker images
  5. Push the Helm charts to the Helm repository. Run the following command:
    Helm cm-push --force <chart name>.tgz <Helm repo>