Browse Source

Merge "Update OVN DB schemas"

tags/7.0.0.0b1
Zuul 1 month ago
parent
commit
8bcad618a2

+ 181
- 10
networking_ovn/tests/unit/ovsdb/schemas/ovn-nb.ovsschema View File

@@ -1,7 +1,7 @@
1 1
 {
2 2
     "name": "OVN_Northbound",
3
-    "version": "5.5.0",
4
-    "cksum": "2099428463 14236",
3
+    "version": "5.16.0",
4
+    "cksum": "923459061 23095",
5 5
     "tables": {
6 6
         "NB_Global": {
7 7
             "columns": {
@@ -19,7 +19,11 @@
19 19
                 "ssl": {
20 20
                     "type": {"key": {"type": "uuid",
21 21
                                      "refTable": "SSL"},
22
-                                     "min": 0, "max": 1}}},
22
+                                     "min": 0, "max": 1}},
23
+                "options": {
24
+                    "type": {"key": "string", "value": "string",
25
+                             "min": 0, "max": "unlimited"}},
26
+                "ipsec": {"type": "boolean"}},
23 27
             "maxRows": 1,
24 28
             "isRoot": true},
25 29
         "Logical_Switch": {
@@ -42,9 +46,14 @@
42 46
                                   "max": "unlimited"}},
43 47
                 "load_balancer": {"type": {"key": {"type": "uuid",
44 48
                                                   "refTable": "Load_Balancer",
45
-                                                  "refType": "strong"},
49
+                                                  "refType": "weak"},
46 50
                                            "min": 0,
47 51
                                            "max": "unlimited"}},
52
+                "dns_records": {"type": {"key": {"type": "uuid",
53
+                                         "refTable": "DNS",
54
+                                         "refType": "weak"},
55
+                                  "min": 0,
56
+                                  "max": "unlimited"}},
48 57
                 "other_config": {
49 58
                     "type": {"key": "string", "value": "string",
50 59
                              "min": 0, "max": "unlimited"}},
@@ -93,6 +102,12 @@
93 102
                                             "refType": "weak"},
94 103
                                  "min": 0,
95 104
                                  "max": 1}},
105
+                "ha_chassis_group": {
106
+                    "type": {"key": {"type": "uuid",
107
+                                     "refTable": "HA_Chassis_Group",
108
+                                     "refType": "strong"},
109
+                             "min": 0,
110
+                             "max": 1}},
96 111
                 "external_ids": {
97 112
                     "type": {"key": "string", "value": "string",
98 113
                              "min": 0, "max": "unlimited"}}},
@@ -109,9 +124,27 @@
109 124
                              "min": 0, "max": "unlimited"}}},
110 125
             "indexes": [["name"]],
111 126
             "isRoot": true},
