Re: [ovs-discuss] OpenFlow 1.3 Groups with type select

2014-08-14 Thread Srini Seetharaman
> > If not I was thinking of coding up a patch that would replace the > > current dl_dst hash with a function that chose the tuple based on type > > of traffic. If the flow is a TCP or UDP one the new function would hash > > based on the 5-tuple. Other traffic would just use the dl_dst based > > ha

[ovs-discuss] about openvswitch's third-party or a linux module

2014-08-14 Thread neuhuanghaijun
hi: I have a question. I want to know that how can I wirte a third-party in openvswitch for control VM‘s traffic redirect to a specified VM(eg.firewall,IPS),I don't want to use flowtable to realize that,I want to use third-party or linux module to do it. I have done that code a module based

[ovs-discuss] about openvswitch's third-party or a linux module

2014-08-14 Thread neuhuanghaijun
hi: I have a question. I want to know that how can I wirte a thied-party in openvswitch for control VM‘s traffic Redirect to a specified VM(eg.firewall,IPS),I don't want to use flowtable to realize that,I want to use third-party or linux module to do it. I have done that code a module basedn

[ovs-discuss] OVS 2.3.0 with Xen 4.4.0 - vif-openvswitch Script

2014-08-14 Thread Sydney Meyer
Hello Everybody, after upgrading from 2.1.2 to 2.3.0 i cannot start VM's calling the "vif-openvswitch" script anymore and libxl throws the following error: libxl: error: libxl_exec.c:129:libxl_report_child_exitstatus: /etc/xen/scripts/vif-openvswitch online [-1] died due to fatal signal Killed

[ovs-discuss] Open vSwitch 2.3.0, 2.1.3, and 2.0.2 Available

2014-08-14 Thread Justin Pettit
The Open vSwitch team is pleased to announce the release of Open vSwitch 2.3.0:     http://openvswitch.org/releases/openvswitch-2.3.0.tar.gz This release contains new features and further performance improvements.   Feature highlights of 2.3.0 include:     * Linux kernel datapath performance for

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Ben Pfaff
On Thu, Aug 14, 2014 at 03:14:05PM -0300, Flavio Leitner wrote: > Speaking on how ports works and limits, I've heard about an interesting > problem when using containers. If you add more than 1k containers to > an OVS bridge, the network starts to fail. The reason is that when > flooding packets

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Flavio Leitner
On Thu, Aug 14, 2014 at 10:36:49AM -0700, Ben Pfaff wrote: > On Thu, Aug 14, 2014 at 02:29:49PM -0300, Flavio Leitner wrote: > > On Thu, Aug 14, 2014 at 10:01:56AM -0700, Ben Pfaff wrote: > > > On Wed, Aug 13, 2014 at 6:57 PM, Flavio Leitner wrote: > > > > If it's kernel DP, then patch ports are i

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Krishna Pratap
Thanks! I will try out and see which is the best solution for me. will update here if it works for me :) On Thu, Aug 14, 2014 at 1:45 PM, Ben Pfaff wrote: > You're doing something that no one really wants to do (as far as I > know). I see this as not a real problem, therefore it doesn't need a

Re: [ovs-discuss] Help on QoS Enhancement of OVS

2014-08-14 Thread Ben Pfaff
On Wed, Aug 13, 2014 at 09:58:09PM +0530, Monica Gawas wrote: > Ben Flaff : "What do you see as the most important deficiency?" > > Being quite the beginners in this stuff, we found some very basic > deficiencies like : > 1. QoS implementations in ovs only support a simple rate limiting , > r

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Ben Pfaff
You're doing something that no one really wants to do (as far as I know). I see this as not a real problem, therefore it doesn't need a real solution. You can use veths, I think. On Thu, Aug 14, 2014 at 01:42:20PM -0400, Krishna Pratap wrote: > Yea I saw that but my question is ...should I be ch

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Krishna Pratap
Yea I saw that but my question is ...should I be changing that? I am sort of new to ovs. is there any other way to connect switches? Since the same packet is being forwarded by all switches it reaches that recursion limit. so apart from increasing this limit ..do we have another solution? Thanks

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Ben Pfaff
You can increase MAX_RESUBMIT_RECURSION in ofproto-dpif-xlate.c. On Thu, Aug 14, 2014 at 01:22:55PM -0400, Krishna Pratap wrote: > yes Ben, you maybe right. I saw it in log file when i enabled debugging . > > *2014-08-12T10:55:26.658Z|00070|ofproto_dpif_xlate(handler_1)|ERR|resubmit > actions rec

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Ben Pfaff
On Thu, Aug 14, 2014 at 02:29:49PM -0300, Flavio Leitner wrote: > On Thu, Aug 14, 2014 at 10:01:56AM -0700, Ben Pfaff wrote: > > On Wed, Aug 13, 2014 at 6:57 PM, Flavio Leitner wrote: > > > If it's kernel DP, then patch ports are internal ports which during TX > > > inserts the packet (skb) into t

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Flavio Leitner
On Thu, Aug 14, 2014 at 10:01:56AM -0700, Ben Pfaff wrote: > On Wed, Aug 13, 2014 at 6:57 PM, Flavio Leitner wrote: > > If it's kernel DP, then patch ports are internal ports which during TX > > inserts the packet (skb) into the CPU backlog queue (enqueue_to_backlog()) > > for later processing. L

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Flavio Leitner
On Thu, Aug 14, 2014 at 10:01:56AM -0700, Ben Pfaff wrote: > On Wed, Aug 13, 2014 at 6:57 PM, Flavio Leitner wrote: > > If it's kernel DP, then patch ports are internal ports which during TX > > inserts the packet (skb) into the CPU backlog queue (enqueue_to_backlog()) > > for later processing. L

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Krishna Pratap
yes Ben, you maybe right. I saw it in log file when i enabled debugging . *2014-08-12T10:55:26.658Z|00070|ofproto_dpif_xlate(handler_1)|ERR|resubmit actions recursed over 64 times* Is there a way to work around this? how can i remove this limit to see if it crashes or not. are there any other way

Re: [ovs-discuss] In-band flows

2014-08-14 Thread Ben Pfaff
OK. You know better than us what you need, so please consider submitting a patch. On Tue, Aug 12, 2014 at 06:37:40PM -0300, Emerson Chiesse wrote: > I suggest some kind of customization at ofproto provider, allowing to > choose appropriate table to install each of the in-band flows, maybe at > ru

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Ben Pfaff
On Wed, Aug 13, 2014 at 6:57 PM, Flavio Leitner wrote: > If it's kernel DP, then patch ports are internal ports which during TX > inserts the packet (skb) into the CPU backlog queue (enqueue_to_backlog()) > for later processing. Later on, the backlog queue is processed > (process_backlog()) and t

Re: [ovs-discuss] Help on QoS Enhancement of OVS

2014-08-14 Thread Monica Gawas
Dear Sirs, Thank You for your replies. Wes Felter : "Is there documentation about how to perform per-tenant QoS on a physical port in an overlay network like Neutron ML2? Since the tenants are on the integration bridge and the

[ovs-discuss] Checksum incorrect when rewriting icmpv6 packet

2014-08-14 Thread Neal Shrader
Hi there -- I came across an issue today what I was attempting to modify the source ipv6 address of a router advertisement generated from a local server. The flow in question looks like: ovs-ofctl add-flow public 'priority=2040,icmp6,in_port=LOCAL,ipv6_dst=ff02::1,table=1,idle_timeout=0,actions=

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Krishna Pratap
Hi, The kernel version is 3.8.0-38 ( Linux ccpu1 3.8.0-38-generic #56~precise1-Ubuntu) I think you are right. it is the kernel datapath which is used by the patch ports. I am not too familiar with working you explained about the backlog queue. i will have to explore the suggestions that you have m

[ovs-discuss] "RTNETLINK answers: No such process" when using iproute2

2014-08-14 Thread Iman Darabi
hi. i have a server which is truncked and using these commands to set ip address and vlans, so it works ok : # ovs-vsctl add-br br0 # ovs-vsctl add-port br0 eth0 # ovs-vsctl add-br br_host br0 216 # ifconfig eth0 0 # ifconfig br0 0 # ifconfig br_host 172.20.26.28 up # route add default gw 172.20.

Re: [ovs-discuss] switch port numbers seems to change

2014-08-14 Thread Gurucharan Shetty
> > That was true for several releases, but 2.1 now changes port numbers when > when ofport_request column is updated. I see. Thanks. ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] switch port numbers seems to change

2014-08-14 Thread Ben Pfaff
On Thu, Aug 14, 2014 at 07:24:28AM -0700, Gurucharan Shetty wrote: > On Wed, Aug 13, 2014 at 7:23 PM, Rod N. Melton wrote: > > Is there an ovs-ofctl or ovs-vsctl command I can use to force/change the > > switch port numbers to not change for a given interface (say s1-eth2) when i > > reboot linux/

[ovs-discuss] Checksum incorrect when rewriting icmpv6 packet

2014-08-14 Thread Neal Shrader
Hi there -- I came across an issue today what I was attempting to modify the source ipv6 address of a router advertisement generated from a local server. The flow in question looks like: ovs-ofctl add-flow public 'priority=2040,icmp6,in_port=LOCAL,ipv6_dst=ff02::1,table=1,idle_timeout=0,actions=

Re: [ovs-discuss] switch port numbers seems to change

2014-08-14 Thread Gurucharan Shetty
On Wed, Aug 13, 2014 at 7:23 PM, Rod N. Melton wrote: > I posted this question on mininet-discuss mail list and they insist that it > is an open vswitch question. > > why do the port numbers assigned to an interface (say s1-eth2) change when > linux system is rebooted? So, you are rebooting the ma

Re: [ovs-discuss] Failure testing OVS-2.3, cannot ping between hosts after upgrade

2014-08-14 Thread Srini Seetharaman
On Thu, Aug 14, 2014 at 12:29 AM, Justin Pettit wrote: > > Can you run "ovs-dpctl dump-flows" while these messages are being logged? Do > you see anything flow-related in dmesg? I can see these errors are > preventing flows from being inserted into the kernel, but I'd still expect > the traff

Re: [ovs-discuss] Regarding STP on OVS

2014-08-14 Thread Vasiliy Tolstov
Sorry, but does RSTP already in 2.1.x ovs or in stable branch? 2014-08-14 3:06 GMT+04:00 Andrew Niteesh : > Thanks a lot. > > Regards, > Andrew Niteesh > University of Houston > > On Wed, Aug 13, 2014 at 2:53 PM, Justin Pettit wrote: >> On August 13, 2014 at 11:16:08 AM, Andrew Niteesh (andrewec.

Re: [ovs-discuss] Failure testing OVS-2.3, cannot ping between hosts after upgrade

2014-08-14 Thread Justin Pettit
On August 13, 2014 at 10:57:05 PM, Srini Seetharaman (srini.seethara...@gmail.com) wrote: > *$ tail -2 /var/log/openvswitch/ovs-vswitchd.log* > 2014-08-14T05:52:52.803Z|00583|dpif(handler81)|WARN|system@ovs-system: > failed to put[create] (Invalid argument) > skb_priority(0),in_port(2),skb_mark(0