summaryrefslogtreecommitdiffstats
path: root/acl/acl-impl/src/test/resources/rules/icmp-rule.json
blob: dbee65ea332f9ecc69d8763f89da375521f8e38a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  "acls": {
    "acl": [
      {
        "name": "standard-acl",
        "type": "vpp-acl:vpp-acl",
        "aces": {
          "ace": [
            {
              "name": "imcp-rule",
              "matches": {
                "ipv4": {
                  "source-ipv4-network": "192.168.2.2/32",
                  "destination-ipv4-network": "192.168.2.1/32"
                },
                "icmp": {
                  "vpp-acl:vpp-icmp-ace": {
                    "vpp-acl:icmp-type-range": {
                      "first": "5",
                      "last": "8"
                    },
                    "vpp-acl:icmp-code-range": {
                      "first": "1",
                      "last": "3"
                    }
                  }
                }
              }
            }
          ]
        }
      }
    ]
  }
}