Re: [ovs-discuss] HIgh CPU usage for ovs-vswitchd with flows

2013-05-28 Thread Jing Ai
> Date: Mon, 27 May 2013 09:10:20 -0700 > From: Justin Pettit > Subject: Re: [ovs-discuss] HIgh CPU usage for ovs-vswitchd with flows > 3069and lost: 267425491 > To: kevin parker > Cc: discuss@openvswitch.org > Message-ID: > Content-Type: text/plain; charset=iso-8859-1 > > We've made

Re: [ovs-discuss] How to get unit test coverage for OVS?

2013-05-21 Thread Jing Ai
:2013-05-21Functions:4494612573.4 % Best,Jing > Date: Wed, 15 May 2013 22:44:33 -0700 > From: b...@nicira.com > To: ai_jing2...@hotmail.com > CC: discuss@openvswitch.org > Subject: Re: [ovs-discuss] How to get unit test coverage for OVS? > > On Wed, May 15, 2013 at 03:19:54AM

[ovs-discuss] How to get unit test coverage for OVS?

2013-05-14 Thread Jing Ai
I've noticed the REAME.gcov provide a way to enable coverage (however, some coverage integration support for lcov has been removed by Ben last year). However, when I used lcov to analyze the generated .gcda files, I always got either "reached unexpected end" or "out of memory" error from geninfo

Re: [ovs-discuss] How to smoothly add eth0 to the OVS bridge?

2013-02-19 Thread Jing Ai
-discuss] How to smoothly add eth0 to the OVS bridge? Do you know whether br0 is actually up once the script terminates? I've found that I sometimes need to explicitly 'ifconfig br0 up', although I'm not really sure why. On 02/19/2013 07:

Re: [ovs-discuss] How to smoothly add eth0 to the OVS bridge?

2013-02-19 Thread Jing Ai
te bridge command, I assume that was done elsewhere. > > If you have any other way to access the machine, I would use that to try and > see what you have to do to regain connectivity. You should have a bridge with > ports (eth0 and br0), an ip on br0, and a single flow (with the NOR

Re: [ovs-discuss] How to smoothly add eth0 to the OVS bridge?

2013-02-19 Thread Jing Ai
in question, then you would want to run all of these > commands on a single command line, or put them into a script.) > > > On Tue, Feb 19, 2013 at 2:15 PM, Jing Ai wrote: > > Hey, > > > > I've noticed that there is already a FAQ illustrating the steps to ad

[ovs-discuss] How to smoothly add eth0 to the OVS bridge?

2013-02-19 Thread Jing Ai
Hey, I've noticed that there is already a FAQ illustrating the steps to add eth0 to the bridge, e.g., br0 as follows. ovs-vsctl add-br br0ovs-vsctl add-port br0 eth0ifconfig eth0 0.0.0.0ifconfig br0 Since I issued the above commands on a remote host via ssh, I also put them in a script as i

Re: [ovs-discuss] How to specify the OF version in OVS?

2013-01-09 Thread Jing Ai
gt; Subject: Re: [ovs-discuss] How to specify the OF version in OVS? > > On Wed, Jan 09, 2013 at 07:15:26PM +, Jing Ai wrote: > > > > Thanks for documenting it. It really helps. > > I have one follow-up question. Is this command valid only in the > > master now? >

Re: [ovs-discuss] How to specify the OF version in OVS?

2013-01-09 Thread Jing Ai
jp > To: b...@nicira.com; d...@openvswitch.org > CC: ai_jing2...@hotmail.com; b...@openvswitch.org > Subject: Re: [ovs-discuss] How to specify the OF version in OVS? > > On Thu, Jan 03, 2013 at 09:05:21AM -0800, Ben Pfaff wrote: > > On Thu, Jan 03, 2013 at 06:52:30AM +, Jing Ai

[ovs-discuss] How to specify the OF version in OVS?

2013-01-02 Thread Jing Ai
Hey all, It seems that ovs-vswitch's highest supported version is OpenFlow 1.0 by default. I found this when I tried to add a flow with goto_table instruction only by ovs-ofctl as follows. ovs-ofctl add-flow br0 actions=goto_table:1 -O OpenFlow122013-01-03T06:47:00Z|1|vconn|WARN|unix:/usr/l

Re: [ovs-discuss] Actions write_metadata and goto_table could not work together

2013-01-02 Thread Jing Ai
e: [ovs-discuss] Actions write_metadata and goto_table could not > work together > > On Sat, Dec 29, 2012 at 12:40:14AM +, Jing Ai wrote: > > According to OF spec, goto_table instruction should be the > > last. However, why write_metadata has to be after resubmit action, can

[ovs-discuss] Fail to match metadata in a multi-table setting

2013-01-02 Thread Jing Ai
I intend to test metadata matching in the following scenario: Initially, I brought up a VM with address 192.168.1.1/24 (tap0) and configure NAT to the Internet. Later, I added a couple of flows in the table: ovs-ofctl add-flow br0 table=0,in_port=1,ip,nw_src=192.168.1.1,actions="resubmit(,1)",wr

[ovs-discuss] Actions write_metadata and goto_table could not work together

2012-12-28 Thread Jing Ai
In a certain scenario, I want to perform write metadata and go to the next table for a matched flow. However, when I config the flow table, I got the following errors: ovs-ofctl add-flow br0 in_port=2,nw_src=192.168.1.1,actions=goto_table:1,write_metadata:18ovs-ofctl: Instruction write_metadat