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