- Cloud Native Core Network Function Data Collector User's Guide
- Preparing CNC NF Data Collector Modules
- Downloading and Preparing CNC NF Data Collector
Downloading and Preparing CNC NF Data Collector
- Download the following files from OSDC:
- CNC NF Data Collector package file:
<name>-pkg-<marketing-release-number>.tgz
Example:ocnfDataCollector-pkg-1.1.0.0.0.tgz
- ReadMe file:
<name>-pkg-<marketing-release-number>-README.txt
Example:ocnfDataCollector-pkg-1.1.0.0.0-README.txt
- CNC NF Data Collector package file:
- Execute the following command to untar the CNC NF Data Collector package:
tar -xvf <<name>-pkg-<marketing-release-number>>.tgz
The system creates the<<nfname>-pkg-<marketing-release-number>>
directory, which contains the following items:ocnfDataCollector-pkg-1.1.0.0.0.tgz |_ _ _ _ _ _ ocnf-data-exporter-1.1.0.tgz (Helm Charts) |_ _ _ _ _ _ ocnf-data-loader-1.1.0.tgz (Helm Charts) |_ _ _ _ _ _ ocnfDataCollector-image-1.1.0.tar (Docker Images) |_ _ _ _ _ _ exporter-custom-values.yaml |_ _ _ _ _ _ loader-custom-values.yaml
- Verify the checksum of packages from the
<name>-pkg-<marketing-release-number>-README.txt
file.cksum ocnfDataCollector-pkg-1.1.0.0.0-README.txt
2932245484 2256 ocnfDataCollector-pkg-1.1.0.0.0-README.txt
- Execute the following command to load the images to the local registry:
docker load --input ocnfDataCollector-image-1.1.0.tar
- Execute the
docker images
command to check whether all the images are loaded. - Execute the following commands to push the docker images to docker
registry:
docker tag <image-name>:<image-tag> <docker-repo>/<image-name>:<image-tag>
docker push <docker-repo>/<image-name>:<image-tag>
docker tag cnc-nfdata-collector:1.1.0 kingbastion-2:5000/cnc-nfdata-collector:1.1.0
- Execute the following commands to untar the helm files:
tar -xvzf <file name>
: To untar theocnf-data-exporter-1.1.0.tgz
file if you want to collect the data on the required system.Where,
<file name>
indicates the file name, for example,tar -xvzf ocnf-data-exporter-1.1.0.tgz
.The system creates a directory with the name
ocnf-data-exporter
. This directory contains the following files:Chart.yaml
,nf-tools
,templates
, andvalues.yaml
.tar -xvzf <file name>
: To untar theocnf-data-loader-1.1.0.tgz
file if you want to import the data into the required system.Where,
<file name>
indicates the file name, for example,tar -xvzf ocnf-data-loader-1.1.0.tgz
.The system creates a directory with the name
ocnf-data-loader
. This directory contains the following files:Chart.yaml
,templates
, andvalues.yaml
.