127
+        "Port_Group": {
128
+            "columns": {
129
+                "name": {"type": "string"},
130
+                "ports": {"type": {"key": {"type": "uuid",
131
+                                           "refTable": "Logical_Switch_Port",
132
+                                           "refType": "weak"},
133
+                                   "min": 0,
134
+                                   "max": "unlimited"}},
135
+                "acls": {"type": {"key": {"type": "uuid",
136
+                                          "refTable": "ACL",
137
+                                          "refType": "strong"},
138
+                                  "min": 0,
139
+                                  "max": "unlimited"}},
140
+                "external_ids": {
141
+                    "type": {"key": "string", "value": "string",
142
+                             "min": 0, "max": "unlimited"}}},
143
+            "indexes": [["name"]],
144
+            "isRoot": true},
112 145
         "Load_Balancer": {
113 146
             "columns": {
114
-		"name": {"type": "string"},
147
+                "name": {"type": "string"},
115 148
                 "vips": {
116 149
                     "type": {"key": "string", "value": "string",
117 150
                              "min": 0, "max": "unlimited"}},
@@ -125,6 +158,9 @@
125 158
             "isRoot": true},
126 159
         "ACL": {
127 160
             "columns": {
161
+                "name": {"type": {"key": {"type": "string",
162
+                                          "maxLength": 63},
163
+                                          "min": 0, "max": 1}},
128 164
                 "priority": {"type": {"key": {"type": "integer",
129 165
                                               "minInteger": 0,
130 166
                                               "maxInteger": 32767}}},
@@ -134,6 +170,13 @@
134 170
                 "action": {"type": {"key": {"type": "string",
135 171
                                             "enum": ["set", ["allow", "allow-related", "drop", "reject"]]}}},
136 172
                 "log": {"type": "boolean"},
173
+                "severity": {"type": {"key": {"type": "string",
174
+                                              "enum": ["set",
175
+                                                       ["alert", "warning",
176
+                                                        "notice", "info",
177
+                                                        "debug"]]},
178
+                                      "min": 0, "max": 1}},
179
+                "meter": {"type": {"key": "string", "min": 0, "max": 1}},
137 180
                 "external_ids": {
138 181
                     "type": {"key": "string", "value": "string",
139 182
                              "min": 0, "max": "unlimited"}}},
@@ -150,7 +193,44 @@
150 193
                                             "enum": ["set", ["dscp"]]},
151 194
                                     "value": {"type": "integer",
152 195
                                               "minInteger": 0,
153
-                                              "maxInteger": 63}}},
196
+                                              "maxInteger": 63},
197
+                                    "min": 0, "max": "unlimited"}},
198
+                "bandwidth": {"type": {"key": {"type": "string",
199
+                                               "enum": ["set", ["rate",
200
+                                                                "burst"]]},
201
+                                       "value": {"type": "integer",
202
+                                                 "minInteger": 1,
203
+                                                 "maxInteger": 4294967295},
204
+                                       "min": 0, "max": "unlimited"}},
205
+                "external_ids": {
206
+                    "type": {"key": "string", "value": "string",
207
+                             "min": 0, "max": "unlimited"}}},
208
+            "isRoot": false},
209
+        "Meter": {
210
+            "columns": {
211
+                "name": {"type": "string"},
212
+                "unit": {"type": {"key": {"type": "string",
213
+                                          "enum": ["set", ["kbps", "pktps"]]}}},
214
+                "bands": {"type": {"key": {"type": "uuid",
215
+                                           "refTable": "Meter_Band",
216
+                                           "refType": "strong"},
217
+                                   "min": 1,
218
+                                   "max": "unlimited"}},
219
+                "external_ids": {
220
+                    "type": {"key": "string", "value": "string",
221
+                             "min": 0, "max": "unlimited"}}},
222
+            "indexes": [["name"]],
223
+            "isRoot": true},
224
+        "Meter_Band": {
225
+            "columns": {
226
+                "action": {"type": {"key": {"type": "string",
227
+                                            "enum": ["set", ["drop"]]}}},
228
+                "rate": {"type": {"key": {"type": "integer",
229
+                                          "minInteger": 1,
230
+                                          "maxInteger": 4294967295}}},
231
+                "burst_size": {"type": {"key": {"type": "integer",
232
+                                                "minInteger": 0,
233
+                                                "maxInteger": 4294967295}}},
154 234
                 "external_ids": {
155 235
                     "type": {"key": "string", "value": "string",
156 236
                              "min": 0, "max": "unlimited"}}},
@@ -168,6 +248,12 @@
168 248
                                             "refType": "strong"},
169 249
                                    "min": 0,
170 250
                                    "max": "unlimited"}},
251
+                "policies": {
252
+                    "type": {"key": {"type": "uuid",
253
+                                     "refTable": "Logical_Router_Policy",
254
+                                     "refType": "strong"},
255
+                             "min": 0,
256
+                             "max": "unlimited"}},
171 257
                 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
