Add acl on a device, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 412: Interface uri access method, Message body, Elements

Advertising
background image

Add ACL on a Device

Add an ACL on a device.

Interface URI

/acl/res/acl

Access Method

HTTP

POST

Message body

POST http://imc_host:8080/imcrs/acl/res/acl
accept: application/xml
...

<acl>
<parentId>68</parentId>
<aclName>2222</aclName>
<aclNameType>1</aclNameType>
<aclType>2</aclType>
<aclDesc>acl_2222</aclDesc>
<aclRuleList>
<aclRule>
<trName/>
<action>1</action>
<sourceAddr>192.168.10.0/255.255.10.10</sourceAddr>
<fragment>1</fragment>
<logging>1</logging>
<vpnIntance/>
...
</aclRule>
</aclRuleList>
</acl>

Elements

ACL sub-elements

ID of the parent device or task.

parentId

Long integer type.

Parent type, which can be device or task.

parentType

Long integer type.

ACL name.

aclName

String type.

ACL name type.

aclNameType

Long integer type.

ACL type.

aclType

Long integer type.

ACL match order.

aclMatchorder

Integer type.

ACL description.

aclDesc

412

ACL Management

Advertising