Versions Compared

Key

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

...

  • Copy the file oran/a1-policy-management/config/application_configuration.json  to the current directory and update it with the configuration below.

  • The controller hostname and port values come from and must match those defined in in the sdnc/oam repo oam/installation/src/main/yaml/docker-compose.yml (see the step "Build A1 Controller" further below). The port for http is 8181.

  • Any defined ric host names (in the name and baseUrl for each ric) must match the given docker container names in Near-RT RIC A1 simulator startup - port is always the simulator's internal port 8085 for http or 8185 for https (see the step "Build A1 Controller" further below).

  • It is optional to access the Near-RT RIC through a controller. The "controller" property is optional in the "ric" objects. If no controller is used, the whole "controller" object can be omitted.
    There is no functional gain in accessing the Near-RT RIC through a controller.


Code Block
languageyml
titleapplication_configuration.json
{
  "config": {
    "//description": "Application configuration",
    "controller": [
      {
        "name": "controller1",
        "baseUrl": "http://sdnc_controller:8181",
        "userName": "admin",
        "password": "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U"
      }
    ],
    "ric": [
      {
        "name": "ric1",
        "baseUrl": "http://ric1:8085/",
        "controller": "controller1",
        "managedElementIds": [
          "kista_1",
          "kista_2"
        ]
      },
      {
        "name": "ric2",
        "baseUrl": "http://ric2:8085/",
        "controller": "controller1":8181",
        "managedElementIdsuserName": ["admin",
         "password": "kista_3Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U",
          "kista_4"}
        ],
      },"ric": [
      {
        "name": "ric3ric1",
        "baseUrl": "http://ric3ric1:8085/",
        "controller": "controller1",
        "managedElementIds": [
          "kista_1",
          "kista_2"
        ]
      },
      {
        "name": "ric4ric2",
        "baseUrl": "http://ric4ric2:8085/",
        "controller": "controller1",
        "managedElementIds": [
          "kista_13",
          "kista_24"
        ]
      }
    ]
  }
}

Build the code and create docker image

...