Re: [ovs-discuss] [ovn4nfv]

2016-04-18 Thread Ben Pfaff
t something working to illustrate the model. Simple case should be > relatively easy - if we want to add multiple VNF’s it will get a little > harder. > > Regards > > John > > > > From: Russell Bryant mailto:russ...@ovn.org>> > Date: Wednesday, March 30,

Re: [ovs-discuss] Problem compiling ovs-2.3.2 with some extensions.

2016-04-18 Thread Ben Pfaff
Addr: 2nd Xisanhuan North Ave., Haidian Dist., Beijing, China > E-Mail: wenhao...@gmail.com > Tel: 86-183-1003-2269 > Site: http://www.hensen-wen.cn > > 2016-04-16 0:53 GMT+08:00 Ben Pfaff : > > > On Fri, Apr 15, 2016 at 04:26:55PM +0800, Haosen Wen wrote: > > >

Re: [ovs-discuss] Missing fatal signals in fatal_signals.c

2016-04-18 Thread Ben Pfaff
On Mon, Apr 18, 2016 at 02:22:37PM +, Jan Wickbom wrote: > Hi, > SIGTERM/INT/HUP/ALRM are intercepted in vswitchd. When they are caught some > cleaning up is performed e.g. all vhost-user-XXX socket files are removed as > well as socket files for communication between vswitchd and the database

Re: [ovs-discuss] open vSwitch port input buffer capacity

2016-04-16 Thread Ben Pfaff
ontroller and also > suppose that controller just drop Packt_IN messages to test overflowing OVS > buffer.am i right or OVS just care about packet count? > thank you    > > > From: Ben Pfaff > To: Ali Volkan Atli > Cc: ‪Majid Taleqani‬ ‪‬ ; "discuss@openvswi

Re: [ovs-discuss] Does Open vSwitch 2.3.0 support the meter table in OpenFlow1.3? I failed to add the meter.

2016-04-16 Thread Ben Pfaff
This is in the FAQ. ### Q: Does Open vSwitch support OpenFlow meters? A: Since version 2.0, Open vSwitch has OpenFlow protocol support for OpenFlow meters. There is no implementation of meters in the Open vSwitch software switch (neither the kernel-based nor userspace switches). ___

Re: [ovs-discuss] table_id becomes zero in PACKET_IN when using write_action(group) instead of group

2016-04-15 Thread Ben Pfaff
e last packet_in (with table_id = 0) was triggered by an output action > caused by the action set, which is from an action found by a table lookup in > table 2. > > I don't know how other OpenFlow switches handle these cases. I need to do > some research. > > Best

Re: [ovs-discuss] open vSwitch port input buffer capacity

2016-04-15 Thread Ben Pfaff
On Fri, Apr 15, 2016 at 08:08:02AM +, Ali Volkan Atli wrote: > I would like to take this opportunity to ask a question about > buffering. I've been trying to figure the buffering issue out for a > couple of days. I tested it using ryu-controller and OvS produced > ~1700 packet-in messages (and

Re: [ovs-discuss] Error with ovs-vsctl

2016-04-15 Thread Ben Pfaff
On Fri, Apr 15, 2016 at 10:51:53AM +0200, sreepriya wrote: > > > > > > It's reporting that there's an error in your configuration. As long as > > > > your configuration continues to have an error (that is, a port with a > > > > bad name), it will report that there is one. > > > > > > > > > > Ok. D

Re: [ovs-discuss] Problem compiling ovs-2.3.2 with some extensions.

2016-04-15 Thread Ben Pfaff
On Fri, Apr 15, 2016 at 04:26:55PM +0800, Haosen Wen wrote: > here, I attached the patch file. and the content is as follows: The problem is the // comments. The OVS data structure checker doesn't understand them. ___ discuss mailing list discuss@openvs

Re: [ovs-discuss] open vSwitch port input buffer capacity

2016-04-14 Thread Ben Pfaff
the controller and then you'll see the whole packets > after 512th packet-in. > > - Volkan > > ________ > From: discuss [discuss-boun...@openvswitch.org] on behalf of Ben Pfaff > [b...@ovn.org] > Sent: Thursday, April 14, 2016 6:56 P

Re: [ovs-discuss] Disable MAC learning on certain ports

2016-04-14 Thread Ben Pfaff
On Thu, Apr 14, 2016 at 05:30:20PM +, Farhad Sunavala wrote: > Hi, > I am aware that the MAC address gets learnt only when the packet passes > through a flow with NORMAL action.This is fine and works for some cases. > However, it seems a little too restrictive. > I am working on service funct

Re: [ovs-discuss] Error with ovs-vsctl

2016-04-14 Thread Ben Pfaff
On Thu, Apr 14, 2016 at 07:17:47PM +0200, sreepriya wrote: > ​Hi Ben, > > It's reporting that there's an error in your configuration. As long as > > your configuration continues to have an error (that is, a port with a > > bad name), it will report that there is one. > > > > Ok. Deleting the bri

Re: [ovs-discuss] Error with ovs-vsctl

2016-04-14 Thread Ben Pfaff
On Thu, Apr 14, 2016 at 06:30:24PM +0200, sreepriya wrote: > Ok. But do you have any idea on why the error occur when I try to add a > bridge/port with a proper name (<15 bytes) later? It's reporting that there's an error in your configuration. As long as your configuration continues to have an e

