Commit c3d8c70b authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Tests - ACL End-to-end integration test:

- Updated IETF ACL data file
parent b2ae6cf3
Loading
Loading
Loading
Loading
+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": {
@@ -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": {}
            },
@@ -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": {
@@ -55,7 +79,8 @@
              "acl-set": [{"name": "eth12-permit-other"}]
            }
          }
      }]
        }
      ]
    }
  }
}