appveyor: Renew SSL link.
[cascardo/ovs.git] / ovn / ovn-nb.ovsschema
1 {
2     "name": "OVN_Northbound",
3     "tables": {
4         "Logical_Switch": {
5             "columns": {
6                 "name": {"type": "string"},
7                 "ports": {"type": {"key": {"type": "uuid",
8                                            "refTable": "Logical_Port",
9                                            "refType": "strong"},
10                                    "min": 0,
11                                    "max": "unlimited"}},
12                 "acls": {"type": {"key": {"type": "uuid",
13                                           "refTable": "ACL",
14                                           "refType": "strong"},
15                                   "min": 0,
16                                   "max": "unlimited"}},
17                 "router_port": {"type": {"key": {"type": "uuid",
18                                                  "refTable": "Logical_Router_Port",
19                                                  "refType": "strong"},
20                                          "min": 0, "max": 1}},
21                 "external_ids": {
22                     "type": {"key": "string", "value": "string",
23                              "min": 0, "max": "unlimited"}}},
24             "isRoot": true},
25         "Logical_Port": {
26             "columns": {
27                 "name": {"type": "string"},
28                 "type": {"type": "string"},
29                 "options": {
30                      "type": {"key": "string",
31                               "value": "string",
32                               "min": 0,
33                               "max": "unlimited"}},
34                 "parent_name": {"type": {"key": "string", "min": 0, "max": 1}},
35                 "tag": {
36                      "type": {"key": {"type": "integer",
37                                       "minInteger": 0,
38                                       "maxInteger": 4095},
39                               "min": 0, "max": 1}},
40                 "macs": {"type": {"key": "string",
41                                   "min": 0,
42                                   "max": "unlimited"}},
43                 "port_security": {"type": {"key": "string",
44                                            "min": 0,
45                                            "max": "unlimited"}},
46                 "up": {"type": {"key": "boolean", "min": 0, "max": 1}},
47                 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
48                 "external_ids": {
49                     "type": {"key": "string", "value": "string",
50                              "min": 0, "max": "unlimited"}}},
51             "indexes": [["name"]],
52             "isRoot": false},
53         "ACL": {
54             "columns": {
55                 "priority": {"type": {"key": {"type": "integer",
56                                               "minInteger": 1,
57                                               "maxInteger": 65535}}},
58                 "match": {"type": "string"},
59                 "action": {"type": {"key": {"type": "string",
60                                             "enum": ["set", ["allow", "allow-related", "drop", "reject"]]}}},
61                 "log": {"type": "boolean"},
62                 "external_ids": {
63                     "type": {"key": "string", "value": "string",
64                              "min": 0, "max": "unlimited"}}},
65             "isRoot": false},
66         "Logical_Router": {
67             "columns": {
68                 "name": {"type": "string"},
69                 "ports": {"type": {"key": {"type": "uuid",
70                                            "refTable": "Logical_Router_Port",
71                                            "refType": "weak"},
72                                    "min": 0,
73                                    "max": "unlimited"}},
74                 "default_gw": {"type": {"key": "string", "min": 0, "max": 1}},
75                 "external_ids": {
76                     "type": {"key": "string", "value": "string",
77                              "min": 0, "max": "unlimited"}}},
78             "isRoot": true},
79         "Logical_Router_Port": {
80             "columns": {
81                 "name": {"type": "string"},
82                 "network": {"type": "string"},
83                 "mac": {"type": "string"},
84                 "external_ids": {
85                     "type": {"key": "string", "value": "string",
86                              "min": 0, "max": "unlimited"}}},
87             "isRoot": false}},
88     "version": "1.0.0"}