Re: [ovs-discuss] Problem compiling ovs-2.3.2 with some extensions.

2016-04-14 Thread Ben Pfaff
On Thu, Apr 14, 2016 at 04:19:24PM +0800, Haosen Wen wrote: > Hi all, > > I made some modifications in modules mostly concerning about flowmods and > actions, and when I ran "make", I got the following error message: > > *include/openflow/nicira-ext.h:142: error at "/": parse error* > *make[2]: *

Re: [ovs-discuss] How can I monitor the length of a queue in ovs port?

2016-04-14 Thread Ben Pfaff
On Thu, Apr 14, 2016 at 05:51:28PM +0800, 鲁西 wrote: > I have set two queues in a port .I want to know how many packets are > waiting in the queues .Now I can only get the tx_packets of a queue > ,can I get rx_packets of a queue? OVS doesn't provide that information. I don't know whether the kerne

Re: [ovs-discuss] Error with ovs-vsctl

2016-04-14 Thread Ben Pfaff
hile setting up 'br1'. See ovs-vswitchd log for > details. > > Thanks, > Priya > ​ > > On Thu, Apr 14, 2016 at 4:58 PM, Ben Pfaff wrote: > > > On Thu, Apr 14, 2016 at 04:36:51PM +0200, sreepriya wrote: > > > I need some help in understanding the fo

Re: [ovs-discuss] open vSwitch port input buffer capacity

2016-04-14 Thread Ben Pfaff
On Thu, Apr 14, 2016 at 01:52:31PM +, ‪Majid Taleqani‬ ‪ wrote: > i am writing a DDOS mitigation for openflow networks using pox > controller and open vSwitch version 1.9. as DDOS attacks aim at > Flooding flow tables and input buffers, i wonder what is the maximum > capacity of each switch por

Re: [ovs-discuss] Error with ovs-vsctl

