On Fri, Oct 26, 2018 at 01:39:35AM +0000, Ankur Sharma wrote:
> This Patch:
> a. Add 1 more column to the Logical_Switch table in north bound
>    schema, to indicate if a logical switch is of type "vlan" or "overlay".
>    We will support NULL value in this table as well, to keep it backward
>    compatible. NULL value will be treated as "overlay" type by northd.

The usual way to do that in OVSDB is to allow the column to be empty,
like this:

   "network_type": {"type": {"key": {"type": "string",
                                     "enum": ["set", ["overlay", "vlan"]]},
                             "min": 0,
                             "max": 1}},
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to