[ovs-discuss] testing/benchmarking OVS

2013-08-05 Thread Zi Shen Lim
Hello, We added OVS into our continuous integration loop. https://ci.linaro.org/jenkins/view/lng-ci/job/openvswitch-arm-native-build/ Currently, we pull from master branch and natively build & run the testsuite on an ARM Cortex-A15 system. All 1280 tests were successful (SSL tests were skipped).

Re: [ovs-discuss] Simple IP load Balancing

2013-08-05 Thread Diego Rivero
Hi, How do you think about the following flows for example? priority=0, ip, nw_src=0.0.0.0/1.1.1.0, actions=blahblah priority=0, ip, nw_src=0.0.1.0/1.1.1.0, actions=blahblah priority=0, ip, nw_src=0.1.0.0/1.1.1.0, actions=blahblah priority=0, ip, nw_src=0.1.1.0/1.1.1.0, actions=blahblah where "n

Re: [ovs-discuss] Resubmit vs Recirculate

2013-08-05 Thread Joe Stringer
When you install new OpenFlow rules, they are installed in the user table, but not in the kernel table. When a packet is received, it is parsed to gather its various packet attributes, and a lookup in the kernel table is performed. A miss here causes an upcall to userspace, which will do a lookup t

Re: [ovs-discuss] Resubmit vs Recirculate

2013-08-05 Thread K.R Kishore
Thanks.  In addition to the ovs-ofctl manpage, here is a link to a good tutorial that explains this (for others who may be interested in  learning about how this works) http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=tutorial/Tutorial;hb=HEAD I have also gathered that

Re: [ovs-discuss] Resubmit vs Recirculate

2013-08-05 Thread Ben Pfaff
On Mon, Aug 05, 2013 at 03:01:20PM -0700, K.R Kishore wrote: > > > Maybe I am missing something basic here..can you please point me to the > documentation? ovs-ofctl(8) ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/li

Re: [ovs-discuss] Resubmit vs Recirculate

2013-08-05 Thread K.R Kishore
Maybe I am missing something basic here..can you please point me to the documentation? I have seen a brief mention of NXAST_REUBMIT_TABLE in "DESIGN" document and it implies that upon packet ingress, only  table 0 will be looked up and others will come into play when the extensions are enable

Re: [ovs-discuss] Resubmit vs Recirculate

2013-08-05 Thread Ben Pfaff
On Mon, Aug 05, 2013 at 02:18:53PM -0700, K.R Kishore wrote: > > > > From:?Ben Pfaff > >> On Mon, Aug 05, 2013 at 12:58:17PM -0700, K.R Kishore wrote: > > >> Thanks for the quick response. The answer is not clear/complete to > >> me, let me rephrase the question

Re: [ovs-discuss] Resubmit vs Recirculate

2013-08-05 Thread K.R Kishore
> From: Ben Pfaff >> On Mon, Aug 05, 2013 at 12:58:17PM -0700, K.R Kishore wrote: >> Thanks for the quick response. The answer is not clear/complete to >> me, let me rephrase the question based on what I understand. >>  >> - The ofproto-provider which implements

Re: [ovs-discuss] Resubmit vs Recirculate

2013-08-05 Thread Ben Pfaff
On Mon, Aug 05, 2013 at 12:58:17PM -0700, K.R Kishore wrote: > Thanks for the quick response. The answer is not clear/complete to > me, let me rephrase the question based on what I understand. > > - The ofproto-provider which implements the parser and contains the > - Nicira extension module (for

Re: [ovs-discuss] Resubmit vs Recirculate

2013-08-05 Thread K.R Kishore
Thanks for the quick response. The answer is not clear/complete to me, let me rephrase the question based on what I understand. - The ofproto-provider which implements the parser and contains the Nicira extension module (for OF) will interpret OF commands and derive flow entries that it plumbs

Re: [ovs-discuss] Simple IP load Balancing

2013-08-05 Thread Ritesh Rekhi
Hi Diego, Thanks for the reply once again. You are right 8 entries are not enough. My explaination was just to explain you my design.I can have 255 buckets also which will be more better. I have a follow up on the way you told me to implement .Is it possible to match last 8 bits on source-ip

Re: [ovs-discuss] Simple IP load Balancing

2013-08-05 Thread Diego Rivero
Hi, I don't know if there is any method to implement hash function as you need. Because as far as I know the OpenFlow rules are stateless. In case you want to achieve such functionality with only source IP address, set IP address mask to extract 3 bits so that you can pick up the number from 0 to

Re: [ovs-discuss] Resubmit vs Recirculate

2013-08-05 Thread Ben Pfaff
On Mon, Aug 05, 2013 at 10:48:25AM -0700, K.R Kishore wrote: > I wanted to understand the difference between the Resubmit and > Recirculate features in OVS. From what I can gather resubmit exists > in an extension module and supports use of multiple OpenFlow tables > while Recirculate is part of th

[ovs-discuss] Resubmit vs Recirculate

2013-08-05 Thread K.R Kishore
Hi I wanted to understand the difference between the Resubmit and Recirculate features in OVS. From what I can gather resubmit exists in an extension module and supports use of multiple OpenFlow tables while Recirculate is part of the standard OVS to support MPLS like operations, correct? 1. Ar

Re: [ovs-discuss] we use from openvswitch bridge compatible (brcompat) or brctl? which one is recommended?

2013-08-05 Thread Ben Pfaff
On Sun, Aug 04, 2013 at 01:05:33AM +0430, 12navidb2 wrote: > do u recommended we use which? normally on ubuntu 13.04 brcompat > have conflict with brctl and I cant normally run it, i have to block > bridge mod from rc.local after that restart openvswitch until > brcompat service start! and since nf

Re: [ovs-discuss] OVS Remote Configuration Point HOWTO

2013-08-05 Thread Ben Pfaff
On Sun, Aug 04, 2013 at 11:41:40PM -0400, ze yu wrote: > I'm just wondering if ovs support any kind of remote switch configuration? Yes. OVSDB is designed for remote configuration. > e.g. I can use ovs-vsctl to configure queue/qos locally. > Can I configure queue/qos from a remote configuration

[ovs-discuss] liuyon...@huawei.com

2013-08-05 Thread napobona
Hi,all, can anyone here explan the usage of branch 1.11 and 1.12? I think 1.12 is used for mutil-thread, and 1.11 for megaflow, right? thanks. napobona. ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] Simple IP load Balancing

2013-08-05 Thread Ritesh Rekhi
Hi Diego, Thanks for replying.Let me explain more on my design. Let’s say you have 8 servers to which you load balance with ip’s 2.2.2.1 to 2.2.2.8 and they all are web servers. Now client 1 which is IP 45.45.45.45 comes i.e tcp syn we has the source-ip and come up with a number 1-(through has

Re: [ovs-discuss] Simple IP load Balancing

2013-08-05 Thread Diego Rivero
Hi, I don't fully understand your design but it might be better to keep the list of the IP address and the MAC address of the bucket somewhere in an OpenFlow controller. When packet_in for the first time, go through the list and decide which bucket to send the packet to. Diego, Sent from my i