...
e.g. myhost:1234//policy-executor/api/v1/payload/CM_Write/decision/Allow
Input Parameters
Could be in URL, See alt. b above
Name | Parent | Type | Example Value | Optional/Compulsory | Notes | ||
---|---|---|---|---|---|---|---|
1 | action | url path | String | execute | Required | The policy action. Currently supported value: | |
2 | Authorization | request (authorization header) | String | Bearer edaa8e7ce30f8904 | Required | required for tracking/ (future) authentication and to identify the source (rApp) of the request | |
23 | payloadTyperequestType | body | String | CMcm_ Writecreate | Required | Could be in URL, See alt. b above 'CM_Write' currently, the only support value | currently supported values: cm_create, cm_delete, cm_update, cm_patch |
43 |
| body | String | Allowpermit | Required | Could be in URL, See alt. b above 'Allow' currently , the only supported value: permit | |
45 |
| body | Object Array | Required | No needed if payload and decision are in URL | ||
56 |
| payload | String | F811AF64F5146DFC545EC60B73DE948E | Optional | Can be sent while cmHandle is used instead of alternateId NCMP will populate when available | |
67 |
| payload | String | ManagedElement=Kista/GNBDUFunction=1/UECC=1 | Optional | Remainder of FDN NCMP will populate when available | |
78 | targetFdn | payload | String | /Subnetwork=22/MeContext=Kista/ManagedElement=Kista/GNBDUFunction=1/UECC=1 | Required | Complete FDN representing the cm handle and the resource identifier ie point to the target of the change to 'CM-Handle' ?! | |
89 |
| payload | Object | {"Cell":[{"id":"Cell-id","attributes":{"administrativeState":"UNLOCKED"}}]} | Required | CM Change Request |
...
Name | Parent | Type | Example | Optional/Compulsory | Notes | |
---|---|---|---|---|---|---|
1 | decisionId | body | String | 550e8400-e29b-41d4-a716-446655440000 | Required | UUID |
2 | decision | body | String | Denydeny | Required | currently only 'Allow' and 'Deny' are supported (case sensitive ?!)supported values: permit, deny |
3 | message | body | String | to many updates | Optional |
How to use the Interface in NCMP
...