Loading src/tests/acl_end2end/data/ietf-acl.json +74 −49 Original line number Diff line number Diff line { "ietf-access-control-list:acls": { "acl": [{ "acl": [ { "name": "eth10-permit-other", "type": "ipv4-acl-type", "aces": { "ace": [{ "name": "eth10-permit-other", "matches": { "ingress-interface": "Ethernet10" }, "actions": {"forwarding": "accept"} }] } }, { "name": "eth11-block-ping-permit-other", "type": "ipv4-acl-type", "aces": { Loading @@ -11,7 +25,7 @@ "ipv4": { "protocol": 1, "source-ipv4-network": "172.16.11.10/32", "destination-ipv4-network": "172.16.1.10/32" "destination-ipv4-network": "172.16.10.10/32" }, "icmp": {} }, Loading @@ -38,9 +52,19 @@ "actions": {"forwarding": "accept"} }] } }], } ], "attachment-points": { "interface": [{ "interface": [ { "interface-id": "Ethernet10", "ingress": { "acl-sets": { "acl-set": [{"name": "eth10-permit-other"}] } } }, { "interface-id": "Ethernet11", "ingress": { "acl-sets": { Loading @@ -55,7 +79,8 @@ "acl-set": [{"name": "eth12-permit-other"}] } } }] } ] } } } Loading
src/tests/acl_end2end/data/ietf-acl.json +74 −49 Original line number Diff line number Diff line { "ietf-access-control-list:acls": { "acl": [{ "acl": [ { "name": "eth10-permit-other", "type": "ipv4-acl-type", "aces": { "ace": [{ "name": "eth10-permit-other", "matches": { "ingress-interface": "Ethernet10" }, "actions": {"forwarding": "accept"} }] } }, { "name": "eth11-block-ping-permit-other", "type": "ipv4-acl-type", "aces": { Loading @@ -11,7 +25,7 @@ "ipv4": { "protocol": 1, "source-ipv4-network": "172.16.11.10/32", "destination-ipv4-network": "172.16.1.10/32" "destination-ipv4-network": "172.16.10.10/32" }, "icmp": {} }, Loading @@ -38,9 +52,19 @@ "actions": {"forwarding": "accept"} }] } }], } ], "attachment-points": { "interface": [{ "interface": [ { "interface-id": "Ethernet10", "ingress": { "acl-sets": { "acl-set": [{"name": "eth10-permit-other"}] } } }, { "interface-id": "Ethernet11", "ingress": { "acl-sets": { Loading @@ -55,7 +79,8 @@ "acl-set": [{"name": "eth12-permit-other"}] } } }] } ] } } }