172 258
                 "nat": {"type": {"key": {"type": "uuid",
173 259
                                          "refTable": "NAT",
@@ -176,7 +262,7 @@
176 262
                                  "max": "unlimited"}},
177 263
                 "load_balancer": {"type": {"key": {"type": "uuid",
178 264
                                                   "refTable": "Load_Balancer",
179
-                                                  "refType": "strong"},
265
+                                                  "refType": "weak"},
180 266
                                            "min": 0,
181 267
                                            "max": "unlimited"}},
182 268
                 "options": {
@@ -191,6 +277,18 @@
191 277
         "Logical_Router_Port": {
192 278
             "columns": {
193 279
                 "name": {"type": "string"},
280
+                "gateway_chassis": {
281
+                    "type": {"key": {"type": "uuid",
282
+                                     "refTable": "Gateway_Chassis",
283
+                                     "refType": "strong"},
284
+                             "min": 0,
285
+                             "max": "unlimited"}},
286
+                "ha_chassis_group": {
287
+                    "type": {"key": {"type": "uuid",
288
+                                     "refTable": "HA_Chassis_Group",
289
+                                     "refType": "strong"},
290
+                             "min": 0,
291
+                             "max": 1}},
194 292
                 "options": {
195 293
                     "type": {"key": "string",
196 294
                              "value": "string",
@@ -202,6 +300,9 @@
202 300
                 "mac": {"type": "string"},
203 301
                 "peer": {"type": {"key": "string", "min": 0, "max": 1}},
204 302
                 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
303
+                "ipv6_ra_configs": {
304
+                    "type": {"key": "string", "value": "string",
305
+                             "min": 0, "max": "unlimited"}},
205 306
                 "external_ids": {
206 307
                     "type": {"key": "string", "value": "string",
207 308
                              "min": 0, "max": "unlimited"}}},
@@ -215,7 +316,21 @@
215 316
                                                              "dst-ip"]]},
216 317
                                     "min": 0, "max": 1}},
217 318
                 "nexthop": {"type": "string"},
218
-                "output_port": {"type": {"key": "string", "min": 0, "max": 1}}},
319
+                "output_port": {"type": {"key": "string", "min": 0, "max": 1}},
320
+                "external_ids": {
321
+                    "type": {"key": "string", "value": "string",
322
+                             "min": 0, "max": "unlimited"}}},
323
+            "isRoot": false},
324
+        "Logical_Router_Policy": {
325
+            "columns": {
326
+                "priority": {"type": {"key": {"type": "integer",
327
+                                              "minInteger": 0,
328
+                                              "maxInteger": 32767}}},
329
+                "match": {"type": "string"},
330
+                "action": {"type": {
331
+                    "key": {"type": "string",
332
+                            "enum": ["set", ["allow", "drop", "reroute"]]}}},
333
+                "nexthop": {"type": {"key": "string", "min": 0, "max": 1}}},
219 334
             "isRoot": false},
220 335
         "NAT": {
221 336
             "columns": {
@@ -229,7 +344,10 @@
229 344
                                            "enum": ["set", ["dnat",
230 345
                                                              "snat",
231 346
                                                              "dnat_and_snat"
232
-                                                               ]]}}}},
347
+                                                               ]]}}},
348
+                "external_ids": {
349
+                    "type": {"key": "string", "value": "string",
350
+                             "min": 0, "max": "unlimited"}}},
233 351
             "isRoot": false},
234 352
         "DHCP_Options": {
235 353
             "columns": {
@@ -265,14 +383,67 @@
265 383
                                     "max": "unlimited"},
266 384
                                     "ephemeral": true}},
267 385
             "indexes": [["target"]]},
