Hi Ben,

Thanks for taking a look.
Sure, i will handle this in v2.

Regards,
Ankur

________________________________
From: Ben Pfaff <[email protected]>
Sent: Monday, November 5, 2018 1:03:24 PM
To: Ankur Sharma
Cc: [email protected]
Subject: Re: [ovs-dev] [PATCH v1 1/3] Vlan Support in ovn, add network type in 
northbound schema

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
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to