Support only Neon+ distributions
[integration/test.git] / csit / variables / bgpflowspec / bgp_flowspec / data.json
1 {
2     "bgp-flowspec:flowspec-routes": {
3         "flowspec-route": [
4             {
5                 "path-id": 0,
6                 "route-key": "all packets to 192.168.0.1/32 AND from 10.0.0.1/32 AND where IP protocol equals to 6 AND where port equals to 80 AND where destination port is greater than 8080 and is less than 8088 AND where source port is greater than 1024 AND where ICMP type equals to 0 AND where ICMP code equals to 0 AND where TCP flags does match 32 AND where packet length is greater than 400 and is less than 500 AND where DSCP equals to 20 AND where fragment does match 'IS FIRST' ",
7                 "attributes": {
8                     "extended-communities": [
9                         {
10                             "transitive": true,
11                             "traffic-action-extended-community": {
12                                 "sample": true,
13                                 "terminal-action": true
14                             }
15                         }
16                     ],
17                     "origin": {
18                         "value": "igp"
19                     },
20                     "local-pref": {
21                         "pref": 100
22                     }
23                 },
24                 "flowspec": [
25                     {
26                         "destination-prefix": "192.168.0.1/32"
27                     },
28                     {
29                         "source-prefix": "10.0.0.1/32"
30                     },
31                     {
32                         "protocol-ips": [
33                             {
34                                 "op": "end-of-list equals",
35                                 "value": 6
36                             }
37                         ]
38                     },
39                     {
40                         "ports": [
41                             {
42                                 "op": "end-of-list equals",
43                                 "value": 80
44                             }
45                         ]
46                     },
47                     {
48                         "destination-ports": [
49                             {
50                                 "op": "greater-than",
51                                 "value": 8080
52                             },
53                             {
54                                 "op": "end-of-list and-bit less-than",
55                                 "value": 8088
56                             }
57                         ]
58                     },
59                     {
60                         "source-ports": [
61                             {
62                                 "op": "end-of-list greater-than",
63                                 "value": 1024
64                             }
65                         ]
66                     },
67                     {
68                         "types": [
69                             {
70                                 "op": "end-of-list equals",
71                                 "value": 0
72                             }
73                         ]
74                     },
75                     {
76                         "codes": [
77                             {
78                                 "op": "end-of-list equals",
79                                 "value": 0
80                             }
81                         ]
82                     },
83                     {
84                         "tcp-flags": [
85                             {
86                                 "op": "end-of-list match",
87                                 "value": 32
88                             }
89                         ]
90                     },
91                     {
92                         "packet-lengths": [
93                             {
94                                 "op": "greater-than",
95                                 "value": 400
96                             },
97                             {
98                                 "op": "end-of-list and-bit less-than",
99                                 "value": 500
100                             }
101                         ]
102                     },
103                     {
104                         "dscps": [
105                             {
106                                 "op": "end-of-list equals",
107                                 "value": 20
108                             }
109                         ]
110                     },
111                     {
112                         "fragments": [
113                             {
114                                 "op": "end-of-list match",
115                                 "value": "first"
116                             }
117                         ]
118                     }
119                 ]
120             }
121         ]
122     }
123 }