diff options
author | Russell Bryant <rbryant@redhat.com> | 2015-07-31 13:14:42 -0400 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2015-07-31 16:08:34 -0700 |
commit | 1a76c93e03066c1c694c8c4f80cf32a9de380492 (patch) | |
tree | 91e8fd5b6b25478989528ac4846ec7c1691444b1 /ovn/ovn-sb.ovsschema | |
parent | 7962b7f0168ef7d041ff820d66553b30b15b106f (diff) | |
download | openvswitch-1a76c93e03066c1c694c8c4f80cf32a9de380492.tar.gz |
ovn: Add type and options to logical port.
We have started discussing the use of the logical port abstraction in
OVN to represent special types of connections into an OVN logical
switch. This patch proposes some schema updates to reflect these
special types of logical ports. A logical port can have a "type" and
a set of options specific to that type.
Some examples of logical port types would be "vtep" for connectivity
to a VTEP gateway or "localnet" for a connection to a locally
accessible network via an ovs bridge. Actualy support for these (or
other) types will come in later patches.
Signed-off-by: Russell Bryant <rbryant@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ovn/ovn-sb.ovsschema')
-rw-r--r-- | ovn/ovn-sb.ovsschema | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ovn/ovn-sb.ovsschema b/ovn/ovn-sb.ovsschema index f255006b9..e50e67143 100644 --- a/ovn/ovn-sb.ovsschema +++ b/ovn/ovn-sb.ovsschema @@ -48,6 +48,12 @@ "columns": { "logical_datapath": {"type": "uuid"}, "logical_port": {"type": "string"}, + "type": {"type": "string"}, + "options": { + "type": {"key": "string", + "value": "string", + "min": 0, + "max": "unlimited"}}, "tunnel_key": { "type": {"key": {"type": "integer", "minInteger": 1, |