Versions Compared

Key

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

...

This file is for running without the SDNC A1-Controller
application_configuration.json

...


Code Block
titleapplication_configuration.json
{
  "config":

...

 {
    "ric":

...

 [
      {
        "name":

...

 "ric1",

...


        "baseUrl":

...

 "http://ric1:8085/",

...


        "managedElementIds":

...

 [
          "kista_1",

...


          "kista_2"

...


        ]
      },
      {
        "name":

...

 "ric2",

...


        "baseUrl":

...

 "http://ric2:8085/",

...


        "managedElementIds":

...

 [
          "kista_3",

...


          "kista_4"

...


        ]
      },
      {
        "name":

...

 "ric3",

...


        "baseUrl":

...

 "http://ric3:8085/",

...


        "managedElementIds":

...

 [
          "kista_5",

...


          "kista_6"

...


        ]
      }
    ]
  }
}




This file is for running with the SDNC A1-Controller. 
application_configuration.json

...

Start the container with the following command. Replace "<absolute-path-to-file>" with the the path to the created configuration file in the command. The configuration file is mounted to the container. There will be WARN messages appearing in the log until the simulators are started.

docker run --rm   -v  <absolute-path-to-file>/application_configuration.json:/opt/app/policy-agent/data/application_configuration.json -p 8081:8081 -p 8433:8433 --network=nonrtric-docker-net --name=policy-agent-container nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-plt-a1policymanagementservice:2.4.1

...