[ovs-discuss] Debug OVS

Rajasekaran, Monica Monica.Rajasekaran at us.fujitsu.com
Mon May 9 18:02:23 UTC 2016


I had the same question a couple of months back. Eventually I dug it up manually.

As a starting point, I can tell you that to trace commands like “ovs-vsctl add-port”, start looking at ovs/utilities/ovs-vsctl.c. You will have a function called cmd_add_port().


From: Dio Vinra [mailto:sagenhaft.edel at gmail.com]
Sent: Monday, May 09, 2016 12:14 PM
To: Rajasekaran, Monica <Monica.Rajasekaran at us.fujitsu.com>; discuss at openvswitch.org
Subject: Re: Debug OVS

Actually I wanna trace some commands (e.g. ovs-vsctl add-port tap0 tag=100) in ovs to find out the code in OVS source code which executes the command, so do you know what should I do?

On Monday, 9 May 2016, Rajasekaran, Monica <Monica.Rajasekaran at us.fujitsu.com<mailto:Monica.Rajasekaran at us.fujitsu.com>> wrote:
Hi,

Please follow this link to enable debugging: http://ask.xmodulo.com/enable-logging-open-vswitch.html

Once you do that, just start up OVS and follow through.

-Monica

From: discuss [mailto:discuss-bounces at openvswitch.org<javascript:_e(%7B%7D,'cvml','discuss-bounces at openvswitch.org');>] On Behalf Of Dio Vinra
Sent: Monday, May 09, 2016 10:26 AM
To: discuss at openvswitch.org<javascript:_e(%7B%7D,'cvml','discuss at openvswitch.org');>
Subject: [ovs-discuss] Debug OVS

Hi,
I'm new with OVS,can anybody tell me how to debug OVS source code from ubuntu terminal?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160509/7de79596/attachment-0002.html>


More information about the discuss mailing list