386
+        "DNS": {
387
+            "columns": {
388
+                "records": {"type": {"key": "string",
389
+                                     "value": "string",
390
+                                     "min": 0,
391
+                                     "max": "unlimited"}},
392
+                "external_ids": {"type": {"key": "string",
393
+                                 "value": "string",
394
+                                 "min": 0,
395
+                                 "max": "unlimited"}}},
396
+            "isRoot": true},
268 397
         "SSL": {
269 398
             "columns": {
270 399
                 "private_key": {"type": "string"},
271 400
                 "certificate": {"type": "string"},
272 401
                 "ca_cert": {"type": "string"},
273 402
                 "bootstrap_ca_cert": {"type": "boolean"},
403
+                "ssl_protocols": {"type": "string"},
404
+                "ssl_ciphers": {"type": "string"},
274 405
                 "external_ids": {"type": {"key": "string",
275 406
                                           "value": "string",
276 407
                                           "min": 0,
277 408
                                           "max": "unlimited"}}},
278
-            "maxRows": 1}}}
409
+            "maxRows": 1},
410
+        "Gateway_Chassis": {
411
+            "columns": {
412
+                "name": {"type": "string"},
413
+                "chassis_name": {"type": "string"},
414
+                "priority": {"type": {"key": {"type": "integer",
415
+                                              "minInteger": 0,
416
+                                              "maxInteger": 32767}}},
417
+                "external_ids": {
418
+                    "type": {"key": "string", "value": "string",
419
+                             "min": 0, "max": "unlimited"}},
420
+                "options": {
421
+                    "type": {"key": "string", "value": "string",
422
+                             "min": 0, "max": "unlimited"}}},
423
+            "indexes": [["name"]],
424
+            "isRoot": false},
425
+        "HA_Chassis": {
426
+            "columns": {
427
+                "chassis_name": {"type": "string"},
428
+                "priority": {"type": {"key": {"type": "integer",
429
+                                              "minInteger": 0,
430
+                                              "maxInteger": 32767}}},
431
+                "external_ids": {
432
+                    "type": {"key": "string", "value": "string",
433
+                             "min": 0, "max": "unlimited"}}},
434
+            "isRoot": false},
435
+        "HA_Chassis_Group": {
436
+            "columns": {
437
+                "name": {"type": "string"},
438
+                "ha_chassis": {
439
+                    "type": {"key": {"type": "uuid",
440
+                                     "refTable": "HA_Chassis",
441
+                                     "refType": "strong"},
442
+                             "min": 0,
443
+                             "max": "unlimited"}},
444
+                "external_ids": {
445
+                    "type": {"key": "string", "value": "string",
446
+                             "min": 0, "max": "unlimited"}}},
447
+            "indexes": [["name"]],
448
+            "isRoot": true}}
449
+    }

+ 208
- 8
networking_ovn/tests/unit/ovsdb/schemas/ovn-sb.ovsschema View File

@@ -1,7 +1,7 @@
1 1
 {
2 2
     "name": "OVN_Southbound",
3
-    "version": "1.10.0",
4
-    "cksum": "860871483 9898",
3
+    "version": "2.4.0",
4
+    "cksum": "3059284885 20260",
5 5
     "tables": {
6 6
         "SB_Global": {
7 7
             "columns": {
@@ -17,7 +17,11 @@
17 17
                 "ssl": {
18 18
                     "type": {"key": {"type": "uuid",
19 19
                                      "refTable": "SSL"},
20
-                                     "min": 0, "max": 1}}},
20
+                                     "min": 0, "max": 1}},
21
+                "options": {
22
+                    "type": {"key": "string", "value": "string",
23
+                             "min": 0, "max": "unlimited"}},
24
+                "ipsec": {"type": "boolean"}},
21 25
             "maxRows": 1,
22 26
             "isRoot": true},
23 27
         "Chassis": {
@@ -33,7 +37,10 @@
33 37
                 "nb_cfg": {"type": {"key": "integer"}},
34 38
                 "external_ids": {
35 39
                     "type": {"key": "string", "value": "string",
36
-                             "min": 0, "max": "unlimited"}}},
40
+                             "min": 0, "max": "unlimited"}},
41
+                "transport_zones" : {"type": {"key": "string",
42
+                                              "min": 0,
43
+                                              "max": "unlimited"}}},
37 44
             "isRoot": true,
38 45
             "indexes": [["name"]]},
39 46
         "Encap": {
@@ -45,7 +52,9 @@
45 52
                                      "value": "string",
46 53
                                      "min": 0,
47 54
                                      "max": "unlimited"}},
