acl-policy

Configures, modifies, or retrieves ACL configuration.

Resource URIs

URI Description
/restconf/data/brocade-acl-policy:acl-policy Configures ACL policy.
GET URIs Description
/config/restconf/data/brocade-acl-policy:acl-policy Configures ACL policy.
/restconf/data/brocade-acl-policy:acl-policy/global-acl-policy-conf-cmds/allow-conflicting-rules Allows conflicting rules in a ACL table.
/restconf/data/brocade-acl-policy:acl-policy/global-acl-policy-conf-cmds/allow-duplicate-rules Allows duplicate rules in a ACL table.
PUT URIs Payload Description
/restconf/data/brocade-acl-policy:acl-policy/global-acl-policy-conf-cmds/allow-conflicting-rules <allow-conflicting-rules>true</allow-conflicting-rules> Allows conflicting rules in a ACL table.
/restconf/data/brocade-acl-policy:acl-policy/global-acl-policy-conf-cmds/acl-policy/allow-duplicate-rules <allow-duplicate-rules>true<allow-duplicate-rules> Allows duplicate rules in a ACL table.
DELETE URIs
/config/restconf/data/brocade-acl-policy:acl-policy
/restconf/data/brocade-acl-policy:acl-policy/global-acl-policy-conf-cmds/allow-conflicting-rules
/restconf/data/brocade-acl-policy:acl-policy/global-acl-policy-conf-cmds/allow-duplicate-rules

Parameters

allow-conflicting-rules
Allows conflicting rules in a ACL table.
allow-duplicate-rules
Allows duplicate rules in a ACL table.

Usage Guidelines

GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option to display whether duplicate rules are allowed.

http://host:443/restconf/data/brocade-acl-policy:acl-policy/allow-conflicting-rules

None

<acl-policy xmlns="urn:brocade.com:mgmt:brocade-acl-policy">
				<global-acl-policy-conf-cmds>
					<allow-conflicting-rules/>
				</global-acl-policy-conf-cmds>
			</acl-policy>

URI

The following is an example PATCH operation to allow duplicate rules in a ACL table.

http://host:443/restconf/data/brocade-acl-policy:acl-policy/allow-conflicting-rules

<allow-conflicting-rules /> 

None

URI

The following is an example of the DELETE operation to remove the ACL policy.

http://host:443/restconf/data/brocade-acl-policy:acl-policy

None

None