[ovs-discuss] ovs-dpctl dump-flows output

Hui Xiang xianghuir at gmail.com
Tue Feb 23 07:25:24 UTC 2016


Hi all,

Could anyone help to point out what does below output represents? Is there
any document help to refer? My environment is based on OpenStack neutron.

1) Does the 'actions=NORMAL' in ovs-ofctl dump-flows makes ovs-dpctl
dump-flows output looks like a learning switch?
2) 'arp(sip=192.168.21.1,tip=192.168.21.1)' means source_ip equals to
'192.168.21.1', dst_ip equals to '192.168.21.1' as well, does it make sense
for ARP request?


# ovs-ofctl dump-flows br-int
NXST_FLOW reply (xid=0x4):
 cookie=0xbc9b6a1a69c29031, duration=430362.628s, table=0, n_packets=0,
n_bytes=0, idle_age=65534, hard_age=65534, priority=2,in_port=1 actions=drop
 cookie=0xbc9b6a1a69c29031, duration=430364.493s, table=0,
n_packets=358868, n_bytes=33672458, idle_age=2, hard_age=65534, priority=0
actions=NORMAL
 cookie=0xbc9b6a1a69c29031, duration=430364.317s, table=23, n_packets=0,
n_bytes=0, idle_age=65534, hard_age=65534, priority=0 actions=drop
 cookie=0xbc9b6a1a69c29031, duration=430364.235s, table=24, n_packets=0,
n_bytes=0, idle_age=65534, hard_age=65534, priority=0 actions=drop

# ovs-dpctl show
        port 0: ovs-system (internal)
        port 1: br-ex (internal)
        port 2: eth1
        port 3: br-int (internal)
        port 4: gre_sys (gre)
        port 5: br-tun (internal)
        port 6: br-data (internal)
        port 7: tapf9952c91-f9
        port 8: tap6fb4e8fd-4b
        port 9: tapbfb63b1b-53

# ovs-dpctl dump-flows
in_port(8),eth(src=fa:16:3e:0e:99:89,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=192.168.21.1,tip=192.168.21.1,op=1/0xff),
packets:55, bytes:2310, used:8.540s,
actions:push_vlan(vid=2,pcp=0),3,set(tunnel(tun_id=0x5,src=10.5.5.85,dst=10.5.5.90,ttl=64,flags(df,key))),pop_vlan,4,set(tunnel(tun_id=0x5,src=10.5.5.85,dst=10.5.5.89,ttl=64,flags(df,key))),4,set(tunnel(tun_id=0x5,src=10.5.5.85,dst=10.5.5.86,ttl=64,flags(df,key))),4

.....


Best Regards.
Hui.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160223/84a226fa/attachment-0002.html>


More information about the discuss mailing list