Versions Compared

Key

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

...

NOTE: Use below Endpoint to use a1policymanagement V3

curl localhost:8081/a1policymanagement/v1/rics

Expected output (not that all simulators - ric1,ric2 and ric3 will indicate "state":"UNAVAILABLE" until the simulators has been started in Run A1 Simulator Docker Containers):

{"rics":[{"ricId":"ric1","managedElementIds":["kista_1","kista_2"],"policyTypeIds":[],"state":"UNAVAILABLE"},{"ricId":"ric3","managedElementIds":["kista_5","kista_6"],"policyTypeIds":[],"state":"UNAVAILABLE"},{"ricId":"ric2","managedElementIds":["kista_3","kista_4"],"policyTypeIds":[],"state":"UNAVAILABLE"}]}

Run the SDNC A1 Controller Docker Container (ONAP SDNC)
Anchor
runsdnc
runsdnc

...

NOTE: Use below Endpoint to use a1policymanagement V3

curl localhost:8081/a1policymanagement/v1/rics

Expected output - all state should indicated AVAILABLE:

{"rics":[{"ricId":"ric1","managedElementIds":["kista_1","kista_2"],"policyTypeIds":[],"state":"AVAILABLE"},{"ricId":"ric3","managedElementIds":["kista_5","kista_6"],"policyTypeIds":[],"state":"AVAILABLE"},{"ricId":"ric2","managedElementIds":["kista_3","kista_4"],"policyTypeIds":[""],"state":"AVAILABLE"}]}


Only the simulators using version STD_2.0.0 and OSC_2.1.0 supports A1 Policy types. Run the commands below to add one A1 Policy type in each  of ric1 and ric3. A1-AP version 1 (STD_1.1.3) does not support A1 Policy types.

...

List the synchronised types using a1policymanagement V3 endpoint:

curl localhost:8081/a1policymanagement/v1/policytypes

Expected output:

[{"policyTypeId": "", "nearRtRicId": "ric2"},{"policyTypeId":"123","nearRtRicId": "ric1"}, {"policyTypeId":"std_pt1","nearRtRicId": "ric3"}]

Run the Information Coordinator Service Docker Container
Anchor
runics
runics

...

docker run --rm -v \
<absolute-path-to-config-file>/type_config.json:/configs/type_config.json \
-p 8090:8090 --network=nonrtric-docker-net --name=capifcore \
nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-plt-capifcore:1.3.1.0

This is a basic start command without helm. See CAPIF (Release H) and the README file in the sme repository for more options.

...