On Wed, Jul 02, 2014 at 06:18:39PM +0100, Rafael Gomes wrote:
> I've sent some e-mails before about the incorrect matching behavior
> when I run OpenvSwitch with a controller like Floodlight and
> OpenDaylight. I've been trying to figure out if there is some
> difference in OpenvSwitch's source to the OpenFlow rules matching in
> the case where I insert the rules manually and the case where I use
> a controller to insert them, but I've been unsuccessful. The rules
> matching is the same, or is there any extra variables that can be
> giving me problems when I use a controller?

Probably not.  ovs-ofctl is a controller too, just a short-lived one.

> I've also been trying to detect the source of my problems by
> debugging OpenvSwitch in runtime. Is it possible to keep OpenvSwitch
> running in debug mode in the terminal, or something similar? I've
> trying searching through the logs so that I can see what happens in
> the matching process, but I had no luck.  Thank you for all your
> help, and for all your hard work making this awesome program!

OVS doesn't really have a "debug mode".  I guess that you are trying
to follow the OVS log messages as they are emitted?  The easiest way
to do that is probably "tail -f
/var/log/openvswitch/ovs-vswitchd.log".  The "less" program is also
useful since the F command does something similar to "tail -f".

Have you tried the "ofproto/trace" command?  It is the most valuable
debugging tool for flow tables that I know of.  It is documented in
the ovs-vswitchd manpage.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to