Description of problem: Currently there is not support in OVN to do remote mirroring of packets. Also the Remote mirroring of packets should work well with HW offload. This is targeted to mirror to destinations anywhere outside the cluster where the analyser resides and it need not be an OVN node. Version-Release number of selected component (if applicable): How reproducible: NA .. Currently no commands available Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Currently working on it. Waiting for review comments. Below is the patch details. https://patchwork.ozlabs.org/project/ovn/patch/20220613135053.393095-1-abhiramrn@gmail.com/
Got few review comments on my previous patch(v2) from Numan. I have addressed them and also fixed all the open issues. All tests are passing now. Submitted v3 patch https://patchwork.ozlabs.org/project/ovn/patch/20220622183629.369637-1-abhiramrn@gmail.com/
Got few more review comments from Numan and Ihar. I have addressed those and sbumitted v6 patch https://patchwork.ozlabs.org/project/ovn/patch/20220911142620.580796-1-abhiramrn@gmail.com/
Submitted v7 patch https://patchwork.ozlabs.org/project/ovn/patch/20220928130825.192278-1-abhiramrn@gmail.com/
Hi Gurpreet, Currently we are supporting only GRE for remote port mirroring in context of hw-offload. And for that we dont have any needed from NVIDIA at the moment. For VxLan/Geneve we dont support as of now. In future if this needs to be supported we need to raise new RFE and plan for it. Thanks & Regards, Abhiram R N
Submitted v13 patch and all the tests have passed in Github https://patchwork.ozlabs.org/project/ovn/patch/20221104190908.346220-1-abhiramrn@gmail.com/
Submitted the patch set with incorporating all review comments. https://patchwork.ozlabs.org/project/ovn/list/?series=330873 Thanks & Regards, Abhiram R N
OVN changes Merged upstream https://github.com/ovn-org/ovn/commit/3ec027b225dae6c61b05162969c0b814567fc30c https://github.com/ovn-org/ovn/commit/f2c6b9fadac87ec9dd664ebf7658968293f4af08 https://github.com/ovn-org/ovn/commit/ba8aa26e44cb62362d468cf835aa0951165ba51c There are couple of open issues in OVS for which we have created BZs (as below for refernce) https://bugzilla.redhat.com/show_bug.cgi?id=2153380 https://bugzilla.redhat.com/show_bug.cgi?id=2155579
Hi Abhiram, Does mirror work for lsp with router type and lsp with localnet type?
Hi @jishi , Good question. No, it does NOT work with localnet or router type. Just some additional information: In this feature we are using the OVS feature of Mirroring. And creating OVS Mirrors using the OVN commands. So, it works only such lsps which have a corresponding mapping in OVS with external-ids set to the lsp created in OVN. Thanks & Regards, Abhiram R N
reported 3 bugs : bz2168009, bz2168087 and bz2168119. others works fine by now. set Verified