Versions Compared

Key

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

This page describes how to demonstrate the entire flow from Non-Rt RIC Controlpanel Controlpanel  -> Policy Agent -> (A1 controller in SDNC) -> Near Realtime Ric Simulator. Optionally A1 controller can be left out.

...

Call from CCSDK A1 Controller to NearRT-RIC simulator

Testing calls with Limited tests to verify just OSC CCSDK A1 Controller calls towards NearRT-RIC simulator can be done by using ODL GUI. Dashborad Dashboard and policy-agent does not need to be running are not needed in this case.

Preparation

See Release A - Build/Run for building and starting the environment. If following those instructions, just skip the following steps:

...

Get policy types

Payload

Code Block
languageyml
titlePOST /restconf/operations/A1-ADAPTER-API:getPolicyTypeIdentities
{
  "A1-ADAPTER-API:input": {
    "near-rt-ric-url": "http://ric1:8085/"
  }
}

...

Code Block
languageyml
titlePOST /restconf/operations/A1-ADAPTER-API:putPolicy
{
  "A1-ADAPTER-API:input": {
    "near-rt-ric-url": "http://ric1:8085/",
	"policy-id": "my-policy-instance1",
    "policy-type-id": "STD_QoSNudging_0.2.0",
	"policy": '{
      "scope": {
      "qosId": "999",
      "ueId": "5001"
      },
      "statement": {
      "priorityLevel": 5
      }
    }'
  }
}

Get policy instances

Payload

Code Block
languageyml
titlePOST /restconf/operations/A1-ADAPTER-API:getPolicyIdentities
{
  "A1-ADAPTER-API:input": {
    "near-rt-ric-url": "http://ric1:8085/"
  }
}

Image Added