HP Intelligent Management Center Extended API User Guide
Add ACL Application on a Device
Add an ACL application on a device.
Interface URI
/acl/res/aclUse
Access Method
HTTP
POST
Message body
POST http://imc_host:8080/imcrs/acl/res/aclUse
accept: application/xml
...
<aclUse>
<parentId>68</parentId>
<useType>1</useType>
<aclName>2001</aclName>
<useContext>Ethernet1/0/4</useContext>
<useDesc/>
<direct>0</direct>
</aclUse>
Elements
ACL application sub-elements
ACL application ID, which uniquely identifies an ACL application.useId
Long integer type.
ID of the parent device or task.parentId
Long integer type.
Parent type, which can be device or task.parentType
Long integer type.
ACL application type.useType
Long integer type.
ACL name.aclName
Long integer type.
ACL application context.useContext
Long integer type.
ACL application command.useCommand
Long integer type.
ACL application description.useDesc
Long integer type.
Specify the action of adding, deleting, or modifying.useFlag
Long integer type.
424 ACL Management