This series adds a ovn controller, ovn-controller-gw, for VTEP enabled
switch. 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-gw in autotest, this series include
the implementation of ovn-sbctl which allows fine query and configuration of
ovn-sb db. And the unit tests also illustrates how to ovn-controller-gw
can be used.
There is still few limitations listed in the last patch. Will work on
address them. Then, I'd be really longing for a real vtep switch so
that I can play my controller with it~
Go OVN! ~
Alex Wang (4):
ovn: Add ovn/lib/libovn.sym to .gitignore.
ofproto-macros.at: Allow user to specify file to check in
check_logs().
ovn-sbctl: Add ovn-sbctl.
ovn: Add controller for VTEP switch.
manpages.mk | 12 +
ovn/.gitignore | 2 +
ovn/automake.mk | 10 +
ovn/controller-gw/.gitignore | 1 +
ovn/controller-gw/automake.mk | 11 +
ovn/controller-gw/binding.c | 151 ++++++
ovn/controller-gw/binding.h | 25 +
ovn/controller-gw/gateway.c | 388 +++++++++++++++
ovn/controller-gw/gateway.h | 24 +
ovn/controller-gw/ovn-controller-gw.c | 272 +++++++++++
ovn/controller-gw/ovn-controller-gw.h | 45 ++
ovn/controller-gw/pipeline.c | 525 ++++++++++++++++++++
ovn/controller-gw/pipeline.h | 25 +
ovn/lib/.gitignore | 1 +
ovn/ovn-sb.xml | 3 +-
ovn/ovn-sbctl.8.in | 159 +++++++
ovn/ovn-sbctl.c | 842 +++++++++++++++++++++++++++++++++
tests/automake.mk | 7 +-
tests/ofproto-macros.at | 9 +-
tests/ovn-controller-gw.at | 229 +++++++++
tests/ovn-sbctl.at | 61 +++
tests/testsuite.at | 2 +
22 files changed, 2797 insertions(+), 7 deletions(-)
create mode 100644 ovn/controller-gw/.gitignore
create mode 100644 ovn/controller-gw/automake.mk
create mode 100644 ovn/controller-gw/binding.c
create mode 100644 ovn/controller-gw/binding.h
create mode 100644 ovn/controller-gw/gateway.c
create mode 100644 ovn/controller-gw/gateway.h
create mode 100644 ovn/controller-gw/ovn-controller-gw.c
create mode 100644 ovn/controller-gw/ovn-controller-gw.h
create mode 100644 ovn/controller-gw/pipeline.c
create mode 100644 ovn/controller-gw/pipeline.h
create mode 100644 ovn/ovn-sbctl.8.in
create mode 100644 ovn/ovn-sbctl.c
create mode 100644 tests/ovn-controller-gw.at
create mode 100644 tests/ovn-sbctl.at
--
1.7.9.5
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev