Hi, I am looking at sflow flow counters on collectors and each counter is associated with an ifindex. To interpret them correctly I need to find the ofport to which this ifindex corresponds. Is there a ovs-vsctl command to do that (I can't find any). The closest I could get to finding this mapping is to do a ovs-dpctl dump-flows | grep <ifindex> which shows the ifindex in the actions field e.g: actions:sample(sample=100.0%,actions(userspace(pid=4294963034,sFlow(vid=0,pcp=0,output=<ifindex>)))),17.
And then again, the dpctl shows datapath ports and I don't know how I can convert it to ofports. Also, if I take this route, these flows expire in period of non-activity and it might be good if you could let me know of a solution that gives persistent mapping. Thanks, Salman
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss