Attaching an IPv4 Access List to an Interface in the Ingress Direction
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/acl/ipv4/policy/ingress.json
{ "aclIngress": { "children": [ { "aclIf": { "attributes": { "name": "eth1/1" }, "children": [ { "aclInst": { "attributes": { "name": "foo" }}}]}}]}}
Response
{ imdata": [] }
Copy
<System> <acl-items> <ipv4-items> <policy-items> <ingress-items> <intf-items> <If-list> <name>eth1/1</name> <acl-items> <name>foo</name> </acl-items> </If-list> </intf-items> </ingress-items> </policy-items> </ipv4-items> </acl-items> </System>