Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The A1 A1 Policy Management Service can be executed with a single docker command:

Code Block
docker run -d -p 8081:8081 -p 8344:8433 --name=policy-agent --mount type=bind,source=$(pwd)/application_configuration.json,target=/opt/app/policy-agent/data/application_configuration.json nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent

If not using default network, should also add --network=<network-name> in the command.

If you want to run the container in the background, should also add -d in the command.

If you want to set network alias for PMS, add --network-alias=<alias-name> in the command.

Example:

Code Block
docker run -d -p 8081:8081 -p 8344:8433 --name policy-agent --network=sdnc_default --network-alias policy-agent-container --mount type=bind,source=$(pwd)/application_configuration.json,target=/opt/app/policy-agent/data/application_configuration.json nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent


To execute the Policy Management Service you will need an “application_configuration.json” file to configure the service.
This configuration file is then mounted into the correct place in the docker container using the -v parameter above (-v "application_configuration.json:/opt/app/policy-agent/application_configuration.json")

...