[ovs-discuss] dump flows in bridge mode
jklee at hp.com
Wed Nov 25 13:24:43 PST 2009
> -----Original Message-----
> From: Justin Pettit [mailto:jpettit at nicira.com]
> Sent: Tuesday, November 24, 2009 7:32 PM
> To: Lee, Jeongkeun
> Cc: discuss at openvswitch.org
> Subject: Re: [ovs-discuss] dump flows in bridge mode
> ovs-vswitchd sets up a default rule, which is completely wildcarded and has an
> action of "normal". This rules means that it acts as a learning switch. The
> rule looks something like this:
> duration=4694s, table_id=1, priority=0, n_packets=0, n_bytes=0,
> Are you seeing those packet and byte counters going up? Hopefully, you are.
Yes, I see it, only this one, from "ovs-ofctl dump-flows".
> The kernel datapath is a cache of flows that are hitting whatever the
> userspace flow table has configured. It times out entries that are idle for
> five seconds. If you want to see what those look like, you can run "ovs-dpctl
> show dp0". (The ovs-dpctl command is for interrogating the kernel datapath.)
Thanks, now I see a list of flow entries by running "ovs-dpctl dump-flows"
> If you configure ovs-vswitchd to connect to a controller and it sets up flows,
> you should see those in your "ovs-ofctl dump-flows". You can manually
> configure the ovs-vswitchd tables with "ovs-ofctl add-flow" and "ovs-ofctl
> Does this make sense?
Yes, it becomes clear to me.
thank you for the notes.
More information about the discuss