ovn-controller: Loopback prevention flows for local ports only.
[cascardo/ovs.git] / ovn / ovn-sb.ovsschema
1 {
2     "name": "OVN_Southbound",
3     "version": "1.3.0",
4     "cksum": "654726257 5528",
5     "tables": {
6         "Chassis": {
7             "columns": {
8                 "name": {"type": "string"},
9                 "hostname": {"type": "string"},
10                 "encaps": {"type": {"key": {"type": "uuid",
11                                             "refTable": "Encap"},
12                                     "min": 1, "max": "unlimited"}},
13                 "vtep_logical_switches" : {"type": {"key": "string",
14                                                     "min": 0,
15                                                     "max": "unlimited"}},
16                 "external_ids": {
17                     "type": {"key": "string", "value": "string",
18                              "min": 0, "max": "unlimited"}}},
19             "isRoot": true,
20             "indexes": [["name"]]},
21         "Encap": {
22             "columns": {
23                 "type": {"type": {"key": {
24                            "type": "string",
25                            "enum": ["set", ["geneve", "stt", "vxlan"]]}}},
26                 "options": {"type": {"key": "string",
27                                      "value": "string",
28                                      "min": 0,
29                                      "max": "unlimited"}},
30                 "ip": {"type": "string"}}},
31         "Logical_Flow": {
32             "columns": {
33                 "logical_datapath": {"type": {"key": {"type": "uuid",
34                                                       "refTable": "Datapath_Binding"}}},
35                 "pipeline": {"type": {"key": {"type": "string",
36                                       "enum": ["set", ["ingress",
37                                                        "egress"]]}}},
38                 "table_id": {"type": {"key": {"type": "integer",
39                                               "minInteger": 0,
40                                               "maxInteger": 15}}},
41                 "priority": {"type": {"key": {"type": "integer",
42                                               "minInteger": 0,
43                                               "maxInteger": 65535}}},
44                 "match": {"type": "string"},
45                 "actions": {"type": "string"},
46                 "external_ids": {
47                     "type": {"key": "string", "value": "string",
48                              "min": 0, "max": "unlimited"}}},
49             "isRoot": true},
50         "Multicast_Group": {
51             "columns": {
52                 "datapath": {"type": {"key": {"type": "uuid",
53                                               "refTable": "Datapath_Binding"}}},
54                 "name": {"type": "string"},
55                 "tunnel_key": {
56                     "type": {"key": {"type": "integer",
57                                      "minInteger": 32768,
58                                      "maxInteger": 65535}}},
59                 "ports": {"type": {"key": {"type": "uuid",
60                                            "refTable": "Port_Binding",
61                                            "refType": "weak"},
62                                    "min": 1, "max": "unlimited"}}},
63             "indexes": [["datapath", "tunnel_key"],
64                         ["datapath", "name"]],
65             "isRoot": true},
66         "Datapath_Binding": {
67             "columns": {
68                 "tunnel_key": {
69                      "type": {"key": {"type": "integer",
70                                       "minInteger": 1,
71                                       "maxInteger": 16777215}}},
72                 "external_ids": {
73                     "type": {"key": "string", "value": "string",
74                              "min": 0, "max": "unlimited"}}},
75             "indexes": [["tunnel_key"]],
76             "isRoot": true},
77         "Port_Binding": {
78             "columns": {
79                 "logical_port": {"type": "string"},
80                 "type": {"type": "string"},
81                 "options": {
82                      "type": {"key": "string",
83                               "value": "string",
84                               "min": 0,
85                               "max": "unlimited"}},
86                 "datapath": {"type": {"key": {"type": "uuid",
87                                               "refTable": "Datapath_Binding"}}},
88                 "tunnel_key": {
89                      "type": {"key": {"type": "integer",
90                                       "minInteger": 1,
91                                       "maxInteger": 32767}}},
92                 "parent_port": {"type": {"key": "string", "min": 0, "max": 1}},
93                 "tag": {
94                      "type": {"key": {"type": "integer",
95                                       "minInteger": 1,
96                                       "maxInteger": 4095},
97                               "min": 0, "max": 1}},
98                 "chassis": {"type": {"key": {"type": "uuid",
99                                              "refTable": "Chassis",
100                                              "refType": "weak"},
101                                      "min": 0, "max": 1}},
102                 "mac": {"type": {"key": "string",
103                                  "min": 0,
104                                  "max": "unlimited"}}},
105             "indexes": [["datapath", "tunnel_key"], ["logical_port"]],
106             "isRoot": true},
107         "MAC_Binding": {
108             "columns": {
109                 "logical_port": {"type": "string"},
110                 "ip": {"type": "string"},
111                 "mac": {"type": "string"}},
112             "indexes": [["logical_port", "ip"]],
113             "isRoot": true}}}