OpenFlow flows are hard to debug

Bug #1549803 reported by Itzik Brown
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-odl
Opinion
Wishlist
Unassigned

Bug Description

When debugging it's hard to follow the flows.
It may be a good idea to have a tool that will assist and make it easier to debug.
For example showing the name of the ports with the flow dumps. Sorting tables by priority etc.

Revision history for this message
yalei wang (yalei-wang) wrote :

do you mean inside the networking-odl?

Revision history for this message
Hynek Mlnarik (hmlnarik-s) wrote :

Would the formatter from https://gist.github.com/djoreilly/3bcd6a81d9504bf740c4 help? It reformats and sorts the output of ovs-ofctl dump-flows, e.g:

table=0 priority=10 icmp6,in_port=qvo850de6e4-2d,icmp_type=136 actions=resubmit(,24)
table=0 priority=10 icmp6,in_port=qvo68f29806-97,icmp_type=136 actions=resubmit(,24)
table=0 priority=10 arp,in_port=qvo850de6e4-2d actions=resubmit(,24)
table=0 priority=10 arp,in_port=qvo68f29806-97 actions=resubmit(,24)
table=0 priority=2 in_port=int-br-eth1 actions=drop
table=0 priority=0 actions=NORMAL
table=23 priority=0 actions=drop
table=24 priority=2 icmp6,in_port=qvo850de6e4-2d,icmp_type=136,nd_target=fd93:21c2:fbbb:0:f816:3eff:fe32:c7a1 actions=NORMAL
table=24 priority=2 icmp6,in_port=qvo850de6e4-2d,icmp_type=136,nd_target=fe80::f816:3eff:fe32:c7a1 actions=NORMAL
table=24 priority=2 icmp6,in_port=qvo68f29806-97,icmp_type=136,nd_target=fe80::f816:3eff:fe85:13d1 actions=NORMAL
table=24 priority=2 icmp6,in_port=qvo68f29806-97,icmp_type=136,nd_target=fd93:21c2:fbbb:0:f816:3eff:fe85:13d1 actions=NORMAL
table=24 priority=2 arp,in_port=qvo850de6e4-2d,arp_spa=10.0.0.6 actions=NORMAL
table=24 priority=2 arp,in_port=qvo68f29806-97,arp_spa=10.0.0.5 actions=NORMAL
table=24 priority=0 actions=drop

Revision history for this message
Itzik Brown (itzikb1) wrote :

It's better., thanks.
I see that there is a tool called easyovs https://github.com/yeasy/easyOVS

Changed in networking-odl:
status: New → Opinion
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.