Re: [ovs-discuss] Problem with deleting ports on a bridge of datapath_type "netdev"

2014-11-06 Thread Alex Wang
On Thu, Nov 6, 2014 at 9:41 PM, Alex Wang wrote: > Hey Ferriter, > > Sorry for this delayed reply, > > Thanks for reporting this, I could reproduce the issue, > > To clarify myself, I can reproduce the issue if I ran the command (add/delete/re-add) you listed together in one run. Is that what y

Re: [ovs-discuss] Problem with deleting ports on a bridge of datapath_type "netdev"

2014-11-06 Thread Alex Wang
Hey Ferriter, Sorry for this delayed reply, Thanks for reporting this, I could reproduce the issue, Will investigate and send out fix soon, Alex Wang, On Wed, Nov 5, 2014 at 2:17 AM, Ferriter, Cian wrote: > > > I’m trying to delete a “dpdk” type port and add it again. > > I start vswitchd wi

Re: [ovs-discuss] ovs 2.3 kernel module build failed on rhel 7.0 GA

2014-11-06 Thread Gang U Xu
Hi, Very thanks your great support. I have finished built ovs 2.3 work on my system. Wil verify it soon. Thanks! From: Flavio Leitner To: Gang U Xu/China/IBM@IBMCN Cc: Alex Wang , b...@openvswitch.org Date: 2014/11/04 20:42 Subject:Re: [ovs-discuss] ovs 2.3 kernel modul

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Madhu Challa
Since we are on this topic I had one more question. This could still be an issue if we want to be able to support a mask on the entire length of the geneve options data since we would run out of space. Do you have any thoughts on how I could handle this ? Thanks. On Thu, Nov 6, 2014 at 3:43 PM,

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Madhu Challa
On Thu, Nov 6, 2014 at 3:09 PM, Ben Pfaff wrote: > On Thu, Nov 06, 2014 at 03:02:45PM -0800, Jesse Gross wrote: >> On Thu, Nov 6, 2014 at 2:49 PM, Ben Pfaff wrote: >> > Have you considered allowing database configuration to specify what kind >> > of attributes are expected and how to parse them?

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Madhu Challa
On Thu, Nov 6, 2014 at 2:49 PM, Ben Pfaff wrote: > On Thu, Nov 06, 2014 at 02:37:01PM -0800, Jesse Gross wrote: >> I'm curious how you ended up laying this out. The OpenFlow spec says >> that the extra space should be used as an vendor ID in the form of an >> OUI. How did you reconcile this? > > Y

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Madhu Challa
On Thu, Nov 6, 2014 at 2:37 PM, Jesse Gross wrote: > > On Thu, Nov 6, 2014 at 10:08 AM, Madhu Challa > wrote: > > Jesse, > > > > Thanks for sharing your thoughts on this. > > > > On Thu, Nov 6, 2014 at 7:47 AM, Jesse Gross wrote: > >> > >> On Wed, Nov 5, 2014 at 10:03 AM, Madhu Challa > >> wro

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Ben Pfaff
On Thu, Nov 06, 2014 at 03:02:45PM -0800, Jesse Gross wrote: > On Thu, Nov 6, 2014 at 2:49 PM, Ben Pfaff wrote: > > Have you considered allowing database configuration to specify what kind > > of attributes are expected and how to parse them? The configuration > > could be P4-based, for example.

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Jesse Gross
On Thu, Nov 6, 2014 at 2:51 PM, Ben Pfaff wrote: > On Thu, Nov 06, 2014 at 02:49:55PM -0800, Ben Pfaff wrote: >> On Thu, Nov 06, 2014 at 02:37:01PM -0800, Jesse Gross wrote: >> > I'm curious how you ended up laying this out. The OpenFlow spec says >> > that the extra space should be used as an ven

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Jesse Gross
On Thu, Nov 6, 2014 at 2:49 PM, Ben Pfaff wrote: > On Thu, Nov 06, 2014 at 02:37:01PM -0800, Jesse Gross wrote: >> I'm curious how you ended up laying this out. The OpenFlow spec says >> that the extra space should be used as an vendor ID in the form of an >> OUI. How did you reconcile this? > > Y

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Ben Pfaff
On Thu, Nov 06, 2014 at 02:49:55PM -0800, Ben Pfaff wrote: > On Thu, Nov 06, 2014 at 02:37:01PM -0800, Jesse Gross wrote: > > I'm curious how you ended up laying this out. The OpenFlow spec says > > that the extra space should be used as an vendor ID in the form of an > > OUI. How did you reconcile

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Ben Pfaff
On Thu, Nov 06, 2014 at 02:37:01PM -0800, Jesse Gross wrote: > I'm curious how you ended up laying this out. The OpenFlow spec says > that the extra space should be used as an vendor ID in the form of an > OUI. How did you reconcile this? You can probably get away with a lot if you make the most s

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Jesse Gross
On Thu, Nov 6, 2014 at 10:08 AM, Madhu Challa wrote: > Jesse, > > Thanks for sharing your thoughts on this. > > On Thu, Nov 6, 2014 at 7:47 AM, Jesse Gross wrote: >> >> On Wed, Nov 5, 2014 at 10:03 AM, Madhu Challa >> wrote: >> > Thanks Ben. I will debug and get back to you. I will check with Je

