Summary
setItemNacmGroup Task
Description
Adds tenancy concept to an item in NSO. Sets an NSO NETCONF Access Control Module (NACM) rule to a tenant (NACM rule-list) that permits all actions on a target resource.
Route
POST /nso_manager/setItemNacmGroup/:adapterId
Roles
admin
Parameters
DetailsExampleSchema
| Name | Type | Required | Description |
|---|---|---|---|
| adapterId | string | yes | The host that the action should be executed against. |
| tenant | string | yes | The NACM group mapped to the tenant |
| ruleId | string | yes | A Unique rule identifier |
| xpath | string | yes | The NSO Configuration DataBase (CDB) XPath representing the target resource. |
Return
DetailsExampleSchema
| Name | Type | Description |
|---|---|---|
| response | object | Informs whether the action was successful or not |