48
-                "ip": {"type": "string"}}},
55
+                "ip": {"type": "string"},
56
+                "chassis_name": {"type": "string"}},
57
+            "indexes": [["type", "ip"]]},
49 58
         "Address_Set": {
50 59
             "columns": {
51 60
                 "name": {"type": "string"},
@@ -54,6 +63,14 @@
54 63
                                        "max": "unlimited"}}},
55 64
             "indexes": [["name"]],
56 65
             "isRoot": true},
66
+        "Port_Group": {
67
+            "columns": {
68
+                "name": {"type": "string"},
69
+                "ports": {"type": {"key": "string",
70
+                                   "min": 0,
71
+                                   "max": "unlimited"}}},
72
+            "indexes": [["name"]],
73
+            "isRoot": true},
57 74
         "Logical_Flow": {
58 75
             "columns": {
59 76
                 "logical_datapath": {"type": {"key": {"type": "uuid",
@@ -63,7 +80,7 @@
63 80
                                                        "egress"]]}}},
64 81
                 "table_id": {"type": {"key": {"type": "integer",
65 82
                                               "minInteger": 0,
66
-                                              "maxInteger": 15}}},
83
+                                              "maxInteger": 23}}},
67 84
                 "priority": {"type": {"key": {"type": "integer",
68 85
                                               "minInteger": 0,
69 86
                                               "maxInteger": 65535}}},
@@ -89,6 +106,29 @@
89 106
             "indexes": [["datapath", "tunnel_key"],
90 107
                         ["datapath", "name"]],
91 108
             "isRoot": true},
109
+        "Meter": {
110
+            "columns": {
111
+                "name": {"type": "string"},
112
+                "unit": {"type": {"key": {"type": "string",
113
+                                          "enum": ["set", ["kbps", "pktps"]]}}},
114
+                "bands": {"type": {"key": {"type": "uuid",
115
+                                           "refTable": "Meter_Band",
116
+                                           "refType": "strong"},
117
+                                   "min": 1,
118
+                                   "max": "unlimited"}}},
119
+            "indexes": [["name"]],
120
+            "isRoot": true},
121
+        "Meter_Band": {
122
+            "columns": {
123
+                "action": {"type": {"key": {"type": "string",
124
+                                            "enum": ["set", ["drop"]]}}},
125
+                "rate": {"type": {"key": {"type": "integer",
126
+                                          "minInteger": 1,
127
+                                          "maxInteger": 4294967295}}},
128
+                "burst_size": {"type": {"key": {"type": "integer",
129
+                                                "minInteger": 0,
130
+                                                "maxInteger": 4294967295}}}},
131
+            "isRoot": false},
92 132
         "Datapath_Binding": {
93 133
             "columns": {
94 134
                 "tunnel_key": {
@@ -104,6 +144,18 @@
104 144
             "columns": {
105 145
                 "logical_port": {"type": "string"},
106 146
                 "type": {"type": "string"},
147
+                "gateway_chassis": {
148
+                    "type": {"key": {"type": "uuid",
149
+                                     "refTable": "Gateway_Chassis",
150
+                                     "refType": "strong"},
151
+                             "min": 0,
152
+                             "max": "unlimited"}},
153
+                "ha_chassis_group": {
154
+                    "type": {"key": {"type": "uuid",
155
+                                     "refTable": "HA_Chassis_Group",
156
+                                     "refType": "strong"},
157
+                             "min": 0,
158
+                             "max": 1}},
107 159
                 "options": {
108 160
                      "type": {"key": "string",
109 161
                               "value": "string",
@@ -125,12 +177,20 @@
125 177
                                              "refTable": "Chassis",
126 178
                                              "refType": "weak"},
127 179
                                      "min": 0, "max": 1}},
180
+                "encap": {"type": {"key": {"type": "uuid",
181
+                                            "refTable": "Encap",
182
+                                             "refType": "weak"},
183
+                                    "min": 0, "max": 1}},
128 184
                 "mac": {"type": {"key": "string",
129 185
                                  "min": 0,
130 186
                                  "max": "unlimited"}},
131 187
                 "nat_addresses": {"type": {"key": "string",
132 188
                                            "min": 0,
133
-                                           "max": "unlimited"}}},
189
+                                           "max": "unlimited"}},
190
+                "external_ids": {"type": {"key": "string",
191
+                                 "value": "string",
192
+                                 "min": 0,
193
+                                 "max": "unlimited"}}},
134 194
             "indexes": [["datapath", "tunnel_key"], ["logical_port"]],
