This RFC series is in response to the discussion in a previous RFC patch [0].
Further work is detailed in TODOs in some of the commit messages as well as completing unit- and functional- tests and extending the build system to allow adding external plug library at build time. Please have a look and let me know what you think. 0: http://patchwork.ozlabs.org/project/ovn/patch/20210509140305.1910796-1-frode.nord...@canonical.com/ Frode Nordahl (6): ovn-sb: Add plugged_by column to Port_Binding. lib: Move OVS port functions to ovsport module patch: Consume ovsport functions lib: Add infrastructure for plugging providers controller: Add port by interfaces index binding: Consider plugging of ports on CMS request controller/binding.c | 175 ++++++++++++++++++ controller/binding.h | 1 + controller/ovn-controller.c | 18 ++ controller/patch.c | 39 +--- lib/automake.mk | 8 +- lib/ovsport.c | 253 ++++++++++++++++++++++++++ lib/ovsport.h | 61 +++++++ lib/plug-provider.h | 106 +++++++++++ lib/plug-test.c | 129 ++++++++++++++ lib/plug.c | 342 ++++++++++++++++++++++++++++++++++++ lib/plug.h | 101 +++++++++++ northd/ovn-northd.c | 31 ++++ ovn-nb.xml | 38 ++++ ovn-sb.ovsschema | 10 +- ovn-sb.xml | 15 ++ 15 files changed, 1290 insertions(+), 37 deletions(-) create mode 100644 lib/ovsport.c create mode 100644 lib/ovsport.h create mode 100644 lib/plug-provider.h create mode 100644 lib/plug-test.c create mode 100644 lib/plug.c create mode 100644 lib/plug.h -- 2.31.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev