]> git.proxmox.com Git - mirror_ovs.git/blob - ovn/ovn-sb.ovsschema
ovn: Rename Binding table to Port_Binding.
[mirror_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": {"vlan_map": {"type": {"key": {"type": "integer",
30 "minInteger": 0,
31 "maxInteger": 4095},
32 "value": {"type": "string"},
33 "min": 0,
34 "max": "unlimited"}}}},
35 "Pipeline": {
36 "columns": {
37 "logical_datapath": {"type": "uuid"},
38 "table_id": {"type": {"key": {"type": "integer",
39 "minInteger": 0,
40 "maxInteger": 31}}},
41 "priority": {"type": {"key": {"type": "integer",
42 "minInteger": 0,
43 "maxInteger": 65535}}},
44 "match": {"type": "string"},
45 "actions": {"type": "string"}},
46 "isRoot": true},
47 "Port_Binding": {
48 "columns": {
49 "logical_datapath": {"type": "uuid"},
50 "logical_port": {"type": "string"},
51 "type": {"type": "string"},
52 "options": {
53 "type": {"key": "string",
54 "value": "string",
55 "min": 0,
56 "max": "unlimited"}},
57 "tunnel_key": {
58 "type": {"key": {"type": "integer",
59 "minInteger": 1,
60 "maxInteger": 65535}}},
61 "parent_port": {"type": {"key": "string", "min": 0, "max": 1}},
62 "tag": {
63 "type": {"key": {"type": "integer",
64 "minInteger": 0,
65 "maxInteger": 4095},
66 "min": 0, "max": 1}},
67 "chassis": {"type": {"key": {"type": "uuid",
68 "refTable": "Chassis",
69 "refType": "weak"},
70 "min": 0, "max": 1}},
71 "mac": {"type": {"key": "string",
72 "min": 0,
73 "max": "unlimited"}}},
74 "indexes": [["logical_port"], ["tunnel_key"]],
75 "isRoot": true}},
76 "version": "1.0.0"}