]> git.proxmox.com Git - ovs.git/blob - ovn/ovn-sb.ovsschema
ovn: Constrain supported tunnel types.
[ovs.git] / ovn / ovn-sb.ovsschema
1 {
2 "name": "OVN_Southbound",
3 "tables": {
4 "Chassis": {
5 "columns": {
6 "name": {"type": "string"},
7 "encaps": {"type": {"key": {"type": "uuid",
8 "refTable": "Encap"},
9 "min": 1, "max": "unlimited"}},
10 "gateway_ports": {"type": {"key": "string",
11 "value": {"type": "uuid",
12 "refTable": "Gateway",
13 "refType": "strong"},
14 "min": 0,
15 "max": "unlimited"}}},
16 "isRoot": true,
17 "indexes": [["name"]]},
18 "Encap": {
19 "columns": {
20 "type": {"type": {"key": {
21 "type": "string",
22 "enum": ["set", ["geneve", "stt", "vxlan"]]}}},
23 "options": {"type": {"key": "string",
24 "value": "string",
25 "min": 0,
26 "max": "unlimited"}},
27 "ip": {"type": "string"}}},
28 "Gateway": {
29 "columns": {"attached_port": {"type": "string"},
30 "vlan_map": {"type": {"key": {"type": "integer",
31 "minInteger": 0,
32 "maxInteger": 4095},
33 "value": {"type": "string"},
34 "min": 0,
35 "max": "unlimited"}}}},
36 "Pipeline": {
37 "columns": {
38 "logical_datapath": {"type": "uuid"},
39 "table_id": {"type": {"key": {"type": "integer",
40 "minInteger": 0,
41 "maxInteger": 127}}},
42 "priority": {"type": {"key": {"type": "integer",
43 "minInteger": 0,
44 "maxInteger": 65535}}},
45 "match": {"type": "string"},
46 "actions": {"type": "string"}},
47 "isRoot": true},
48 "Bindings": {
49 "columns": {
50 "logical_datapath": {"type": "uuid"},
51 "logical_port": {"type": "string"},
52 "tunnel_key": {
53 "type": {"key": {"type": "integer",
54 "minInteger": 1,
55 "maxInteger": 65535}}},
56 "parent_port": {"type": {"key": "string", "min": 0, "max": 1}},
57 "tag": {
58 "type": {"key": {"type": "integer",
59 "minInteger": 0,
60 "maxInteger": 4095},
61 "min": 0, "max": 1}},
62 "chassis": {"type": "string"},
63 "mac": {"type": {"key": "string",
64 "min": 0,
65 "max": "unlimited"}}},
66 "indexes": [["logical_port"], ["tunnel_key"]],
67 "isRoot": true}},
68 "version": "1.0.0"}