2016-04-14 Thread Ben Pfaff
On Thu, Apr 14, 2016 at 04:36:51PM +0200, sreepriya wrote: > I need some help in understanding the following log message better. > I am working on doing some security tests for ovs. > I am getting this error once I tried to add a port with a very long name > (ovs-vsctl add-port) (more than 15 bytes

Re: [ovs-discuss] ovs-ofctl dump-flows command error : ***parse error***

2016-04-13 Thread Ben Pfaff
On Thu, Apr 14, 2016 at 10:41:47AM +0800, Dickens Yeh wrote: > 2016-04-14 2:40 GMT+08:00 Ben Pfaff : > > > On Wed, Apr 13, 2016 at 05:17:03PM +0800, Dickens Yeh wrote: > > > I have use the tool ovs-ofctl to dump flows. > > > When I dump, if the flow have match

Re: [ovs-discuss] table_id becomes zero in PACKET_IN when using write_action(group) instead of group

2016-04-13 Thread Ben Pfaff
On Wed, Apr 13, 2016 at 05:10:24PM +, Zoltán Balogh wrote: > > Hi Ben, > > I found only the definition of ofp_packet_in structure in chapter A.4.1 that > mentions table_id. > > /* Packet received on port (datapath -> controller). */ > struct ofp_packet_in { > struct ofp_header header; >

Re: [ovs-discuss] ovs-ofctl dump-flows command error : ***parse error***

2016-04-13 Thread Ben Pfaff
On Wed, Apr 13, 2016 at 05:17:03PM +0800, Dickens Yeh wrote: > I have use the tool ovs-ofctl to dump flows. > When I dump, if the flow have match the nw_proto with 17, it shown ***parse > error*** like this. > > ovs-ofctl dump-flows tcp:192.168.130.74:6633 -O OpenFlow13 > 2016-04-13T08:54:43Z|

Re: [ovs-discuss] Personal Introduction

2016-04-12 Thread Ben Pfaff
On Tue, Apr 12, 2016 at 07:01:04PM +, Daniel Levy wrote: > My name is Daniel Levy and I work with IBM on one of our Openstack provider > teams. We are currently looking into OVN and some of us will be contributing > code / working on defects. > As a first dive for myself to get more into the c

Re: [ovs-discuss] FF group liveness

2016-04-12 Thread Ben Pfaff
: > Hi Ben, > > thanks for the reply! Indeed, this error code seems reasonable. > Then, it is more of an administrative question. > Can this be written into the protocol, as well? > > Best regards, > Miklos > > On 04/10/2016 08:44 PM, Ben Pfaff wrote: > >On Fri, Apr 08,

Re: [ovs-discuss] OVS 2.4 and 2.4 Flow deletion issue

2016-04-11 Thread Ben Pfaff
Jarno, it seems likely that this has something to do with the transactional classifier implementation. Do you think so? Do you have any idea why deletions would be so slow? Thanks, Ben. On Mon, Apr 11, 2016 at 09:51:45PM +, Maurya, Alok Kumar (HP Networking) wrote: > Hi All, > > I am se

Re: [ovs-discuss] table_id becomes zero in PACKET_IN when using write_action(group) instead of group

2016-04-11 Thread Ben Pfaff
On Mon, Apr 11, 2016 at 02:02:00PM +, Zoltán Balogh wrote: > Hi, > > In ovs 2.5.0 I observed the following. > I added a group and flows with these commands: > > ovs-ofctl -OOpenFlow13 add-group br1 > group_id=100,type=indirect,bucket=actions=output:CONTROLLER > ovs-ofctl -OOpenFlow13 add-flo

Re: [ovs-discuss] Port.vlan_mode has wrong type?

2016-04-10 Thread Ben Pfaff
On Tue, Apr 05, 2016 at 03:17:32PM -0400, Nicholas Bastin wrote: > In 2.5.0, Port.vlan_mode is defined in the schema to be: > >"vlan_mode": { > "type": {"key": {"type": "string", >"enum": ["set", ["trunk", "access", "native-tagged", > "native-untagged"]]}, > "

Re: [ovs-discuss] OVS 2.5 doesn't mirror patch ports?

2016-04-10 Thread Ben Pfaff
On Sun, Apr 10, 2016 at 01:22:32PM -0700, Paul Archard wrote: > Hi all, > > I'm working on a project where I need to capture packets going through OVS > instances. I ran into strange behavior with 2.4 where I was only seeing > the packets being received by some ports, not those sent. Also the br

Re: [ovs-discuss] OVN northd permits overly permissive use of 0.0.0.0 and ::

2016-04-10 Thread Ben Pfaff
On Wed, Apr 06, 2016 at 11:56:34AM -0700, Dustin Lundquist wrote: > Testing networking-ovn with OVS -master (rev c4623bb83), I found OVN > permitted unrestricted use of 0.0.0.0 and ::. These should only be used > for IPv4 DHCP discovery and request messages and ICMPv6 MLD reports as > well as Neig

Re: [ovs-discuss] Deleting and re-creating mirror with different configuration does not work

2016-04-10 Thread Ben Pfaff
On Fri, Apr 08, 2016 at 09:43:09AM +0200, Vasileios Kotronis wrote: > I have an issue with port mirroring on ovs. I am trying to reload a mirror > configuration on-the-fly, using an internal bridge port as the target mirror > out port. There is no error that makes ovs complain, but the behavior o

Re: [ovs-discuss] FF group liveness

2016-04-10 Thread Ben Pfaff
On Fri, Apr 08, 2016 at 10:24:31AM +0200, Miklós Pelyva wrote: > Hi! > > I have a question regarding some difference between OpenFlow protocol > version 1.3.5 and vanilla Open vSwitch implementation version 2.5.0. > > If someone would like to use fast failover type group without bucket > liveness

Re: [ovs-discuss] Meter table support in OVS

2016-04-03 Thread Ben Pfaff
On Sun, Apr 03, 2016 at 10:45:47PM +0200, Hardik Soni wrote: > Can someone tell me which version of OVS supports Meter Table > (effectively in datapath, not just OF1.3 protocol support)? This is frequently asked, and thus it it is answered in the FAQ. ### Q: Does Open vSwitch support OpenFlow met

Re: [ovs-discuss] Clarification regarding Mutable attribute in the column

2016-04-02 Thread Ben Pfaff
abled for weak reference should resolve the issue. Can you guide me the > process of raising this bug and necessary logs you may need for fixing it? > > Thanks > Krishna Mohan. > > -----Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Friday, April 01, 20

Re: [ovs-discuss] Clarification regarding Mutable attribute in the column

2016-04-01 Thread Ben Pfaff
> > on row deletion in Y table, what is the intended action on table X's > > row?. Currently my observation shows that the corresponding row in > > Table X is being deleted. Is this behavior is a bug or intended > > behavior? > > Ben Pfaff wrote: > > Th

Re: [ovs-discuss] [DPDK-OVS] blocked waiting for vhost_thread1 to quiesce

2016-04-01 Thread Ben Pfaff
ure that: * A new thread is started in a non quiescent state. * The first call to ovsrcu_quiesce_start() is honored. * When a process becomes multithreaded the main thread is put in an active state Signed-off-by: Daniele Di Proietto Acked-by: Ben Pfaff ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] openvswitch not filtering tcp packets ovs-ofctl

2016-04-01 Thread Ben Pfaff
On Fri, Apr 01, 2016 at 11:41:42AM +, Cristina Palomo Regidor wrote: > I have modified priority of my flow but still 0 hits: > > SDNinaBox:/opt/products # ovs-ofctl dump-flows virbr2 > NXST_FLOW reply (xid=0x4): > cookie=0x0, duration=17874.209s, table=0, n_packets=947962078, > n_bytes=399887

Re: [ovs-discuss] increasing the "default" embargo period for vulnerabilities

2016-03-31 Thread Ben Pfaff
On Wed, Mar 30, 2016 at 06:11:33PM -0300, Flavio Leitner wrote: > On Wed, Mar 30, 2016 at 10:22:13AM -0700, Ben Pfaff wrote: > > SECURITY.md currently says: > > > > A disclosure date is negotiated by the security team working with the > > bug submitter as wel

Re: [ovs-discuss] Clarification regarding Mutable attribute in the column

2016-03-31 Thread Ben Pfaff
ntly my observation shows that the corresponding row in > Table X is being deleted. Is this behavior is a bug or intended > behavior? Ben Pfaff wrote: > This is a hole in the constraint system that had not previously been > brought to my attention. > > I'd prefer to solve it by f

Re: [ovs-discuss] Clarification regarding Mutable attribute in the column

2016-03-31 Thread Ben Pfaff
On Fri, Apr 01, 2016 at 03:46:50AM +, Elluru, Krishna Mohan wrote: > I am observing one of the behavior with ovsdb(2.5), for which I would > like to seek clarity. As per the RFC 7047, if a column on table X with > attribute is set to mutable:false, the value can't be changed after > creation an

Re: [ovs-discuss] Generic Netlink family 'ovs_datapath' does not exist - could not open network device dpdk0

2016-03-31 Thread Ben Pfaff
On Thu, Mar 31, 2016 at 09:48:51AM +, Kavanagh, Mark B wrote: > You can ignore the 'Generic Netlink family' error, as you've mentioned. Doesn't it indicate that he's incorrectly created a kernel-based bridge instead? ___ discuss mailing list discuss@

Re: [ovs-discuss] Openvswitch Southbound Protocols

2016-03-31 Thread Ben Pfaff
On Thu, Mar 31, 2016 at 03:05:42PM +0200, Syed Faraz Ali wrote: > I'm a newbie so apologies if the question sounds stupid. > Let's consider I'm using openvswitch and openflow as southbound protocol. I think that your compass is 180 degrees off. > My question is does openvswitch support more south

[ovs-discuss] increasing the "default" embargo period for vulnerabilities

2016-03-30 Thread Ben Pfaff
SECURITY.md currently says: A disclosure date is negotiated by the security team working with the bug submitter as well as vendors. However, the Open vSwitch security team holds the final say when setting a disclosure date. The timeframe for disclosure is from immediate (esp. if

Re: [ovs-discuss] ovn: ovn service chaining

2016-03-30 Thread Ben Pfaff
On Tue, Mar 15, 2016 at 06:56:41PM +, Farhad Sunavala wrote: > Hi, > Is anyone working on service function chaining support for OVN ? > I was thinking of extending the ovn-nb ACL syntax to include a > "redirect"action.  Something as follows > ovn-nbctl acl-add sw0 from-lport 1002 "inport == \"

Re: [ovs-discuss] Per-flow QoS/rate limiting

2016-03-30 Thread Ben Pfaff
s exactly what i'm looking for. > > > > > > On Sun, Mar 27, 2016 at 1:19 AM, Ben Pfaff wrote: > > > >> On Sat, Mar 26, 2016 at 06:46:23PM +0900, Borasy Kong wrote: > >> > I was wondering if someone could tell me whether Open vSwtich supports

Re: [ovs-discuss] OVS: /dev/urandom: read error (no such file or directory)

2016-03-30 Thread Ben Pfaff
On Wed, Mar 30, 2016 at 06:05:41AM +, Kai Ma (kaima) wrote: > When type in > ./ovs-vswitchd. > The target ARM box shows: > Ovs-vswitchd: /dev/urandom: read error (No such file or directory) This should not be a surprise, because it is listed in the installation requirements in INSTALL.md. ___

[ovs-discuss] CVE-2016-2074: MPLS buffer overflow vulnerabilities in Open vSwitch

2016-03-28 Thread Ben Pfaff
command. Open vSwitch 2.4.x Vulnerability Check == We have not developed a procedure to check Open vSwitch 2.4.x for this vulnerability. The procedure described for Open vSwitch 2.3.x is not effective for Open vSwitch 2.4.x. Open vSwitch 2.2.x and 2.3.x Patch ==

Re: [ovs-discuss] questions about flow table when using DPDK

2016-03-28 Thread Ben Pfaff
On Tue, Mar 29, 2016 at 12:10:38AM +0800, 刘超 wrote: > Hi, I have a question about deploying openvswitch with DPDK > > > As we know, normal network package will first go through openvswitch.ko to > find a flow table entry in the kernel, if not found, then the package will go > to user mode to lo

Re: [ovs-discuss] ovn: is there any use case of connecting two logical routers ?

2016-03-28 Thread Ben Pfaff
On Mon, Mar 28, 2016 at 03:18:42PM +0800, Zang MingJie wrote: > On 03/25/2016 11:39 PM, Ben Pfaff wrote: > >Many scenarios can be implemented either way. The benefit is to allow a > >network to be modeled in the way preferred by the user. > So there are not behavior difference

Re: [ovs-discuss] Per-flow QoS/rate limiting

2016-03-26 Thread Ben Pfaff
On Sat, Mar 26, 2016 at 06:46:23PM +0900, Borasy Kong wrote: > I was wondering if someone could tell me whether Open vSwtich supports > per-flow rate limiting or QoS fully or not. If it does, is there a guide to > implementing such functions. > > PS. A paper titled "FlowQoS: Per-Flow Quality of Se

Re: [ovs-discuss] Using OFPFC_DELETE with a learn action

2016-03-26 Thread Ben Pfaff
en't found anything while looking through the code which would seem to > indicate this change. > > On Tue, Mar 22, 2016 at 1:31 PM, Ben Pfaff wrote: > > > On Mon, Mar 21, 2016 at 02:51:04PM -0400, Hoff, Adam wrote: > > > I've just recently ported some change

Re: [ovs-discuss] ovsdb-server: I/O error: open: –detach failed

2016-03-25 Thread Ben Pfaff
On Wed, Mar 23, 2016 at 05:40:34AM +, Vivek Gupta wrote: > Hi > > > I am installing OVS on Ubuntu 14 with following steps: > > 1. Downloaded tab ball of OVS 2.5 > 2. untar the file. > 3. cd OVSDIR > 4. ./boot > 5. ./configure > 6. make && make install > 7. mkdir –p /usr/local/etc/ope

Re: [ovs-discuss] [ovn4nfv]

2016-03-25 Thread Ben Pfaff
Russell, you had some thoughts about SFC in OVN. I had the impression that the approach you had in mind was more powerful than what John is suggesting here, yet still not very complicated. I think you said that you weren't going forward with it for now because other things were higher priority.

Re: [ovs-discuss] ovn: is there any use case of connecting two logical routers ?

2016-03-25 Thread Ben Pfaff
On Fri, Mar 25, 2016 at 04:46:24PM +0800, Zang MingJie wrote: > From document: > > To connect one logical router to another. This requires > a pair of logical router ports, each connected to a dif‐ > ferent router. Each router port in the pair specifies > the other in its peer col

Re: [ovs-discuss] Flow-based QoS

2016-03-25 Thread Ben Pfaff
On Fri, Mar 25, 2016 at 01:57:52PM +0900, Borasy Kong wrote: > Does someone happen to know if Open vSwitch supports the flow-based QoS > functions outlined in OpenFlow 1.3 OF-config? There's a separate project to implement OFConfig for OVS. Perhaps you should consult it: https://github.co

Re: [ovs-discuss] 回复: Re: userspace openvswitch

2016-03-23 Thread Ben Pfaff
: Error detected while setting up 'br101'. See ovs-vswitchd log for > details. > > > > > yugang > > From: Ben Pfaff > Date: 2016-03-22 23:33 > To: yugang > CC: Chandran, Sugesh; yugangdeai; discuss > Subject: Re: [ovs-discuss]回复: Re: userspace

Re: [ovs-discuss] (no subject)

2016-03-23 Thread Ben Pfaff
On Wed, Mar 23, 2016 at 03:13:25PM +, sreepriya1...@gmail.com wrote: > I started my work focusing on ovs-vsctl. I compiled the ovs with > optimisations enabled (CFLAGS=O1). Adding a bridge with very long > bridge name is leading to some memory leaks in ovs-vsctl as reported > by valgrind. Can s

Re: [ovs-discuss] Using OFPFC_DELETE with a learn action

2016-03-22 Thread Ben Pfaff
On Mon, Mar 21, 2016 at 02:51:04PM -0400, Hoff, Adam wrote: > I've just recently ported some changes from OVS version 2.0 to 2.5. In 2.0, > I was able to basically copy the learn action, and modify the flow mod's > command to use OFPFC_DELETE, which would then delete rules (even ones that > weren't

Re: [ovs-discuss] 回复: Re: userspace openvswitch

2016-03-22 Thread Ben Pfaff
On Tue, Mar 22, 2016 at 09:11:34AM +0800, yugang wrote: > 2009-01-02T14:42:35Z|00056|dpif_netlink|ERR|Generic Netlink family > 'ovs_datapath' does not exist. The Open vSwitch kernel module is probably not > loaded. > 2009-01-02T14:42:35Z|00057|dpif|WARN|failed to enumerate system datapaths: No >

Re: [ovs-discuss] Adding a new header field for flow matching and Set-Field action

2016-03-22 Thread Ben Pfaff
e FAQ. > > Best, > Enas > > On Fri, Mar 18, 2016 at 6:50 AM, Ben Pfaff wrote: > > > I'm always frankly puzzled by this kind of message that says "I made > > some changes to OVS and they didn't work." The answer is that you need > > to de

Re: [ovs-discuss] learn action and controller action of openflow in ovs 2.3.2 version

2016-03-22 Thread Ben Pfaff
On Tue, Mar 22, 2016 at 07:29:48AM +, Lixing (F) wrote: > I am using ovs 2.3.2 version. > I want to use learn action and controller action of openflow like this: > ovs-ofctl add-flow br-test "table=0, priority=0 > actions=learn(table=0,hard_timeout=10, priority=20),CONTROLLER:65535" > > When

Re: [ovs-discuss] Adding new ovs-vsctl command

2016-03-21 Thread Ben Pfaff
> -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Monday, March 21, 2016 11:09 AM > To: Rajasekaran, Monica > Cc: discuss@openvswitch.org > Subject: Re: [ovs-discuss] Adding new ovs-vsctl command > > On Mon, Mar 21, 2016 at 03:23:21PM +, Rajaseka

Re: [ovs-discuss] Adding new ovs-vsctl command

2016-03-21 Thread Ben Pfaff
On Mon, Mar 21, 2016 at 03:23:21PM +, Rajasekaran, Monica wrote: > Hi, > > I am trying to add a new vsctl command. Let's say it will be invoked with > "ovs-vsctl usermod", > > I added it to struct ctl_command_syntax as follows: >{"usermod", 0, 0, "", NULL, cmd_usermod, NULL,

Re: [ovs-discuss] Using meters in OVS

2016-03-21 Thread Ben Pfaff
On Mon, Mar 21, 2016 at 07:09:46PM +0700, cuong phung khac wrote: > currently,I installed ovs2.3.0.and i have a question. > Did OVS2.3.0 support Meter Table ? This is in the FAQ. ### Q: Does Open vSwitch support OpenFlow meters? A: Since version 2.0, Open vSwitch has OpenFlow protocol su

[ovs-discuss] compile problem with 3.13.0-83-generic (was: installing datapath-dkms deb package fails on 3.13.0-83-generic kernel)

2016-03-19 Thread Ben Pfaff
Hi Zoltán. It looks like this is really a build problem against a particular kernel instead of anything to do with Debian packaging. I'm concerned that the kernel developers might skip over it because it sounds packaging-specific, so I'm following up with an updated subject line. On Thu, Mar 17,

Re: [ovs-discuss] Adding a new header field for flow matching and Set-Field action

2016-03-19 Thread Ben Pfaff
accept my > new field and created the table entry without it, therefore iot_addr is not > being matched against when a packet arrives. > > I made sure that the switch is running the OpenFlow15 version using the -O > command. > > Is there something I am missing ? > >

Re: [ovs-discuss] OVS-DPDK: in_port and out-port different in dump-flows between ofctl and dpctl

2016-03-19 Thread Ben Pfaff
On Wed, Mar 16, 2016 at 06:05:38PM +0530, Kumar Sanghvi wrote: > Any idea why this difference in dump-flows output between dpctl and ofctl > with regards to in_port and actions-output-port ? > Or, is this expected ? I am new to OVS so, pardon my ignorance. Datapath and OpenFlow port numbers usuall

Re: [ovs-discuss] Problems trunking VLANs through an OVS bridge

2016-03-19 Thread Ben Pfaff
I see a lot of information on how you configured things but nothing on what's going wrong. What's the problem? On Wed, Mar 16, 2016 at 05:07:44PM +, Erik Sherk wrote: > > > Hi, > Here is what I am trying to do. I have a Juniper switch connected to a Dell > R730, running CentOS 7.2, libvirt

Re: [ovs-discuss] OVN flow problem

2016-03-19 Thread Ben Pfaff
On Thu, Mar 17, 2016 at 04:23:35AM -0400, Marcin Mirecki wrote: > I'm have a problem with OVN. > I'm using a build version of master, last commit was: > a36bb33445acdbc5bfc30ecab8408dac9a99913e > > > I have ovn up and running, but it looks like it is generating the ovs flows > incorrectly. > (y

Re: [ovs-discuss] How to Compiling OVS Kernel Module on ARM

2016-03-19 Thread Ben Pfaff
On Fri, Mar 18, 2016 at 02:55:28AM +, Kai Ma (kaima) wrote: > Hi I want to porting OVS to ARM supported ASIC target board switch, > How can I do it? INSTALL.md has build instructions. ___ discuss mailing list discuss@openvswitch.org http://openvswitc

Re: [ovs-discuss] Changing number of flow tables in open vswitch

2016-03-15 Thread Ben Pfaff
The number of tables cannot be customized. You could fix your controller: there's no reason for a controller to break because there are "too many" tables! On Tue, Mar 15, 2016 at 01:11:15PM +, Paulose Saumya wrote: > > As you said I checked the controller and found that the controller > won'

Re: [ovs-discuss] OPENVSWITCH 1.3

2016-03-14 Thread Ben Pfaff
On Mon, Mar 14, 2016 at 09:42:34AM +0700, cuong phung khac wrote: > hi everyone! >I'm researching about openvswitch1.3 and i am in trouble. > How to enable pipeline in openvswitch 1.3? > what command use to enable pipeline ? Don't use Open vSwitch 1.3. It is old. Upgrade. ___

Re: [ovs-discuss] multiple tables

2016-03-14 Thread Ben Pfaff
On Mon, Mar 14, 2016 at 08:26:14AM -0700, Ben Pfaff wrote: > On Mon, Mar 14, 2016 at 02:46:26PM +0700, cuong phung khac wrote: > >I'm researching about openvswitch 1.3.I have a trouble . > > how to enable pipeline in openvswitch 1.3 ? > > (how to use multiple

Re: [ovs-discuss] multiple tables

2016-03-14 Thread Ben Pfaff
On Mon, Mar 14, 2016 at 03:58:17PM +0800, yewgang wrote: > Does openvswitch-1.3 support multi-table, which is defined in openflow-1.3 > or later ? No. OVS 1.3 was released in 2011, OpenFlow 1.3 was released in 2012. ___ discuss mailing list discuss@open

Re: [ovs-discuss] multiple tables

2016-03-14 Thread Ben Pfaff
On Mon, Mar 14, 2016 at 02:46:26PM +0700, cuong phung khac wrote: >I'm researching about openvswitch 1.3.I have a trouble . > how to enable pipeline in openvswitch 1.3 ? > (how to use multiple tables in openvswitch 1.3?) It's enabled by default. ___

Re: [ovs-discuss] Adding a new header field for flow matching and Set-Field action

2016-03-13 Thread Ben Pfaff
On Sun, Mar 13, 2016 at 05:32:45PM +0300, Enas Ahmad wrote: > Thanks Ben for the useful answer, following these directions I was able to > add a new field and was able to successfully create a table entry > specifying a value for that filed. > > However, now I need to verify the packet extraction

Re: [ovs-discuss] TCAM configuration

2016-03-11 Thread Ben Pfaff
On Thu, Mar 10, 2016 at 02:44:53PM -0500, Anudeep Reddy Junuthula wrote: > How do I configure the TCAM table size of OVS and flow handling capacity of > OFA as per my requirements? You can limit the size of OpenFlow tables using the Flow_Table table. See ovs-vswitchd.conf.db(5) for documentation.

Re: [ovs-discuss] Stripping VLAN tags in Openflow 1.1+

2016-03-10 Thread Ben Pfaff
On Thu, Mar 10, 2016 at 05:24:43PM -0800, Ben Warren wrote: > Thanks Ben > > On Mar 10, 2016, at 11:05 AM, Ben Pfaff wrote: > > > > On Thu, Mar 10, 2016 at 10:51:35AM -0800, Ben Warren wrote: > >> Hi, > >> > >> I’m wondering how to st

Re: [ovs-discuss] Stripping VLAN tags in Openflow 1.1+

2016-03-10 Thread Ben Pfaff
On Thu, Mar 10, 2016 at 10:51:35AM -0800, Ben Warren wrote: > Hi, > > I’m wondering how to strip VLAN tags when using OpenFlow version 1.1 or > greater messaging. The “strip_vlan” action in “ovs-ofctl” seems to be > version 1.0-only. The “parse_op_flow_mod_str()” function returns 0xa, which >

Re: [ovs-discuss] Setting openflow port name

2016-03-08 Thread Ben Pfaff
On Tue, Mar 08, 2016 at 04:08:45PM +0800, Xiao Liang wrote: > Can I give an alias to a port without modifying the physical interface name? > For example, I added a phyical interface: > ovs-vsctl add-port br0 eth1 > > And can I name it wan0, so that the controller could recognize it with > port des

Re: [ovs-discuss] extensible statistics (OF 1.5) from controller to switch

2016-03-02 Thread Ben Pfaff
On Wed, Mar 02, 2016 at 08:31:52PM +0200, dsa...@cs.technion.ac.il wrote: > The extensible statistics of flow tables are possible in OF 1.5 though as > I saw the OXS information goes strictly from switch to controller. The > controller is unable to tell the switch via OXS which statistics it wants

Re: [ovs-discuss] Rate limit bridge aggregate

2016-03-01 Thread Ben Pfaff
On Tue, Mar 01, 2016 at 10:10:36PM +1100, Alexander Turner wrote: > Is it possible to rate limit the aggregate bandwidth through a specific > bridge - say a bridge is limit to switching 1gbps of traffic irregardless > of the number of interfaces associated with it? No.

Re: [ovs-discuss] ovs-ofctl dump-flows command error : ***parse error***

2016-03-01 Thread Ben Pfaff
The error you saw still indicates a bug. What actions were there? On Tue, Mar 01, 2016 at 06:22:29AM -0800, David Gabriel wrote: > I fixed this issue. > In fact I have to use the -O option to specify the openflow version > ovs-ofctl dump-flows mybridge > > *-O OpenFlow13* > Thanks. > > 2016-03-

Re: [ovs-discuss] Realistic maximum for flow table size

2016-02-26 Thread Ben Pfaff
On Fri, Feb 26, 2016 at 01:41:20PM +0530, Deven Bansod wrote: > I wanted to ask if there is a standard maximum of the OVS flow table > size, which is a prescribed maximum and the performance would not be > affected greatly till that size. > > Could anyone from the developers or contributors confir

Re: [ovs-discuss] Using netmap with OVS

2016-02-25 Thread Ben Pfaff
ast I don't have to be wondering anymore. :) > > Br, > Sami Heinonen > > > -----Original Message- > From: EXT Ben Pfaff [mailto:b...@ovn.org] > Sent: Thursday, February 25, 2016 1:52 AM > To: Heinonen, Sami (Nokia - FI/Espoo) > Cc: ovs-discuss (discuss@o

Re: [ovs-discuss] Using netmap with OVS

2016-02-24 Thread Ben Pfaff
On Wed, Feb 24, 2016 at 09:18:18PM +, Heinonen, Sami (Nokia - FI/Espoo) wrote: > How do I tell OVS to use netmap? Do I have to use some specific port > name format and/or interface type like I do with DPDK? There is > literally nothing about using netmap in any of the documention. OVS doesn't

Re: [ovs-discuss] About connect to Floodnight controller

2016-02-24 Thread Ben Pfaff
On Wed, Feb 24, 2016 at 10:30:06PM +0800, Wilson Kwok wrote: > I have a problem connect to Floodnight controller, the Openvswitch setup > one bridge "br-int" with three network card eth0-eth2 already, and can ping > the controller IP 192.168.0.202. > > I used "ovs-vsctl set-controller br-int tcp:1

Re: [ovs-discuss] override flow table matching

2016-02-24 Thread Ben Pfaff
On Wed, Feb 24, 2016 at 07:52:19AM -0800, Andrea Benfatti wrote: > Hi, i'm new to open vSwitch and i was wondering if it's possible to override > the flow matching table and instead using an algorithm wrote by me. Has > someone done something like that? Some suggestion about where i can start > doi

Re: [ovs-discuss] ovs-dpctl dump-flows output

2016-02-23 Thread Ben Pfaff
On Tue, Feb 23, 2016 at 03:25:24PM +0800, Hui Xiang wrote: > Could anyone help to point out what does below output represents? Is there > any document help to refer? Generally ovs-dpctl output consists of implementation details; we don't document most of it. > My environment is based on OpenStac

Re: [ovs-discuss] Port security in OVS

2016-02-23 Thread Ben Pfaff
On Tue, Feb 23, 2016 at 03:45:02PM +0530, Anudattu 2 wrote: > Do we have “Port security” feature in OVS, or any other > alternative equal to “Port security”. It's a feature that can be implemented in OpenFlow, just like any other feature. ___ discuss ma

Re: [ovs-discuss] Routing bugs

2016-02-22 Thread Ben Pfaff
On Tue, Feb 16, 2016 at 06:55:58PM +0530, Arun Samuel wrote: >Here the traffic passes through every ports in OVS on OFCTL will > not route 100% in the routing table, as everyone knows. But , there is a > possibility if the traffic is coming from Static NAT to local address, only > one o

Re: [ovs-discuss] About QoS configuration for OpenvSwitch

2016-02-22 Thread Ben Pfaff
On Mon, Feb 22, 2016 at 09:52:46AM +, Xiao Ma (xima2) wrote: > Could anybody tell me why the bandwidth is so unstable? Did you read the FAQ? ### Q: I configured QoS, correctly, but my measurements show that it isn't working as well as I expect. A: With the Linux kernel, the Open vSwitch i

Re: [ovs-discuss] Bundles support for PacketOut messages

2016-02-11 Thread Ben Pfaff
ething I'm willing to do if I really need >it (I >> still need to confirm this). >> >> Jarno Rajahalme escreveu no dia quarta, 10/02/2016 às >> 21:39: >> >>> On Feb 10, 2016, at 1:27 PM, Ben Pfaff wrote: >>> >>> I talked to

Re: [ovs-discuss] Bundles support for PacketOut messages

2016-02-10 Thread Ben Pfaff
;m aware of. Pica8 is the only switch I know that supports > > OpenFlow 1.4, and it uses openvswitch. > > > > Ben Pfaff escreveu no dia quarta, 10/02/2016 às 19:12: > > > >> Do other OpenFlow implementations support packet-out in bundles? > >> > >> On W

Re: [ovs-discuss] Bundles support for PacketOut messages

2016-02-10 Thread Ben Pfaff
Out in bundles is something that is already "expected" by the OF > protocol. In that sense, we wouldn't modify the switch to have a new > behaviour but simply add a feature that the switch is "lacking" from the > protocol spec. > > Do you have other idea in m

Re: [ovs-discuss] More than one mirror port on an ovs bridge

2016-02-10 Thread Ben Pfaff
On Wed, Feb 10, 2016 at 02:37:54PM +0100, Daniel Spiekermann wrote: > I have a short question regarding to the mirror ports. Is ist possible to > install more than one mirror on an ovs bridge? > I have a system which hosts 5 vm, all of these vms are connected to br1. The > interfaces are tap{1…5}

Re: [ovs-discuss] Bundles support for PacketOut messages

2016-02-10 Thread Ben Pfaff
On Wed, Feb 10, 2016 at 02:44:31PM +, André Mantas wrote: > I sent an email to the dev list ( > http://openvswitch.org/pipermail/dev/2016-February/065870.html) but so far > no answer. It looks like I didn't receive that message, even though it appears in the archives. I don't know why. > If

Re: [ovs-discuss] OF15 OFP_ACTION_OUT messages not parsed correctly

2016-02-09 Thread Ben Pfaff
On Tue, Feb 09, 2016 at 01:56:30PM +0100, Patrick Welzel wrote: > I am having some trouble using Open vSwitch with OpenFlow15. With OF15, > the message format for OFP_PACKET_OUT, OFP_GROUP_MOD and possibly others > has changed: The former in_port field was removed and a ofp_match > structure was ad

Re: [ovs-discuss] Why is OVS patch used instead of veth pairs to connect OVS bridges?

2016-02-07 Thread Ben Pfaff
On Sun, Feb 07, 2016 at 11:12:35AM +0100, Dragos Ilie wrote: > The explanation I've seen is that the OVS /patch/ interface is optimized > for OpenvSwitch. I would like to understand what is being optimized. > > I've seen a reply on the OVS mailing list that says OVS /patch/ ports > are implemented

Re: [ovs-discuss] metadata_mask value

2016-02-05 Thread Ben Pfaff
On Fri, Feb 05, 2016 at 06:11:57AM -0800, David Gabriel wrote: > I am writing a controller application and I want to set the metadata filed. > But I am wondering which value shall I set the metadata_mask ? If you want to set all the bits, use UINT64_MAX for the mask. __

Re: [ovs-discuss] ofport->may_enable flag in run_port()

2016-02-05 Thread Ben Pfaff
On Fri, Feb 05, 2016 at 11:47:05AM +, Zoltán Balogh wrote: > Hi, > > The ofport->may_enable flag is set in the run_port() function of ofproto-dpif. > I was looking at this code below: > > if (ofport->bundle) { > enable = enable && lacp_slave_may_enable(ofport->bundle->lacp, > ofp

Re: [ovs-discuss] forwarding packets with wrong FCS

2016-02-05 Thread Ben Pfaff
On Fri, Feb 05, 2016 at 01:05:57PM +0100, Ferdinand wrote: > Hello, > > in my OVS installation it seems that packets with wrong FCS are not > forwarded by OVS. The output of ethtool shows > > rx-fcs: off [fixed] > rx-all: off [fixed] > > which tells me, that forwarding of packets rising an FCS

<    1   2   3   4   5   6   7   8   9   10   >