Bug 1916277

Summary: [RFE] Print OVN context from a ofproto flow
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Adrián Moreno <amorenoz>
Component: openvswitch2.15Assignee: Adrián Moreno <amorenoz>
Status: NEW --- QA Contact: Zhiqiang Fang <zfang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: FDP 20.ECC: amorenoz, ctrautma, dceara, jhsiao, mmichels, ralongi
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adrián Moreno 2021-01-14 13:10:06 UTC
For troubleshooting, it would be very useful to have a tool that would take an ovs flow as input and would print everything that OVN knows about that flow.

Ideally, the tool should have the option to print the result in machine-readable format.

Comment 2 Mark Michelson 2021-12-03 19:37:25 UTC
@Adrian,

I may be wrong, but I think you may have implemented this feature now as part of the work you have done for debugging OVS/OVN. Is this request still needed?

Comment 3 Adrián Moreno 2021-12-09 12:42:20 UTC
Hi @mmichels@mmichels .

I think we could consider the job done from OVN's side with the patches that expose ovn-detrace functionality as a python module.

Now, any external tool can gather this information. I can move this issue to OVS so we implement the client-side of this in ovs-ofparse (I have it implemented already in my private repo but I have to send it upstream)