Cleanup DevstackUtils.robot
[integration/test.git] / csit / variables / bgpflowspec / bgp-flowspec.json.beryllium
1 {
2     "bgp-flowspec:flowspec-routes": {
3         "flowspec-route": [
4             {
5                 "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' ",
6                 "attributes": {
7                     "extended-communities": [
8                         {
9                             "transitive": true,
10                             "traffic-action-extended-community": {
11                                 "sample": true,
12                                 "terminal-action": true
13                             }
14                         }
15                     ],
16                     "origin": {
17                         "value": "igp"
18                     },
19                     "as-path": {},
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": "equals end-of-list",
35                                 "value": 6
36                             }
37                         ]
38                     },
39                     {
40                         "ports": [
41                             {
42                                 "op": "equals end-of-list",
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 less-than and-bit",
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": "equals end-of-list",
71                                 "value": 0
72                             }
73                         ]
74                     },
75                     {
76                         "codes": [
77                             {
78                                 "op": "equals end-of-list",
79                                 "value": 0
80                             }
81                         ]
82                     },
83                     {
84                         "tcp-flags": [
85                             {
86                                 "op": "match end-of-list",
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 less-than and-bit",
99                                 "value": 500
100                             }
101                         ]
102                     },
103                     {
104                         "dscps": [
105                             {
106                                 "op": "equals end-of-list",
107                                 "value": 20
108                             }
109                         ]
110                     },
111                     {
112                         "fragments": [
113                             {
114                                 "op": "match end-of-list",
115                                 "value": "first"
116                             }
117                         ]
118                     }
119                 ]
120             }
121         ]
122     }
123 }