Skip to content

Instantly share code, notes, and snippets.

@gvranganvtn
Created February 17, 2016 22:14
Show Gist options
  • Save gvranganvtn/0d8dd22ba19491b39c61 to your computer and use it in GitHub Desktop.
Save gvranganvtn/0d8dd22ba19491b39c61 to your computer and use it in GitHub Desktop.
ubuntu@odl-os-control-node:~/devstack$ sudo ovs-ofctl dump-flows br-int -OOpenFlow13
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=2004.335s, table=0, n_packets=67, n_bytes=8000, in_port=1,dl_src=fa:16:3e:d0:1f:ad actions=set_field:0x426->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=1182.896s, table=0, n_packets=44, n_bytes=3754, in_port=6,dl_src=fa:16:3e:de:47:a5 actions=set_field:0x426->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=2052.341s, table=0, n_packets=3, n_bytes=258, priority=0 actions=goto_table:20
cookie=0x0, duration=1182.868s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=6 actions=drop
cookie=0x0, duration=2004.292s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=1 actions=drop
cookie=0x0, duration=1182.544s, table=0, n_packets=23, n_bytes=1942, tun_id=0x426,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=2052.272s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=2052.272s, table=20, n_packets=181, n_bytes=18498, priority=0 actions=goto_table:30
cookie=0x0, duration=1187.710s, table=20, n_packets=4, n_bytes=168, priority=1024,arp,tun_id=0x426,arp_tpa=1.2.3.5,arp_op=1 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:9e:f6:70->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163e9ef670->NXM_NX_ARP_SHA[],load:0x1020305->NXM_OF_ARP_SPA[],IN_PORT
cookie=0x0, duration=1187.420s, table=20, n_packets=2, n_bytes=84, priority=1024,arp,tun_id=0x426,arp_tpa=1.2.3.6,arp_op=1 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:de:47:a5->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163ede47a5->NXM_NX_ARP_SHA[],load:0x1020306->NXM_OF_ARP_SPA[],IN_PORT
cookie=0x0, duration=2004.468s, table=20, n_packets=7, n_bytes=294, priority=1024,arp,tun_id=0x426,arp_tpa=1.2.3.2,arp_op=1 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:d0:1f:ad->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163ed01fad->NXM_NX_ARP_SHA[],load:0x1020302->NXM_OF_ARP_SPA[],IN_PORT
cookie=0x0, duration=2052.237s, table=30, n_packets=181, n_bytes=18498, priority=0 actions=goto_table:40
cookie=0x0, duration=1183.086s, table=40, n_packets=0, n_bytes=0, priority=36001,ip,in_port=6,dl_src=fa:16:3e:de:47:a5,nw_src=1.2.3.6 actions=goto_table:50
cookie=0x0, duration=1183.301s, table=40, n_packets=4, n_bytes=1352, priority=61012,udp,tp_src=68,tp_dst=67 actions=goto_table:50
cookie=0x0, duration=1183.257s, table=40, n_packets=0, n_bytes=0, priority=61012,udp6,tp_src=546,tp_dst=547 actions=goto_table:50
cookie=0x0, duration=2052.179s, table=40, n_packets=103, n_bytes=10676, priority=0 actions=goto_table:50
cookie=0x0, duration=1181.814s, table=40, n_packets=21, n_bytes=1980, priority=61007,ip,dl_src=fa:16:3e:de:47:a5 actions=goto_table:50
cookie=0x0, duration=1183.124s, table=40, n_packets=0, n_bytes=0, priority=61011,udp6,in_port=6,tp_src=547,tp_dst=546 actions=drop
cookie=0x0, duration=1183.172s, table=40, n_packets=0, n_bytes=0, priority=61011,udp,in_port=6,tp_src=67,tp_dst=68 actions=drop
cookie=0x0, duration=1183.214s, table=40, n_packets=9, n_bytes=378, priority=61010,arp,arp_sha=fa:16:3e:de:47:a5 actions=goto_table:50
cookie=0x0, duration=2052.117s, table=50, n_packets=181, n_bytes=18498, priority=0 actions=goto_table:60
cookie=0x0, duration=2052.052s, table=60, n_packets=181, n_bytes=18498, priority=0 actions=goto_table:70
cookie=0x0, duration=2052.001s, table=70, n_packets=181, n_bytes=18498, priority=0 actions=goto_table:80
cookie=0x0, duration=2051.962s, table=80, n_packets=181, n_bytes=18498, priority=0 actions=goto_table:90
cookie=0x0, duration=2051.922s, table=90, n_packets=130, n_bytes=11630, priority=0 actions=goto_table:100
cookie=0x0, duration=1181.360s, table=90, n_packets=23, n_bytes=2702, priority=61007,ip,dl_dst=fa:16:3e:de:47:a5 actions=goto_table:100
cookie=0x0, duration=1183.344s, table=90, n_packets=0, n_bytes=0, priority=61010,arp,arp_tha=fa:16:3e:de:47:a5 actions=goto_table:100
cookie=0x0, duration=1183.367s, table=90, n_packets=0, n_bytes=0, priority=61006,udp6,dl_src=fa:16:3e:d0:1f:ad,tp_src=547,tp_dst=546 actions=goto_table:100
cookie=0x0, duration=1183.407s, table=90, n_packets=2, n_bytes=722, priority=61006,udp,dl_src=fa:16:3e:d0:1f:ad,tp_src=67,tp_dst=68 actions=goto_table:100
cookie=0x0, duration=2051.854s, table=100, n_packets=181, n_bytes=18498, priority=0 actions=goto_table:110
cookie=0x0, duration=1182.612s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x426 actions=drop
cookie=0x0, duration=2050.865s, table=110, n_packets=5, n_bytes=418, priority=0 actions=drop
cookie=0x0, duration=2003.315s, table=110, n_packets=53, n_bytes=4710, priority=16383,reg0=0x1,tun_id=0x426,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:6,output:3
cookie=0x0, duration=2003.315s, table=110, n_packets=20, n_bytes=1648, priority=16384,reg0=0x2,tun_id=0x426,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:6
cookie=0x0, duration=2003.432s, table=110, n_packets=40, n_bytes=3686, tun_id=0x426,dl_dst=fa:16:3e:d0:1f:ad actions=output:1
cookie=0x0, duration=1179.898s, table=110, n_packets=13, n_bytes=1800, tun_id=0x426,dl_dst=fa:16:3e:9e:f6:70 actions=output:3
cookie=0x0, duration=1182.773s, table=110, n_packets=23, n_bytes=2702, tun_id=0x426,dl_dst=fa:16:3e:de:47:a5 actions=output:6
ubuntu@odl-os-compute-node:~/devstack$ sudo ovs-ofctl dump-flows br-int -OOpenFlow13
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=1217.089s, table=0, n_packets=58, n_bytes=4928, in_port=2,dl_src=fa:16:3e:9e:f6:70 actions=set_field:0x426->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=1291.028s, table=0, n_packets=0, n_bytes=0, priority=0 actions=goto_table:20
cookie=0x0, duration=1217.065s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=2 actions=drop
cookie=0x0, duration=1219.130s, table=0, n_packets=30, n_bytes=3322, tun_id=0x426,in_port=1 actions=load:0x2->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=1291.028s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=1290.978s, table=20, n_packets=81, n_bytes=7956, priority=0 actions=goto_table:30
cookie=0x0, duration=1219.001s, table=20, n_packets=0, n_bytes=0, priority=1024,arp,tun_id=0x426,arp_tpa=1.2.3.5,arp_op=1 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:9e:f6:70->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163e9ef670->NXM_NX_ARP_SHA[],load:0x1020305->NXM_OF_ARP_SPA[],IN_PORT
cookie=0x0, duration=1218.965s, table=20, n_packets=2, n_bytes=84, priority=1024,arp,tun_id=0x426,arp_tpa=1.2.3.6,arp_op=1 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:de:47:a5->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163ede47a5->NXM_NX_ARP_SHA[],load:0x1020306->NXM_OF_ARP_SPA[],IN_PORT
cookie=0x0, duration=1218.895s, table=20, n_packets=5, n_bytes=210, priority=1024,arp,tun_id=0x426,arp_tpa=1.2.3.2,arp_op=1 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:d0:1f:ad->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163ed01fad->NXM_NX_ARP_SHA[],load:0x1020302->NXM_OF_ARP_SPA[],IN_PORT
cookie=0x0, duration=1290.940s, table=30, n_packets=81, n_bytes=7956, priority=0 actions=goto_table:40
cookie=0x0, duration=1217.389s, table=40, n_packets=31, n_bytes=2986, priority=36001,ip,in_port=2,dl_src=fa:16:3e:9e:f6:70,nw_src=1.2.3.5 actions=goto_table:50
cookie=0x0, duration=1217.618s, table=40, n_packets=4, n_bytes=1352, priority=61012,udp,tp_src=68,tp_dst=67 actions=goto_table:50
cookie=0x0, duration=1217.582s, table=40, n_packets=0, n_bytes=0, priority=61012,udp6,tp_src=546,tp_dst=547 actions=goto_table:50
cookie=0x0, duration=1290.921s, table=40, n_packets=28, n_bytes=2646, priority=0 actions=goto_table:50
cookie=0x0, duration=1215.832s, table=40, n_packets=6, n_bytes=468, priority=61007,ipv6,dl_src=fa:16:3e:9e:f6:70 actions=goto_table:50
cookie=0x0, duration=1217.456s, table=40, n_packets=0, n_bytes=0, priority=61011,udp6,in_port=2,tp_src=547,tp_dst=546 actions=drop
cookie=0x0, duration=1217.519s, table=40, n_packets=0, n_bytes=0, priority=61011,udp,in_port=2,tp_src=67,tp_dst=68 actions=drop
cookie=0x0, duration=1217.541s, table=40, n_packets=12, n_bytes=504, priority=61010,arp,arp_sha=fa:16:3e:9e:f6:70 actions=goto_table:50
cookie=0x0, duration=1290.900s, table=50, n_packets=81, n_bytes=7956, priority=0 actions=goto_table:60
cookie=0x0, duration=1290.880s, table=60, n_packets=81, n_bytes=7956, priority=0 actions=goto_table:70
cookie=0x0, duration=1290.858s, table=70, n_packets=81, n_bytes=7956, priority=0 actions=goto_table:80
cookie=0x0, duration=1290.833s, table=80, n_packets=81, n_bytes=7956, priority=0 actions=goto_table:90
cookie=0x0, duration=1290.812s, table=90, n_packets=79, n_bytes=7234, priority=0 actions=goto_table:100
cookie=0x0, duration=1215.982s, table=90, n_packets=0, n_bytes=0, priority=61007,ipv6,dl_dst=fa:16:3e:9e:f6:70 actions=goto_table:100
cookie=0x0, duration=1217.636s, table=90, n_packets=0, n_bytes=0, priority=61010,arp,arp_tha=fa:16:3e:9e:f6:70 actions=goto_table:100
cookie=0x0, duration=1217.658s, table=90, n_packets=0, n_bytes=0, priority=61006,udp6,dl_src=fa:16:3e:d0:1f:ad,tp_src=547,tp_dst=546 actions=goto_table:100
cookie=0x0, duration=1217.658s, table=90, n_packets=2, n_bytes=722, priority=61006,udp,dl_src=fa:16:3e:d0:1f:ad,tp_src=67,tp_dst=68 actions=goto_table:100
cookie=0x0, duration=1290.792s, table=100, n_packets=81, n_bytes=7956, priority=0 actions=goto_table:110
cookie=0x0, duration=1216.776s, table=110, n_packets=28, n_bytes=2692, priority=8192,tun_id=0x426 actions=drop
cookie=0x0, duration=1290.202s, table=110, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x0, duration=1219.078s, table=110, n_packets=20, n_bytes=1648, priority=16383,reg0=0x1,tun_id=0x426,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:2
cookie=0x0, duration=1216.877s, table=110, n_packets=17, n_bytes=1522, priority=16384,reg0=0x2,tun_id=0x426,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2
cookie=0x0, duration=1219.169s, table=110, n_packets=3, n_bytes=294, tun_id=0x426,dl_dst=fa:16:3e:de:47:a5 actions=output:1
cookie=0x0, duration=1216.963s, table=110, n_packets=13, n_bytes=1800, tun_id=0x426,dl_dst=fa:16:3e:9e:f6:70 actions=output:2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment