Ben Pfaff
7aa697ddd2
ofproto: Add "ofproto/trace" command to help debugging flow tables.
With an appropriate flow table, output from a command like this:
ovs-appctl ofproto/trace system@dp0 0 0 ffffffffffff000c29f49d5c080600010
80006040001000c29f49d5cac10008a000000000000ac1004df00000000000000000000000000000
0000000
resembles the following:
Packet: -8:00:00.000000 00:0c:29:f4:9d:5c > ff:ff:ff:ff:ff:ff, ethertype ARP (0x
0806), length 60: arp who-has 172.16.4.223 tell 172.16.0.138
Flow: tunnel0:in_port0000:tci(0) mac00:0c:29:f4:9d:5c->ff:ff:ff:ff:ff:ff type080
6 proto1 tos0 ip172.16.0.138->172.16.4.223 port0->0
Rule: cookie=0 in_port=65534
OpenFlow actions=resubmit:1,mod_vlan_vid:5,resubmit:2,mod_vlan_pcp:6,strip_vlan
Resubmitted flow: unchanged
Rule: cookie=0 in_port=1
OpenFlow actions=resubmit:3,resubmit:4
Resubmitted flow: unchanged
No match
Resubmitted flow: unchanged
No match
Resubmitted flow: tunnel0:in_port0000:tci(vlan5,pcp0) mac00:0c:29:f4:9d:
5c->ff:ff:ff:ff:ff:ff type0806 proto1 tos0 ip172.16.0.138->172.16.4.223 port0->0
No match
Final flow: tunnel0:in_port0000:tci(0) mac00:0c:29:f4:9d:5c->ff:ff:ff:ff:ff:ff t
ype0806 proto1 tos0 ip172.16.0.138->172.16.4.223 port0->0
Datapath actions: set_tci(vid=5,pcp=0),set_tci(vid=5,pcp=6),strip_vlan
2010-12-09 15:00:36 -08:00
..
2010-11-16 15:13:10 -08:00
2010-11-10 09:54:25 -08:00
2010-09-13 21:55:56 -07:00
2009-07-08 13:19:16 -07:00
2010-11-23 09:50:10 -08:00
2009-06-25 00:36:42 -07:00
2010-09-23 11:20:28 -07:00
2009-07-08 13:19:16 -07:00
2009-07-08 13:19:16 -07:00
2010-09-23 04:58:39 -07:00
2010-08-25 08:10:06 -07:00
2009-07-08 13:19:16 -07:00
2009-07-08 13:19:16 -07:00
2010-09-23 18:21:31 -07:00
2009-07-08 13:19:16 -07:00
2009-07-08 13:19:16 -07:00
2009-07-08 13:19:16 -07:00
2009-07-08 10:30:42 -07:00
2010-08-11 16:16:55 -07:00
2009-07-08 13:19:16 -07:00
2009-07-08 13:19:16 -07:00
2009-12-15 13:11:59 -08:00
2010-09-21 10:39:45 -07:00
2010-09-22 22:23:23 -07:00
2010-09-27 18:33:56 -07:00
2010-09-22 22:23:23 -07:00
2009-07-08 13:19:16 -07:00
2009-07-08 13:19:16 -07:00
2009-07-08 13:19:16 -07:00
2010-03-31 23:14:00 -07:00
2010-03-31 23:14:00 -07:00
2010-10-15 13:41:46 -07:00
2010-10-15 13:41:46 -07:00
2010-12-09 15:00:36 -08:00
2010-03-31 23:14:00 -07:00
2009-12-15 13:12:00 -08:00
2010-09-21 10:39:27 -07:00
2010-03-31 23:14:00 -07:00
2010-08-30 11:38:50 -07:00
2010-03-31 23:14:00 -07:00
2010-10-20 15:43:51 -07:00
2010-09-23 04:58:39 -07:00
2010-10-17 22:43:14 -07:00
2010-09-21 11:33:07 -07:00
2010-09-21 11:33:07 -07:00
2010-11-16 15:07:10 -08:00
2010-08-11 16:16:55 -07:00