[ovs-dev] [ovn-controller-vtep V2 0/6] Add ovn controller for VTEP

Alex Wang alexw at nicira.com
Sun Jul 5 05:38:33 UTC 2015


This series adds a new ovn controller, ovn-controller-vtep, for VTEP
enabled physical switches.  The high level architecture is similar to
the ovn-controller.  Of course the module implementation is vtep specific.

To be able to test the ovn-controller-vtep in autotest, this series include
the implementation of ovn-sbctl which allows fine query and configuration of
ovnsb db.  And the unit tests also illustrates how to ovn-controller-vtep
can be used.

In this second version of series, refinements are done based on review
from Ben.  Particularly,

1. The name of controller is changed from ovn-controller-gw to
   ovn-controller-vtep.

2. The controller patch is split into 4 smaller patches to make it
   easier to review. ;D

3. There is still few limitations listed in the some commit logs.  Should
   be easy to tackle after further discussion.

4. The update of vtep learned MACs in 'Ucast_Macs_Local's to ovnsb database
   is vaguely defined.  This requires more discussion and analysis.  Maybe
   even changes in ovnsb schema.  Should become the major TODO point.

Anyway, I think this series is definitly more closer~

Go OVN! ~

Alex Wang (6):
  ofproto-macros.at: Make check_logs() check all daemons' log files.
  ovn-sbctl: Add ovn-sbctl.
  ovn: Add controller for VTEP switch.
  ovn-controller-vtep: Add gateway module.
  ovn-controller-vtep: Add binding module.
  ovn-controller-vtep: Add pipeline module.

 manpages.mk                                   |   12 +
 ovn/.gitignore                                |    2 +
 ovn/automake.mk                               |   10 +
 ovn/controller-vtep/.gitignore                |    2 +
 ovn/controller-vtep/automake.mk               |   14 +
 ovn/controller-vtep/binding.c                 |  199 ++++++
 ovn/controller-vtep/binding.h                 |   25 +
 ovn/controller-vtep/gateway.c                 |  405 ++++++++++++
 ovn/controller-vtep/gateway.h                 |   24 +
 ovn/controller-vtep/ovn-controller-vtep.8.xml |   70 +++
 ovn/controller-vtep/ovn-controller-vtep.c     |  272 ++++++++
 ovn/controller-vtep/ovn-controller-vtep.h     |   45 ++
 ovn/controller-vtep/pipeline.c                |  505 +++++++++++++++
 ovn/controller-vtep/pipeline.h                |   25 +
 ovn/ovn-sb.xml                                |   12 +-
 ovn/ovn-sbctl.8.in                            |  160 +++++
 ovn/ovn-sbctl.c                               |  837 +++++++++++++++++++++++++
 tests/automake.mk                             |    7 +-
 tests/ofproto-macros.at                       |   13 +-
 tests/ovn-controller-vtep.at                  |  249 ++++++++
 tests/ovn-sbctl.at                            |   61 ++
 tests/testsuite.at                            |    2 +
 22 files changed, 2945 insertions(+), 6 deletions(-)
 create mode 100644 ovn/controller-vtep/.gitignore
 create mode 100644 ovn/controller-vtep/automake.mk
 create mode 100644 ovn/controller-vtep/binding.c
 create mode 100644 ovn/controller-vtep/binding.h
 create mode 100644 ovn/controller-vtep/gateway.c
 create mode 100644 ovn/controller-vtep/gateway.h
 create mode 100644 ovn/controller-vtep/ovn-controller-vtep.8.xml
 create mode 100644 ovn/controller-vtep/ovn-controller-vtep.c
 create mode 100644 ovn/controller-vtep/ovn-controller-vtep.h
 create mode 100644 ovn/controller-vtep/pipeline.c
 create mode 100644 ovn/controller-vtep/pipeline.h
 create mode 100644 ovn/ovn-sbctl.8.in
 create mode 100644 ovn/ovn-sbctl.c
 create mode 100644 tests/ovn-controller-vtep.at
 create mode 100644 tests/ovn-sbctl.at

-- 
1.7.9.5




More information about the dev mailing list