Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

This article helps you to deploy the nonrtric components using docker compose.

Prerequisite

  • Docker
  • Docker Compose

Installation

Clone nonrtric and go to nonrtric/docker-compose/



You can see 2 folder, sdnc & nosdnc. You have the option to install the nonrtric with/without A1 controller based on your requirement.

Nonrtric without A1 Controller

nosdnc/docker-compose.yml
This file is to create nonrtric system without sdnc a1-controller

nosdnc
docker-compose up -d


You can see the docker containers with docker ps,

you should be able to see containers running as above.

Nonrtric with A1 Controller

sdnc/docker-compose.yml
This file is to create nonrtric system with sdnc a1-controller


sdnc
docker-compose -f docker-compose.yml -f sdnc/docker-compose.yml -f control-panel/docker-compose.yaml up -d

You can see the docker containers with docker ps,


you should be able to see container running as above.

Init Script

You can create sample policy types/policy instances of both Standard & OSC Version.

Run the fill_data.sh script under directory /data to create some dummy data in the running system.

Command to load the data,

load data
cd /nonrtric/docker-compose/data

./preparePmsData.sh.sh [policy-agent-port] [a1-sim-OSC-port] [a1-sim-STD-port] [http/https]

This will create,

  • one policy type in a1-sim-OSC
  • one service in policy agent
  • one policy in a1-sim-OSC
  • one policy in a1-sim-STD

Open the GUI to view all the policies & policy types created by the above script.

http://localhost:[control-panel-port]/


  • No labels