command-line: add ovs_cmdl_ prefix
[cascardo/ovs.git] / vtep / vtep.ovsschema
1 {
2   "name": "hardware_vtep",
3   "cksum": "58544667 7319",
4   "tables": {
5     "Global": {
6       "columns": {
7         "managers": {
8           "type": {"key": {"type": "uuid",
9                            "refTable": "Manager"},
10                    "min": 0, "max": "unlimited"}},
11         "switches": {
12           "type": {"key": {"type": "uuid", "refTable": "Physical_Switch"},
13                    "min": 0, "max": "unlimited"}}
14       },
15       "maxRows": 1,
16       "isRoot": true},
17     "Physical_Switch": {
18       "columns": {
19         "ports": {
20           "type": {"key": {"type": "uuid", "refTable": "Physical_Port"},
21                    "min": 0, "max": "unlimited"}},
22         "name": {"type": "string"},
23         "description": {"type": "string"},
24         "management_ips": {
25           "type": {"key": {"type": "string"}, "min": 0, "max": "unlimited"}},
26         "tunnel_ips": {
27           "type": {"key": {"type": "string"}, "min": 0, "max": "unlimited"}},
28         "tunnels": {
29           "type": {"key": {"type": "uuid", "refTable": "Tunnel"},
30                    "min": 0, "max": "unlimited"}},
31         "switch_fault_status": {
32           "type": {
33             "key": "string", "min": 0, "max": "unlimited"},
34           "ephemeral": true}},
35       "indexes": [["name"]]},
36     "Physical_Port": {
37       "columns": {
38         "name": {"type": "string"},
39         "description": {"type": "string"},
40         "vlan_bindings": {
41           "type": {"key": {"type": "integer",
42                            "minInteger": 0, "maxInteger": 4095},
43                    "value": {"type": "uuid", "refTable": "Logical_Switch"},
44                    "min": 0, "max": "unlimited"}},
45         "vlan_stats": {
46           "type": {"key": {"type": "integer",
47                            "minInteger": 0, "maxInteger": 4095},
48                    "value": {"type": "uuid",
49                              "refTable": "Logical_Binding_Stats"},
50                    "min": 0, "max": "unlimited"}},
51         "port_fault_status": {
52           "type": {
53             "key": "string", "min": 0, "max": "unlimited"},
54           "ephemeral": true}}},
55     "Tunnel": {
56       "columns": {
57         "local": {
58           "type": {"key": {"type": "uuid",
59                            "refTable": "Physical_Locator"}}},
60         "remote": {
61           "type": {"key": {"type": "uuid",
62                            "refTable": "Physical_Locator"}}},
63         "bfd_config_local": {
64           "type": {"key": "string", "value": "string",
65               "min": 0, "max": "unlimited"}},
66         "bfd_config_remote": {
67           "type": {"key": "string", "value": "string",
68               "min": 0, "max": "unlimited"}},
69         "bfd_params": {
70           "type": {"key": "string", "value": "string",
71               "min": 0, "max": "unlimited"}},
72         "bfd_status": {
73           "type": {"key": "string", "value": "string",
74               "min": 0, "max": "unlimited"}}}},
75     "Logical_Binding_Stats": {
76       "columns": {
77         "bytes_from_local": {"type": "integer"},
78         "packets_from_local": {"type": "integer"},
79         "bytes_to_local": {"type": "integer"},
80         "packets_to_local": {"type": "integer"}}},
81     "Logical_Switch": {
82       "columns": {
83         "name": {"type": "string"},
84         "description": {"type": "string"},
85         "tunnel_key": {"type": {"key": "integer", "min": 0, "max": 1}}},
86       "isRoot": true,
87       "indexes": [["name"]]},
88     "Ucast_Macs_Local": {
89       "columns": {
90         "MAC": {"type": "string"},
91         "logical_switch": {
92           "type": {"key": {"type": "uuid",
93                            "refTable": "Logical_Switch"}}},
94         "locator": {
95           "type": {"key": {"type": "uuid",
96                            "refTable": "Physical_Locator"}}},
97         "ipaddr": {"type": "string"}},
98       "isRoot": true},
99     "Ucast_Macs_Remote": {
100       "columns": {
101         "MAC": {"type": "string"},
102         "logical_switch": {
103           "type": {"key": {"type": "uuid",
104                            "refTable": "Logical_Switch"}}},
105         "locator": {
106           "type": {"key": {"type": "uuid",
107                            "refTable": "Physical_Locator"}}},
108         "ipaddr": {"type": "string"}},
109       "isRoot": true},
110     "Mcast_Macs_Local": {
111       "columns": {
112         "MAC": {"type": "string"},
113         "logical_switch": {
114           "type": {"key": {"type": "uuid",
115                            "refTable": "Logical_Switch"}}},
116         "locator_set": {
117           "type": {"key": {"type": "uuid",
118                            "refTable": "Physical_Locator_Set"}}},
119         "ipaddr": {"type": "string"}},
120       "isRoot": true},
121     "Mcast_Macs_Remote": {
122       "columns": {
123         "MAC": {"type": "string"},
124         "logical_switch": {
125           "type": {"key": {"type": "uuid",
126                            "refTable": "Logical_Switch"}}},
127         "locator_set": {
128           "type": {"key": {"type": "uuid",
129                            "refTable": "Physical_Locator_Set"}}},
130         "ipaddr": {"type": "string"}},
131       "isRoot": true},
132     "Logical_Router": {
133       "columns": {
134         "name": {"type": "string"},
135         "description": {"type": "string"},
136         "switch_binding": {
137           "type": {"key": {"type": "string"},
138                    "value": {"type": "uuid",
139                              "refTable": "Logical_Switch"},
140                    "min": 0, "max": "unlimited"}},
141         "static_routes": {
142           "type": {"key": {"type": "string"},
143                    "value": {"type" : "string"},
144                    "min": 0, "max": "unlimited"}}},
145       "isRoot": true,
146       "indexes": [["name"]]},
147     "Arp_Sources_Local": {
148       "columns": {
149         "src_mac": {"type": "string"},
150       "locator": {
151         "type": {"key": {"type": "uuid",
152                          "refTable": "Physical_Locator"}}}},
153       "isRoot": true},
154     "Arp_Sources_Remote": {
155       "columns": {
156         "src_mac": {"type": "string"},
157       "locator": {
158         "type": {"key": {"type": "uuid",
159                          "refTable": "Physical_Locator"}}}},
160       "isRoot": true},
161     "Physical_Locator_Set": {
162       "columns": {
163         "locators": {
164           "type": {"key": {"type": "uuid", "refTable": "Physical_Locator"},
165                    "min": 1, "max": "unlimited"},
166                    "mutable": false}}},
167     "Physical_Locator": {
168       "columns": {
169         "encapsulation_type": {
170           "type": {
171             "key": {
172               "enum": ["set", ["vxlan_over_ipv4"]],
173               "type": "string"}},
174           "mutable": false},
175         "dst_ip": {"type": "string", "mutable": false}},
176       "indexes": [["encapsulation_type", "dst_ip"]]},
177     "Manager": {
178       "columns": {
179         "target": {"type": "string"},
180         "max_backoff": {
181           "type": {"key": {"type": "integer",
182                            "minInteger": 1000},
183                    "min": 0, "max": 1}},
184         "inactivity_probe": {
185           "type": {"key": "integer", "min": 0, "max": 1}},
186         "other_config": {
187           "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
188         "is_connected": {
189           "type": "boolean",
190           "ephemeral": true},
191         "status": {
192           "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
193           "ephemeral": true}},
194       "indexes": [["target"]],
195       "isRoot": false}},
196   "version": "1.3.0"}