summaryrefslogtreecommitdiffstats
path: root/acl/acl-impl/src/test/resources/acl/macip/macip-acl.json
blob: bcde22d6be28dd5213e7b2836b6186286eb7bdf1 (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
{
  "acls": {
    "acl": [
      {
        "name": "macip-acl",
        "type": "vpp-acl:vpp-macip-acl",
        "tag": "macip-tag-value",
        "aces": {
          "ace": [
            {
              "name": "macip-rule",
              "matches": {
                "eth": {
                  "source-mac-address": "aa:aa:aa:aa:aa:aa",
                  "source-mac-address-mask": "ff:00:00:00:00:00"
                },
                "ipv4": {
                  "source-ipv4-network": "192.168.2.2/32"
                }
              },
              "actions": {
                "forwarding": "ietf-access-control-list:accept"
              }
            }
          ]
        }
      }
    ]
  }
}