Re: [ovs-discuss] Warning logs flooding: failed to flow_del (No such file or directory)

2014-07-01 Thread Alex Wang
On Tue, Jul 1, 2014 at 7:38 PM, Han Zhou wrote: > Hi Alex, > > That's cool! > Just one more question. > >Due to the race condition in userspace, there is chance that two > >overlapping megaflows could be installed in datapath. And this > >causes userspace unable to delete the less in

Re: [ovs-discuss] Warning logs flooding: failed to flow_del (No such file or directory)

2014-07-01 Thread Han Zhou
Hi Alex, That's cool! Just one more question. >Due to the race condition in userspace, there is chance that two >overlapping megaflows could be installed in datapath. And this >causes userspace unable to delete the less inclusive megaflow flow >even after it timeout, since the flo

Re: [ovs-discuss] failed to put[create][modify]

2014-07-01 Thread Jesse Gross
Thanks for the additional information. I'm still having a hard time seeing how a flow could be invalid without generating any log messages so I just sent out a patch to hopefully cover the remaining cases (CC'ed to you). The patch is against master - is it possible for you to try it and report any

[ovs-discuss] Prioritizing controller and manager (OVSDB) traffic

2014-07-01 Thread Howard Tsai
Hi, I would like to prioritize in-band controller and manager (OVSDB) traffic (on linux.) The goal is to guarantee that these traffic goes out first, without rate-limiting other traffic. I noticed that controller traffic goes out with dscp=48. However, since Linux do not understand dscp, the tra

Re: [ovs-discuss] Having problems installing OVS in Fedora 15

2014-07-01 Thread Sanghamitra De
Hi ! Thanks for the patch. From Flavio's email which said: "Usually the rpmbuild topdir is /usr/src/ but it can be changed by a custom .rpmmacro file defining %_topdir. Yours seems to be at /root/rpmbuild. That's your rpm build directory. On top of it, you should have SPECS/ and SOURCES/. So, c

Re: [ovs-discuss] Change the link_speed

2014-07-01 Thread Ahmad, Mohammad
Hi, Did you manage to resolve the issue? I am facing a similar problem. Thanks Ahmad ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] Which rule will be matched?

2014-07-01 Thread Flavio Leitner
On Tue, Jul 01, 2014 at 11:40:31AM -0700, Ben Pfaff wrote: > On Tue, Jul 01, 2014 at 03:28:54PM -0300, Flavio Leitner wrote: > > On Tue, Jul 01, 2014 at 11:22:10AM -0700, Ben Pfaff wrote: > > > On Tue, Jul 01, 2014 at 03:13:20PM -0300, Flavio Leitner wrote: > > > > On Tue, Jul 01, 2014 at 11:05:15A

Re: [ovs-discuss] Which rule will be matched?

2014-07-01 Thread Ben Pfaff
On Tue, Jul 01, 2014 at 03:28:54PM -0300, Flavio Leitner wrote: > On Tue, Jul 01, 2014 at 11:22:10AM -0700, Ben Pfaff wrote: > > On Tue, Jul 01, 2014 at 03:13:20PM -0300, Flavio Leitner wrote: > > > On Tue, Jul 01, 2014 at 11:05:15AM -0700, Ben Pfaff wrote: > > > > On Tue, Jul 01, 2014 at 01:57:17P

Re: [ovs-discuss] Which rule will be matched?

2014-07-01 Thread Flavio Leitner
On Tue, Jul 01, 2014 at 11:22:10AM -0700, Ben Pfaff wrote: > On Tue, Jul 01, 2014 at 03:13:20PM -0300, Flavio Leitner wrote: > > On Tue, Jul 01, 2014 at 11:05:15AM -0700, Ben Pfaff wrote: > > > On Tue, Jul 01, 2014 at 01:57:17PM -0400, Jason Thorpe wrote: > > > > > > > if I have a rule, nw_src=192

Re: [ovs-discuss] Which rule will be matched?

2014-07-01 Thread Ben Pfaff
On Tue, Jul 01, 2014 at 03:13:20PM -0300, Flavio Leitner wrote: > On Tue, Jul 01, 2014 at 11:05:15AM -0700, Ben Pfaff wrote: > > On Tue, Jul 01, 2014 at 01:57:17PM -0400, Jason Thorpe wrote: > > > > > if I have a rule, nw_src=192.168.0.0/16 and a specific rule, > > > nw_src=192.168.0.1/32 and a pa

Re: [ovs-discuss] Which rule will be matched?

2014-07-01 Thread Flavio Leitner
On Tue, Jul 01, 2014 at 11:05:15AM -0700, Ben Pfaff wrote: > On Tue, Jul 01, 2014 at 01:57:17PM -0400, Jason Thorpe wrote: > > > if I have a rule, nw_src=192.168.0.0/16 and a specific rule, > > nw_src=192.168.0.1/32 and a packet comes from 192.168.0.1, which > > rule will it match? the /16 or /32?

Re: [ovs-discuss] Which rule will be matched?

2014-07-01 Thread Jason Thorpe
that makes sense. thanks Ben! ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] Which rule will be matched?

2014-07-01 Thread Ben Pfaff
On Tue, Jul 01, 2014 at 01:57:17PM -0400, Jason Thorpe wrote: > if I have a rule, nw_src=192.168.0.0/16 and a specific rule, > nw_src=192.168.0.1/32 and a packet comes from 192.168.0.1, which > rule will it match? the /16 or /32? I want to match the 192.168.0.1 > packet even if I have both rules

[ovs-discuss] Which rule will be matched?

2014-07-01 Thread Jason Thorpe
Hi if I have a rule, nw_src=192.168.0.0/16 and a specific rule, nw_src=192.168.0.1/32 and a packet comes from 192.168.0.1, which rule will it match? the /16 or /32? I want to match the 192.168.0.1 packet even if I have both rules _

Re: [ovs-discuss] add-port return successfully but ofport is not available in 2 secs

2014-07-01 Thread Ben Pfaff
On Tue, Jul 01, 2014 at 01:14:16PM +0100, Joni Lee wrote: > We seem to face a concurrent issue between 2 processes: "add-br" and "find > Interface" as follows > > 1. A "l3 agent" process added a port q-router to a bridge (br-int) by calling > "ovs-vsctl?add-port"?and the command returned success

[ovs-discuss] mutliple vlans like vmware vswitch

2014-07-01 Thread Mike Zupan
We are moving off vmware due to licensing costs and we don’t use vsphere at all for what we pay for it. So we are looking to go to KVM and using openvswitch like vmare vswitch. I’m wondering if there is anything special that needs to be done other then set a vlan tag on a fake bridge interface.

[ovs-discuss] add-port return successfully but ofport is not available in 2 secs

2014-07-01 Thread Joni Lee
Hi, We seem to face a concurrent issue between 2 processes: "add-br" and "find Interface" as follows 1. A "l3 agent" process added a port q-router to a bridge (br-int) by calling "ovs-vsctl add-port" and the command returned successfully: Jun 30 07:30:13 neutron1 ovs-vsctl: 1|vsctl|INFO|Ca