Re: [ovs-discuss] Setting tag for default ovs internal port fails

2014-11-06 Thread Ben Pfaff
On Thu, Nov 06, 2014 at 09:54:57AM +0100, Arthur Van Kleef wrote: > When setting up a bridge on Debian I want the default internal port to have > a vlan tag. The bridge has an uplink port eth0 that is connected to a trunk > port, so I configured /etc/network/interfaces like this: > > allow-ovs ovs

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Madhu Challa
On Thu, Nov 6, 2014 at 10:40 AM, Ben Pfaff wrote: > On Thu, Nov 06, 2014 at 10:08:00AM -0800, Madhu Challa wrote: > > > One issue that comes up when doing this is that the TLVs in both > > > Geneve and OXM are exactly the same size so mapping them directly > > > would consume the entire OXM space

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Ben Pfaff
That was fast. Thanks, I applied this. On Thu, Nov 06, 2014 at 11:00:41AM -0800, Madhu Challa wrote: > Agreed and looks good. > > Thanks. > > On Thu, Nov 6, 2014 at 10:57 AM, Ben Pfaff wrote: > > > On Wed, Nov 05, 2014 at 06:34:04PM -0800, Madhu Challa wrote: > > > The other issue was in the

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Madhu Challa
Agreed and looks good. Thanks. On Thu, Nov 6, 2014 at 10:57 AM, Ben Pfaff wrote: > On Wed, Nov 05, 2014 at 06:34:04PM -0800, Madhu Challa wrote: > > The other issue was in the same file. I am glad make check catches these > > issues and hope there are none in other files. I attached a patch tha

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Ben Pfaff
On Wed, Nov 05, 2014 at 06:34:04PM -0800, Madhu Challa wrote: > The other issue was in the same file. I am glad make check catches these > issues and hope there are none in other files. I attached a patch that > should make it simpler to extend the union in the future. I think it's better to use A

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Ben Pfaff
On Thu, Nov 06, 2014 at 10:08:00AM -0800, Madhu Challa wrote: > > One issue that comes up when doing this is that the TLVs in both > > Geneve and OXM are exactly the same size so mapping them directly > > would consume the entire OXM space just for Geneve. There was a > > suggestion to use experime

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Madhu Challa
Jesse, Thanks for sharing your thoughts on this. On Thu, Nov 6, 2014 at 7:47 AM, Jesse Gross wrote: > On Wed, Nov 5, 2014 at 10:03 AM, Madhu Challa > wrote: > > Thanks Ben. I will debug and get back to you. I will check with Jesse in > the > > upcoming ovs conference if he has other thoughts o