135 195
             "isRoot": true},
136 196
         "MAC_Binding": {
@@ -176,6 +236,7 @@
176 236
                                               "min": 0,
177 237
                                               "max": 1}},
178 238
                 "read_only": {"type": "boolean"},
239
+                "role": {"type": "string"},
179 240
                 "other_config": {"type": {"key": "string",
180 241
                                           "value": "string",
181 242
                                           "min": 0,
@@ -197,8 +258,147 @@
197 258
                 "certificate": {"type": "string"},
198 259
                 "ca_cert": {"type": "string"},
199 260
                 "bootstrap_ca_cert": {"type": "boolean"},
261
+                "ssl_protocols": {"type": "string"},
262
+                "ssl_ciphers": {"type": "string"},
263
+                "external_ids": {"type": {"key": "string",
264
+                                          "value": "string",
265
+                                          "min": 0,
266
+                                          "max": "unlimited"}}},
267
+            "maxRows": 1},
268
+        "DNS": {
269
+            "columns": {
270
+                "records": {"type": {"key": "string",
271
+                                            "value": "string",
272
+                                            "min": 0,
273
+                                            "max": "unlimited"}},
274
+                "datapaths": {"type": {"key": {"type": "uuid",
275
+                                               "refTable": "Datapath_Binding"},
276
+                                       "min": 1,
277
+                                       "max": "unlimited"}},
200 278
                 "external_ids": {"type": {"key": "string",
201 279
                                           "value": "string",
202 280
                                           "min": 0,
203 281
                                           "max": "unlimited"}}},
204
-            "maxRows": 1}}}
282
+            "isRoot": true},
283
+        "RBAC_Role": {
284
+            "columns": {
285
+                "name": {"type": "string"},
286
+                "permissions": {
287
+                    "type": {"key": {"type": "string"},
288
+                             "value": {"type": "uuid",
289
+                                       "refTable": "RBAC_Permission",
290
+                                       "refType": "weak"},
291
+                                     "min": 0, "max": "unlimited"}}},
292
+            "isRoot": true},
293
+        "RBAC_Permission": {
294
+            "columns": {
295
+                "table": {"type": "string"},
296
+                "authorization": {"type": {"key": "string",
297
+                                           "min": 0,
298
+                                           "max": "unlimited"}},
299
+                "insert_delete": {"type": "boolean"},
300
+                "update" : {"type": {"key": "string",
301
+                                     "min": 0,
302
+                                     "max": "unlimited"}}},
303
+            "isRoot": true},
304
+        "Gateway_Chassis": {
305
+            "columns": {
306
+                "name": {"type": "string"},
307
+                "chassis": {"type": {"key": {"type": "uuid",
308
+                                             "refTable": "Chassis",
309
+                                             "refType": "weak"},
310
+                                     "min": 0, "max": 1}},
311
+                "priority": {"type": {"key": {"type": "integer",
312
+                                              "minInteger": 0,
313
+                                              "maxInteger": 32767}}},
314
+                "external_ids": {
315
+                    "type": {"key": "string", "value": "string",
316
+                             "min": 0, "max": "unlimited"}},
317
+                "options": {
318
+                    "type": {"key": "string", "value": "string",
319
+                             "min": 0, "max": "unlimited"}}},
320
+            "indexes": [["name"]],
321
+            "isRoot": false},
322
+        "HA_Chassis": {
323
+            "columns": {
324
+                "chassis": {"type": {"key": {"type": "uuid",
325
+                                             "refTable": "Chassis",
326
+                                             "refType": "weak"},
327
+                                     "min": 0, "max": 1}},
328
+                "priority": {"type": {"key": {"type": "integer",
329
+                                              "minInteger": 0,
330
+                                              "maxInteger": 32767}}},
331
+                "external_ids": {
332
+                    "type": {"key": "string", "value": "string",
333
+                             "min": 0, "max": "unlimited"}}},
334
+            "isRoot": false},
335
+        "HA_Chassis_Group": {
336
+            "columns": {
337
+                "name": {"type": "string"},
338
+                "ha_chassis": {
339
+                    "type": {"key": {"type": "uuid",
340
+                                     "refTable": "HA_Chassis",
341
+                                     "refType": "strong"},
342
+                             "min": 0,
343
+                             "max": "unlimited"}},
344
+                "ref_chassis": {"type": {"key": {"type": "uuid",
345
+                                                 "refTable": "Chassis",
346
+                                                 "refType": "weak"},
347
+                                         "min": 0, "max": "unlimited"}},
348
+                "external_ids": {
349
+                    "type": {"key": "string", "value": "string",
350
+                             "min": 0, "max": "unlimited"}}},
351
+            "indexes": [["name"]],
352
+            "isRoot": true},
353
+        "Controller_Event": {
354
+            "columns": {
355
+                "event_type": {"type": {"key": {"type": "string",
356
+                               "enum": ["set", ["empty_lb_backends"]]}}},
357
+                "event_info": {"type": {"key": "string", "value": "string",
358
+                               "min": 0, "max": "unlimited"}},
359
+                "chassis": {"type": {"key": {"type": "uuid",
360
+                                             "refTable": "Chassis",
361
+                                             "refType": "weak"},
362
+                                     "min": 0, "max": 1}},
363
+                "seq_num": {"type": {"key": "integer"}}
364
+            },
365
+            "isRoot": true},
366
+        "IP_Multicast": {
367
+            "columns": {
368
+                "datapath": {"type": {"key": {"type": "uuid",
369
+                                              "refTable": "Datapath_Binding",
370
+                                              "refType": "weak"}}},
371
+                "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
372
+                "querier": {"type": {"key": "boolean", "min": 0, "max": 1}},
373
+                "eth_src": {"type": "string"},
374
+                "ip4_src": {"type": "string"},
375
+                "table_size": {"type": {"key": "integer",
376
+                                        "min": 0, "max": 1}},
377
+                "idle_timeout": {"type": {"key": "integer",
378
+                                          "min": 0, "max": 1}},
379
+                "query_interval": {"type": {"key": "integer",
380
+                                            "min": 0, "max": 1}},
381
+                "query_max_resp": {"type": {"key": "integer",
382
+                                            "min": 0, "max": 1}},
383
+                "seq_no": {"type": "integer"}},
384
+            "indexes": [["datapath"]],
385
+            "isRoot": true},
386
+        "IGMP_Group": {
387
+            "columns": {
388
+                "address": {"type": "string"},
389
+                "datapath": {"type": {"key": {"type": "uuid",
390
+                                              "refTable": "Datapath_Binding",
391
+                                              "refType": "weak"},
392
+                                      "min": 0,
393
+                                      "max": 1}},
394
+                "chassis": {"type": {"key": {"type": "uuid",
395
+                                             "refTable": "Chassis",
396
+                                             "refType": "weak"},
397
+                                     "min": 0,
398
+                                     "max": 1}},
399
+                "ports": {"type": {"key": {"type": "uuid",
400
+                                           "refTable": "Port_Binding",
401
+                                           "refType": "weak"},
402
+                                   "min": 0, "max": "unlimited"}}},
403
+            "indexes": [["address", "datapath", "chassis"]],
404
+            "isRoot": true}}}

Loading…
Cancel
Save