summaryrefslogtreecommitdiffstats
path: root/acl/acl-impl/src/test/resources/rules/tcp-rule.json
blob: 95fa836d41e178a8787f08385509232d1cca1642 (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
36
37
{
  "acls": {
    "acl": [
      {
        "name": "standard-acl",
        "type": "vpp-acl:vpp-acl",
        "aces": {
          "ace": [
            {
              "name": "tcp-rule",
              "matches": {
                "ipv4": {
                  "destination-ipv4-network": "192.168.2.1/32",
                  "source-ipv4-network": "192.168.2.2/32"
                },
                "tcp": {
                  "source-port": {
                    "lower-port": "1",
                    "upper-port": "5487"
                  },
                  "destination-port": {
                    "lower-port": "87",
                    "upper-port": "6745"
                  },
                  "flags": "cwr ece urg",
                  "vpp-acl:vpp-tcp-ace": {
                    "vpp-acl:flags-mask": "cwr"
                  }
                }
              }
            }
          ]
        }
      }
    ]
  }
}