(continued)
Let's continue with the 3rd topic:
(3) HOW-TO: manage Policy using Policy-Agent(aka, the policymanagementservice)
refer to: https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric/en/latest/policy-agent-api.html
Below is a list of A1-Policy-Agent RESTful APIs:
Catagory | RESTful API | Paramters | Body |
Service API | PUT /service | (Required) A JSON object (ServiceRegistrationInfo): { "callbackUrl": "string", (An empty string means the service will never get any callbacks.) "keepAliveIntervalSeconds": 0, (0 means the service will always be considered alive.) "serviceName": "string" (Required, must be unique.) } |
|
GET /services?name=<service-name> | name: (Optional) The name of the service. |
||
DELETE /services?name=<service-name> | name: (Required) The name of the service. |
||
PUT /services/keepalive?name=<service-name> | name: (Required) The name of the service. |
||
Policy API | GET /policy_types?ric=<name-of-ric> | ric: (Optional) The name of the NearRT RIC to get types for. |
|
GET /policy_s |