The following patch series supports physical endpoints and their binding to 
logical ports.
Physical endpoints are defined here as endpoints at the border of a physical 
network.
This presently applies to localnet and gateways.

For localnet physical endpoints, chassis name and chassis port can be supplied 
as
dummy arguments or omitted. If chassis and port are omitted, the same 
encapsulation
on all HVs part of a given localnet is implied and a single logical port should 
be used.
Then the physical endpoint is bound to the localnet logical port.
If multiple encapsulations are needed, multiple physical endpoints would be 
defined
and bound to separate localnet logical ports.
If no physical endpt is bound to a localnet, encap is assumed empty.

Note that physical location information for localnet ports can also serve just
for administrative purposes as well.

Note, there is no cleanup of northbound schema doc regarding tagging for
localnet, which is included under Container tagging, which is an error.
Cleanup will be done a separate patch to track this error better.

For gateways, a single physical endpoint must be bound to each logical port.
The chassis name must match the chassis system-id. All 6 arguments should
be supplied for gateway physical endpoints configuration.

The localnet test is updated to use physical endpoints

The SB schema version is not updated since OVN upgrade is not applicable yet. 

The next patch series will bring in software gateway changes which will also use
physical endpoints. Some aspects of the gateway code are included here for
illustrative purposes regarding physical endpoints.
A new test will be added for software gateways in the next patch that also 
exercises
physical endpoints.

Darrell Ball (6):
  Add physical endpts and binding to logical ports to SB schema
  Add physical endpts and binding to logical ports to SB schema doc
  Support physical endpts and binding to logical ports in sbctl
  Update sbctl man page for physical endpts and binding to logical ports
  Update ovn-controller flow generation to use physical endpoints encap
  Update localnet ovn test to use physical endpoints

 ovn/controller/physical.c    |  42 +++++-
 ovn/ovn-sb.ovsschema         |  21 ++-
 ovn/ovn-sb.xml               |  68 ++++++++++
 ovn/utilities/ovn-sbctl.8.in |  48 +++++++
 ovn/utilities/ovn-sbctl.c    | 295 ++++++++++++++++++++++++++++++++++++++++++-
 tests/ovn.at                 |   3 +
 6 files changed, 468 insertions(+), 9 deletions(-)

-- 
1.9.1

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to