This patch series updates the OVN SB schema to support logical/physical separation for localnet and SW gateway. A SB physical endpoint table is introduced to achieve this, which will also support various other encaps besides single vlan.
The existing tag field for localnet is left for now, for comparison. Very little testing has been done. Existing OVN test support is not updated and hence the localnet test fails; later the existing localnet test will be updated to use sbctl for physical endpt binding. Once L2 support is in place for the new SW gateway using ovn-controller to program flows, a corresponding SW gateway test will be added similar to the ovs-vtep test. This patch does not support the hardware gateway yet which requires vlan bindings updates to the physical port table of the vtep DB. This would be done by ovn-controller-vtep by reading the SB DB. This patch also mentions deprecation of some vtep options - vtep-logical-switch and vtep-physical-switch, but this is not supported by this patch and may be demonstrated in a further patch. The motivation to do this is to remove physical context from the NB DB. The new SB physical endpoint table facilitates this objective, hence the comments. Darrel Ball (4): Update OVN SB to use physical endpoints table Update OVN SB documentation to use physical endpoints table and mention possible deprecation of vtep logical port options which would require other changes for HW VTEP side and cleanup of OVN NB schema Update sbctl to support OVN SB physical endpoint table usage and associated changes in the port binding table Update flow generation for localnet and future software gateway to source physical endpoint encapsulation from the OVN SB physical endpoint table ovn/controller/physical.c | 23 +++- ovn/ovn-sb.ovsschema | 21 +++- ovn/ovn-sb.xml | 54 ++++++++++ ovn/utilities/ovn-sbctl.c | 263 +++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 352 insertions(+), 9 deletions(-) -- 1.9.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev