This patch set adds a new feature in OVN. i.e Remote Port Mirroring Already in this support is present. We are leveraging that and trying to add support in OVN. So that from OVN APIs we can create/delete mirrors and attach and detaches sources to them.
Mirror creation just creates the mirror. The lsp-attach-mirror triggers the sequence to create Mirror in OVS DB on compute node. Note: This is targeted to mirror to destinations anywhere outside the cluster where the analyser resides and it need not be an OVN node. Abhiram R N (3): OVN Remote Port Mirroring: Add new Schemas in NB and SB OVN Remote Port Mirroring: northd changes to sync NB and SB OVN Remote Port Mirroring: controller changes to create ovs mirrors NEWS | 1 + controller/automake.mk | 4 +- controller/mirror.c | 416 +++++++++++++++++++++++++++++ controller/mirror.h | 33 +++ controller/ovn-controller.c | 9 + northd/en-northd.c | 4 + northd/inc-proc-northd.c | 4 + northd/northd.c | 133 ++++++++++ northd/northd.h | 2 + ovn-nb.ovsschema | 31 ++- ovn-nb.xml | 63 +++++ ovn-sb.ovsschema | 26 +- ovn-sb.xml | 50 ++++ tests/ovn-nbctl.at | 124 +++++++++ tests/ovn-northd.at | 105 ++++++++ tests/ovn.at | 514 ++++++++++++++++++++++++++++++++++++ utilities/ovn-nbctl.c | 360 +++++++++++++++++++++++++ utilities/ovn-sbctl.c | 4 + 18 files changed, 1878 insertions(+), 5 deletions(-) create mode 100644 controller/mirror.c create mode 100644 controller/mirror.h -- 2.31.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