Re: [ovs-discuss] OVS NetFlow export - is there passive timeout?

2014-11-06 Thread Ben Pfaff
On Thu, Nov 06, 2014 at 11:04:35AM +0100, Martin Vizvary wrote: > > > On 11/05/2014 05:16 PM, Ben Pfaff wrote: > > On Wed, Nov 05, 2014 at 04:59:30PM +0100, Martin Vizvary wrote: > >> does anybody know if and how is implemented passive timeout for flow > >> expiration? > >> > >> I was playing aro

Re: [ovs-discuss] in-band controller in topology with loop

2014-11-06 Thread Ben Pfaff
On Thu, Nov 06, 2014 at 01:50:41PM +, mehdi dolati wrote: > My question is, are my rules correct (enough) or I should do more to > maintain connectivity (what kind of)? For example do I need creating > any kind of packet request or reply between controller and switches? > Or more basically, is

[ovs-discuss] in-band controller in topology with loop

2014-11-06 Thread mehdi dolati
Hi, I'm trying to make the communication between end-hosts and controller possible in Mininet and as I searched, found out that I should use in-band controller. however when using in-band controller in topologies with loop I either should use spanning-tree or the ARP flood prevents every thing

[ovs-discuss] Setting tag for default ovs internal port fails

2014-11-06 Thread Arthur Van Kleef
Hi, When setting up a bridge on Debian I want the default internal port to have a vlan tag. The bridge has an uplink port eth0 that is connected to a trunk port, so I configured /etc/network/interfaces like this: allow-ovs ovsbr0 iface ovsbr0 inet static ovs_type OVSBridge ovs_ports eth0

Re: [ovs-discuss] mf_value and mf_subvalue size restrictions

2014-11-06 Thread Jesse Gross
On Wed, Nov 5, 2014 at 10:03 AM, Madhu Challa wrote: > Thanks Ben. I will debug and get back to you. I will check with Jesse in the > upcoming ovs conference if he has other thoughts on implementing this. I haven't had too much time to make progress on this so I don't have much in the way of addi

Re: [ovs-discuss] OVS NetFlow export - is there passive timeout?

2014-11-06 Thread Peter Phaal
Martin, One way to understand the difference between sFlow and NetFlow monitoring is to view them as different stages in the measurement pipeline. With NetFlow the flow cache exists on the switch and with sFlow the flow cache is external. With an external flow cache, you can choose your own fl

Re: [ovs-discuss] performance drop 60% when using vxlan tunnel

2014-11-06 Thread Jesse Gross
On Wed, Nov 5, 2014 at 10:58 PM, FengYu LeiDian wrote: > 于 2014年11月06日 00:08, Jesse Gross 写道: > >> On Tue, Nov 4, 2014 at 11:03 PM, FengYu LeiDian >> wrote: >>> >>> Hi >>> >>> Env: redhat 6.4, OpenvSwitch-2.1.2, using native >>> datapath/linux/openvswitch.ko module >>> >>> VM1 on host1, VM2 on ho

Re: [ovs-discuss] OVS NetFlow export - is there passive timeout?

2014-11-06 Thread Motonori Shindo
Martin, NetFlow on OVS can potentially generate more flow records than usual router/switch-based exporters because of a relatively short “inactive” timeout (1.5s in my understanding). Depending on the collector of your choice, it may be worth considering to use sFlow instead because it can give

Re: [ovs-discuss] OVS NetFlow export - is there passive timeout?

2014-11-06 Thread Martin Vizvary
On 11/05/2014 05:16 PM, Ben Pfaff wrote: > On Wed, Nov 05, 2014 at 04:59:30PM +0100, Martin Vizvary wrote: >> does anybody know if and how is implemented passive timeout for flow >> expiration? >> >> I was playing around with it, but you can configure only active timeout. >> (passive timeout is a