summaryrefslogtreecommitdiffstats
path: root/acl/acl-impl/src/test/resources/acl/standard/standard-acl-tcp.json
blob: 6b5dbafc7aaaab439e04a3eca6c7099489bf09da (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
38
39
{
  "access-lists": {
    "acl": [
      {
        "acl-name": "standard-acl",
        "acl-type": "vpp-acl:vpp-acl",
        "tag": "tcp-tag-value",
        "access-list-entries": {
          "ace": [
            {
              "rule-name": "tcp-rule",
              "matches": {
                "vpp-ace-nodes": {
                  "destination-ipv4-network": "192.168.2.1/24",
                  "source-ipv4-network": "192.168.2.2/32",
                  "tcp-nodes": {
                    "source-port-range": {
                      "lower-port": "1",
                      "upper-port": "5487"
                    },
                    "destination-port-range": {
                      "lower-port": "87",
                      "upper-port": "6745"
                    },
                    "tcp-flags-mask": "1",
                    "tcp-flags-value": "7"
                  }
                }
              },
              "actions": {
                "permit": [null]
              }
            }
          ]
        }
      }
    ]
  }
}