...
All components of the Non-RT RIC run inside docker containers and communicate via a docker network with container port available on localhost. Details of the architecture can be found from Release D page.
Table of Contents |
---|
Project Requirements
Docker and docker-compose (latest)
Images
The images used for running the Non-RT RIC can be selected from the table below depending on if the images are built manually (snapshot image) or if staging or release images shall be used.
...
Component | Release image and version tag | Staging images and version tag | Manual snapshot (only available if manually built) and version tag |
---|---|---|---|
Policy Management Service | nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-policy-agent:2.2.1 | nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent:2.2.1 | o-ran-sc/nonrtric-policy-agent:2.2.1-SNAPSHOT |
Near-RT RIC A1 Simulator | nexus3.o-ran-sc.org:10002/o-ran-sc/a1-simulator:2.1.0 | nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:2.1.0 | o-ran-sc/a1-simulator:latest |
Enrichment Coordinator Service | nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-enrichment-coordinator-service:1.1.0 | nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-enrichment-coordinator-service:1.1.0 | o-ran-sc/nonrtric-enrichment-coordinator-service:1.1.0-SNAPSHOT |
Non-RT RIC Control Panel | nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-controlpanel:2.2.0 | nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-controlpanel:2.2.0 | o-ran-sc/nonrtric-controlpanel:2.2.0-SNAPSHOT |
SDNC A1-Controller | nexus3.onap.org:10002/onap/sdnc-image:2.1.2 | Use release version | Use release version |
Gateway | nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-gateway:1.0.0 | nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-gateway:1.0.0 | o-ran-sc/nonrtric-gateway:1.0.0-SNAPSHOT |
App Catalogue Service | nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-r-app-catalogue:1.0.1 | nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-r-app-catalogue:1.0.1 | o-ran-sc/nonrtric-r-app-catalogue:1.0.1-SNAPSHOT |
Ports
The following ports will be allocated and exposed to localhost for each component. If other port(s) are desired, then the ports need to be replaced in the container run commands in the instructions further below.
...
Component | Port exposed to localhost (http/https) |
---|---|
Policy Management Service | 8081/8443 |
Near-RT RIC A1 Simulator | 8085/8185, 8086/8186, 8087/8187 |
Enrichment Coordinator Service | 8083/8434 |
Non-RT RIC Control Panel | 8080/8880 |
SDNC A1-Controller | 8282/8443 |
Gateway | 9090 |
App Catalogue Service | 8680/8633 |
Prerequisites
The containers need to be connected to docker network in order to communicate with each other.
...
Code Block | ||||
---|---|---|---|---|
| ||||
docker network create nonrtric-docker-net |
Run the Policy Management Service Docker Container
To support local test with three separate Near-RT RIC A1 simulator instances, each running a one of the three available A1 Policy interface versions:
...
For troubleshooting/verification purposes you can view/access the full swagger API from url: http://localhost:8081/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config
Run the A1 Controller Docker Container (ONAP SDNC)
This step is only applicable if the configuration for the Policy Management Service include the SDNC A1 Controller (second config option), see Draft - Release D E - Run.
Create the docker compose file
...
Code Block | ||||
---|---|---|---|---|
| ||||
docker exec a1controller sh -c "tail -f /opt/opendaylight/data/log/karaf.log" |
Run the Near-RT RIC A1 Simulator Docker Containers
Start a simulator for each ric defined in in the application_configuration.json created in Draft - Release D E - Run. Each simulator will use one of the currently available A1 interface versions.
...
Code Block | ||||
---|---|---|---|---|
| ||||
{"policytype_ids":["","123","std_pt1"]} |
Run the Enrichment Service Docker Container
Run the following command to start the enrichment coordinator service.
...
For troubleshooting/verification purposes you can view/access the full swagger API from url: http://localhost:8083/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config
Run the Non-RT RIC Gateway and Control Panel Docker Container
The Gateway exposes the interfaces of the Policy Management Service and the Enrichment Coordinator Service to a single port of the gateway. This single port is then used by the control panel to access both services.
...
The webbased UI can be accessed by pointing the web-browser to this URL:
http://localhost:8080/
Run the App Catalogue Service
Start the App Catalogue Service by the following command.
...
Code Block | ||||
---|---|---|---|---|
| ||||
[ ] |
Run the Helm Manager
See this sub-page: Build/Run Helm Manager
...