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

[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] 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. ___

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] 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 == \"

[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] 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

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] 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] 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] 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] 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] [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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 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] 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] 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
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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] [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] OpenFlow 1.3 Groups with type select

2016-04-18 Thread Ben Pfaff
On Mon, Apr 18, 2016 at 04:57:16PM -0400, Rüdiger Birkner wrote: > I am planning to use the OF 1.3 select group feature. It is important for > my application that the buckets are assigned based on the five tuple (or at > least the mac and ip addresses). Is the selection of the bucket still based >

Re: [ovs-discuss] (no subject)

2016-04-18 Thread Ben Pfaff
On Mon, Apr 18, 2016 at 10:42:21PM +, Tarren, Jacob A. (LARC-B703)[LITES II] wrote: > Hello! > > I've just started experimenting with OpenVSwitch on Xen, and so far I like > it, but I'm running into an issue setting up port mirroring and promiscuous > mode. > > I'm trying to get all traffi

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

2016-04-19 Thread Ben Pfaff
On Tue, Apr 19, 2016 at 08:08:46AM +, Farhad Sunavala wrote: > Proposal: > We introduce the interface keyword "learn= no". > E.g. ovs-vsctl set interface foo learn=no > > This will instruct br-int NOT to do MAC learning on packets received on > interface foo. This seems less flexible than add

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

2016-04-19 Thread Ben Pfaff
On Tue, Apr 19, 2016 at 01:06:25PM +, Jan Wickbom wrote: > > > > -Original Message- > > From: Ben Pfaff [mailto:b...@ovn.org] > > Sent: den 18 april 2016 17:37 > > To: Jan Wickbom > > Cc: discuss@openvswitch.org > > Subject: Re: [ovs-discuss

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

2016-04-19 Thread Ben Pfaff
Please don't drop the mailing list. On Mon, Apr 18, 2016 at 11:24:22PM -0400, Rüdiger Birkner wrote: > I see. This requires me to use OFv1.5, right? Yes. We'd take patches, if you want to make it available in earlier versions. > Is there a way to configure ovs to use the five-tuple and then >

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

2016-04-19 Thread Ben Pfaff
On Tue, Apr 19, 2016 at 04:27:19PM +, Farhad Sunavala wrote: > >>  Proposal: > >> We introduce the interface keyword "learn= no". > >> E.g. ovs-vsctl set interface foo learn=no > >>  > >> This will instruct br-int NOT to do MAC learning on packets received on > >> interface foo. > > >This seem

Re: [ovs-discuss] vlan dev can't be created by 'ip link add' when use ovs2.5.0

2016-04-19 Thread Ben Pfaff
On Tue, Apr 19, 2016 at 08:42:28PM +0800, zhao.j...@zte.com.cn wrote: > Hi,dear all: > I'm using ovs2.5.0 in centos7.2, for the reason of drivers, i has no > choice but to use function > of vlan splinters. You are using Linux 3.2 or earlier? ___ di

Re: [ovs-discuss] 答复: Re: vlan dev can't be created by 'ip link add' when use ovs2.5.0

2016-04-19 Thread Ben Pfaff
On Wed, Apr 20, 2016 at 09:19:16AM +0800, zhao.j...@zte.com.cn wrote: > I'm using Linux 3.10.0-229 with intel 82599 10 gigabit nics, and the > network driver is ixgbe, version 3.21.2 Linux 3.3 and later should not need VLAN splinters. ___ discuss ma

Re: [ovs-discuss] ovs-vsctl:Error detected while setting up 'vnet1'.

2016-04-20 Thread Ben Pfaff
On Wed, Apr 20, 2016 at 05:25:23PM +0800, Troy wrote: > Hi, Dear all: > I have installed my OVS in Ubuntu-14.04. The OVS version is 2.5.0. > I installed two VMs in the system, and the ifconfig list contains 'vnet0' > and 'vnet1'. > When I add a port named 'vnet1' to br0, it shows: > ovs-vsctl:

Re: [ovs-discuss] 答复: Re: 答复: Re: vlan dev can't be created by 'ip link add' when use ovs2.5.0

2016-04-20 Thread Ben Pfaff
On Wed, Apr 20, 2016 at 03:04:52PM +0800, zhao.j...@zte.com.cn wrote: > I think VLAN splinters are needed for the buggy network drivers, and i > find ixgbe > is one among them. suppose network driver is buggy, and VLAN splinters are > used > on the nics, i think ovs should not deals with those

Re: [ovs-discuss] ovs get stuck when running traffic from VM to VM on same compute

2016-04-21 Thread Ben Pfaff
On Thu, Apr 21, 2016 at 01:24:35PM +, Yi Ba wrote: >   >- What you did that make the problem appear. > launching 2 VMs on the same host. The host has ovs-dpdk and the VM ports are > vhostuser. Generating bi-directional traffic (each VM sends to the other)  > using dpdk from within t

Re: [ovs-discuss] controller's role mismatch?

2016-04-21 Thread Ben Pfaff
On Thu, Apr 21, 2016 at 02:55:46PM +, Peter Gubka -X (pgubka - PANTHEON TECHNOLOGIES at Cisco) wrote: > Is something wrong with my approach or is it a bug in openvswitch? > Is role parameter reliable? Please enable OpenFlow debug logging with "-vvconn" or "ovs-appctl vlog/set vconn", then rep

Re: [ovs-discuss] [question about openflow table in ovs]

2016-04-22 Thread Ben Pfaff
On Fri, Apr 22, 2016 at 04:52:29PM +0800, lol wrote: > Hi, any one can tell me the arctitecture of flow table in ovs? https://www.usenix.org/conference/nsdi15/technical-sessions/presentation/pfaff ___ discuss mailing list discuss@openvswitch.org http://o

Re: [ovs-discuss] problem compiling ovs-2.3.2 extended with a new definition of action.

2016-04-22 Thread Ben Pfaff
On Fri, Apr 22, 2016 at 03:55:07PM +0800, Haosen Wen wrote: > Hi all, > > I'm trying to add a new action, "FLAT" to ovs-2.3.2 action definitions. > When compiling, I met the following errors: > > *lib/ofp-actions.c: In function 'ofpact_from_openflow11':* > *lib/ofp-actions.c:1155:5: error: duplic

Re: [ovs-discuss] ovs-vswitchd disconnecting UNIX socket

2016-04-23 Thread Ben Pfaff
On Fri, Apr 22, 2016 at 11:25:26PM -0700, Ben Warren wrote: > As you can see, the disconnects happen when the datapath ID changes, > presumably due to adding interfaces? Only the addition of the first > two interfaces seem to bring it down. OVS disconnects OpenFlow connections when the datapath I

Re: [ovs-discuss] ovs-vswitchd disconnecting UNIX socket

2016-04-23 Thread Ben Pfaff
On Sat, Apr 23, 2016 at 11:45:12AM -0700, Ben Warren wrote: > Thanks for the explanations! > > On Apr 23, 2016, at 10:15 AM, Ben Pfaff wrote: > > > > On Fri, Apr 22, 2016 at 11:25:26PM -0700, Ben Warren wrote: > >> As you can see, the disconnects happe

Re: [ovs-discuss] OF 1.4 Flow Monitoring

2016-04-26 Thread Ben Pfaff
On Tue, Apr 26, 2016 at 01:56:58PM +0200, Joel Frank wrote: > I got some questions regarding ovs and flow entry monitoring. I found > several patches back in Jun 2014 implementing Flow Monitors > (http://openvswitch.org/pipermail/dev/2014-June/041673.html). However I > can't get them to work with c

Re: [ovs-discuss] IP on bridge / internal iface

2016-04-26 Thread Ben Pfaff
On Tue, Apr 26, 2016 at 02:10:20PM +0200, Petr Horacek wrote: > is there any difference between setting an IP on OVS bridge and setting in > on its internal iface? > > ovs-vsctl add-br br0 > ip addr add 192.168.1.10 dev br0 > > vs. > > ovs-vsctl add-br br0 -- add-port br0 mgmt0 -- set Interface

Re: [ovs-discuss] ovs service cannot start when reboot the server

2016-04-26 Thread Ben Pfaff
On Tue, Apr 26, 2016 at 07:09:39PM +0800, 307419...@qq.com wrote: > Apr 26 03:51:17 ppmaster ovsdb-server[711]: > ovs|2|stream_unix|ERR|/var/run/openvswitch/db.sock: binding failed: No > such file or directory /var/run/openvswitch doesn't exist. You'll have to create it. (The scripts that

Re: [ovs-discuss] ovs-ofctl dump-flows functionality

2016-04-26 Thread Ben Pfaff
On Tue, Apr 26, 2016 at 01:46:26PM +0900, Borasy Kong wrote: > Can someone help show me how the flow stats is generated. For example, > where does the ovs-ofctl dump-flows get the data like n_packet, n_bytes > from each time this command is issued. Is there any particular spot in the > OVS source c

Re: [ovs-discuss] Push_vlan action

2016-04-26 Thread Ben Pfaff
On Tue, Apr 26, 2016 at 02:55:51PM +, Evgeny Sandler wrote: > I'm using OVS-2.1.3 and I'm trying to push additional .1q VLAN tag to > Ethernet frame which already has one VLAN tag by using ovs-ofctl > command as follows: OVS doesn't support QinQ. ___

Re: [ovs-discuss] ovs get stuck when running traffic from VM to VM on same compute

2016-04-26 Thread Ben Pfaff
riginal Message- > From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Ben Pfaff > Sent: יום ה 21 אפריל 2016 19:54 > To: Yi Ba > Cc: b...@openvswitch.org > Subject: Re: [ovs-discuss] ovs get stuck when running traffic from VM to VM > on same compute > &g

Re: [ovs-discuss] Push_vlan action

2016-04-26 Thread Ben Pfaff
itch. > > Evgeny > > On 26 ? 2016, at 18:17, Ben Pfaff mailto:b...@ovn.org>> > wrote: > > On Tue, Apr 26, 2016 at 02:55:51PM +, Evgeny Sandler wrote: > I'm using OVS-2.1.3 and I'm trying to push additional .1q VLAN tag to > Ethernet frame wh

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

2016-04-27 Thread Ben Pfaff
od to > > return "ODP_FIT_TOO_LITTLE" due to "expected but not present" attribute, > > which makes perfect sense. However, this was not taken any further and the > > flow entry is still cached at the kernel. > > > > Is there any additional logic

Re: [ovs-discuss] how to implement "add flow"

2016-04-28 Thread Ben Pfaff
On Thu, Apr 28, 2016 at 08:32:32AM +, Kai Ma (kaima) wrote: > I want to implement a HW ASIC switch by porting OVS. > For ³add flow², I want to use HW ASCI TCAM to set ACL rule for flow, not > linux CPU. > > How can I porting this part? Did you read PORTING.md? > In OVS-ofctl.c line616, tran

Re: [ovs-discuss] New action type is not decoded correctly.

2016-04-28 Thread Ben Pfaff
On Thu, Apr 28, 2016 at 07:08:08PM +0800, Haosen Wen wrote: > I defined a new action with type=0x1000(4096) in loxigen through floodlight > controller. But the decode result in ovs is type=0x10(16). What do you mean, "the decode result in ovs is type=0x10(16)." OVS doesn't decode actions to a raw

Re: [ovs-discuss] receiving packet In with Buffer ID = 4294967295

2016-05-02 Thread Ben Pfaff
On Mon, May 02, 2016 at 08:35:39AM +, ‪Majid Taleqani‬ ‪ wrote: > i have a host that sends 100 tcp syn packets per second which every packet > has spoofed source IP and as a result they all will be sent to the POX > controller. as i monitor by Wireshark i see that the first 250s packetIns >

Re: [ovs-discuss] Can't use queues with OVS when adding delay to links with Mininet

2016-05-02 Thread Ben Pfaff
On Sat, Apr 30, 2016 at 08:55:41PM +0200, Guillermo Chica wrote: > Hi, > > I have created a topology with mininet. When I've added the links, I've > used the delay parameter, as in self.addLink( node1, node2, delay='5ms'). > After running the topology with sudo mn --custom topo5g.py --topo topo5g

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

2016-05-02 Thread Ben Pfaff
On Mon, Apr 18, 2016 at 07:38:43AM +, Ali Volkan Atli wrote: > @Ben, the proposal is from > (https://mailman.stanford.edu/pipermail/openflow-discuss/2010-June/thread.html#1024). > Also > I don't think it violets the Openflow specs. Could you please give us > more information? It breaks LLDP:

Re: [ovs-discuss] how to implement "add flow"

2016-05-02 Thread Ben Pfaff
On Thu, Apr 28, 2016 at 11:21:24PM +, Kai Ma (kaima) wrote: > > 在 2016年4月28日,下午10:01,Ben Pfaff 写道: > > > > On Thu, Apr 28, 2016 at 01:50:31PM +, Kai Ma (kaima) wrote: > >>> 在 2016年4月28日,下午9:36,Ben Pfaff 写道: > >>>> On Thu, Apr 28, 2016 at 08:3

Re: [ovs-discuss] OFPP_NORMAL

2016-05-02 Thread Ben Pfaff
On Tue, Apr 26, 2016 at 05:42:28PM +0100, oualid hjira wrote: > im using OvS and i want to send packets directly to the kernel, i've made > some researches i found that OFPP_NORMAL action will handle this problem > but the packet are either sent to controller neither to the kernel What does "the p

Re: [ovs-discuss] OFPP_NORMAL

2016-05-02 Thread Ben Pfaff
controller(if mismatch). what i'm > interested about is to send packets directly to the kernel where i can > activate a routing daemon. > > Best regards > > 2016-05-02 19:01 GMT+01:00 Ben Pfaff : > > > On Tue, Apr 26, 2016 at 05:42:28PM +0100, oualid hjira wrote: &g

Re: [ovs-discuss] IGMP packets dropped

2016-05-02 Thread Ben Pfaff
On Tue, Apr 26, 2016 at 04:43:38PM +, O'Reilly, Darragh wrote: > We have an application that we need to be able to restart quickly. It > listens on a multicast address, so a restart causes IGMPv3 leave > packets to be sent and join packets soon after. OVS250 receives the > leave packet and remo

Re: [ovs-discuss] OFPP_NORMAL

2016-05-02 Thread Ben Pfaff
Please don't drop the mailing list. What does it mean to "output the response of the kernel"? On Mon, May 02, 2016 at 09:19:47PM +0100, oualid hjira wrote: > thanks Ben, > but how can we output the response of the kernel ?? > > 2016-05-02 20:28 GMT+01:00 Ben Pfaff

Re: [ovs-discuss] ovs test fail on big endian platforms.

2016-05-02 Thread Ben Pfaff
What if we just make ofp_port_t 32 bits? That has to be the long-term trend anyway because OpenFlow 1.1+ uses a 32-bit port number. The following passes all the unit tests on i386 (though I haven't carefully looked at all the uses of ofp_port_t), what about big-endian systems? diff --git a/inclu

Re: [ovs-discuss] OFPP_NORMAL

2016-05-02 Thread Ben Pfaff
which handles the arp request but when it comes > to send the reply from the kernel via br0 it doesn't work > > > thank you > > 2016-05-02 21:29 GMT+01:00 Ben Pfaff : > > > Please don't drop the mailing list. > > > > What does it mean to "out

Re: [ovs-discuss] controller's role mismatch?

2016-05-02 Thread Ben Pfaff
On Fri, Apr 22, 2016 at 09:32:26AM +, Peter Gubka -X (pgubka - PANTHEON TECHNOLOGIES at Cisco) wrote: > Hello, > > I had to use 2 switches/bridges to reproduce the problem. Logs in attachments. > > Just for the time orientation: > Enabling 2 masters for 2 switches (controller firstly sent sl

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

2016-05-02 Thread Ben Pfaff
On Tue, Apr 19, 2016 at 05:30:21PM +, Farhad Sunavala wrote: > >"normal" consists of a number of more or less independent steps: > >        * Drop certain malformed or invalid frames. > >        * Check VLAN. > >        * Check for other inadmissible frames. > >        * Learn source MAC. > >  

Re: [ovs-discuss] problem with add port to ovs

2016-05-03 Thread Ben Pfaff
On Sat, Apr 23, 2016 at 10:19:13AM +0200, Tomasz Łukojko wrote: > Problem start when i want tio add port to br: > "vs-vsctl add-port br0 gre1 -- set interface gre1 type=gre > ovs-vsctl: Error detected while setting up 'gre1'. See ovs-vswitchd log > for details." > and now i cant add any port. I t

Re: [ovs-discuss] ovs test fail on big endian platforms.

2016-05-03 Thread Ben Pfaff
On Tue, May 03, 2016 at 01:53:42PM +0200, Gerhard Stenzel wrote: > > On 05/02/2016 10:36 PM, Ben Pfaff wrote: > >What if we just make ofp_port_t 32 bits? That has to be the long-term > >trend anyway because OpenFlow 1.1+ uses a 32-bit port number. The > >following pass

Re: [ovs-discuss] ovs-ofctl queue-get-config issue

2016-05-03 Thread Ben Pfaff
On Tue, May 03, 2016 at 11:38:49AM +, fatt 3issam wrote: > When executing the command: # ovs-ofctl queue-get-config swicth switch-port, > i only get the queue id!! > OFPT_QUEUE_GET_CONFIG_REPLY (OF1.3) (xid=0x4): port=2queue 0: > I want to get the queue properties also! > my queue configurati

Re: [ovs-discuss] Create Queues in OVS

2016-05-03 Thread Ben Pfaff
On Tue, May 03, 2016 at 12:22:26AM -0700, Aravind Ganesan wrote: > Hi > I am trying to develop QoS in mininet OVS switches. I am using Mininet VM > 2.2.1. > I referred to earlier messages in this list and from that, I tried the > "dpctl add-queue s1 1 q-id 1 " but it says "command not found". OVS

Re: [ovs-discuss] controller's role mismatch?

2016-05-03 Thread Ben Pfaff
On Tue, May 03, 2016 at 07:02:45AM +, Peter Gubka -X (pgubka - PANTHEON TECHNOLOGIES at Cisco) wrote: > Are you sure about "reconnecting" switches? As i wrote before , to reproduce > the problem, i had to use 2 switches/bridges. You're right, now that I look again. I missed the differences

Re: [ovs-discuss] ovs-ofctl queue-get-config issue

2016-05-03 Thread Ben Pfaff
I don't think that HTB works on a virtual interface anyhow; I believe that it needs a fixed link speed. I think that mininet can do what you want, so you might want to ask on a mininet mailing list. On Tue, May 03, 2016 at 07:29:58PM +, fatt 3issam wrote: > Thank you.If I understood, No versi

Re: [ovs-discuss] ovs test fail on big endian platforms.

2016-05-04 Thread Ben Pfaff
On Wed, May 04, 2016 at 02:44:38PM +0200, Gerhard Stenzel wrote: > > > On 05/03/2016 05:25 PM, Ben Pfaff wrote: > >On Tue, May 03, 2016 at 01:53:42PM +0200, Gerhard Stenzel wrote: > ... > >>[openvswitch 2.5.90] testsuite: 744 745 818 949 980 1026 1087 failed > >

Re: [ovs-discuss] Source network of a packet

2016-05-05 Thread Ben Pfaff
ing an old thread. To clarify, does the packet itself > > contain the tunnel_key of the datapath binding? If so, what exactly is the > > structure of a packet in this case or where in the packet would I find this > > field? > > > > Thanks, > > > > Brendan

Re: [ovs-discuss] OVN Questions

2016-05-05 Thread Ben Pfaff
On Thu, May 05, 2016 at 09:19:56PM +, Maurice Qureshi wrote: > I am tracing the packet using the ovn/env1/packet1.sh. Trace seems to > show that it is hitting the entry in flow table and eventually action > is output port 2. However, The n_packets counters for any of the entry > in flow table d

Re: [ovs-discuss] queue_get_config_reply issue

2016-05-06 Thread Ben Pfaff
On Fri, May 06, 2016 at 09:14:53AM +, fatt 3issam wrote: > Could you please tell me what this means in ofproto/ofproto.c in the method > put_get_config_reply(...) > (https://github.com/openvswitch/ovs/blob/master/ofproto/ofproto.c#L6271) : > /* None of the existing queues have compatible pro

Re: [ovs-discuss] How to configure ARP cache TTL in OVS

2016-05-06 Thread Ben Pfaff
On Thu, May 05, 2016 at 06:09:13PM +, Chen, Weiwen wrote: > Try to find out how to configure that for vswitch so I can adjust ARP > cache TTL per my needs. Please let me know if you know the answer. OVS has an ARP cache used for userspace tunneling. If that's the one you mean, then I don't th

Re: [ovs-discuss] queue_get_config_reply issue

2016-05-08 Thread Ben Pfaff
You'd want to enhance netdev_get_queue() to support these properties, and then push that down to every netdev implementation via netdev_class. On Sat, May 07, 2016 at 12:05:49PM +, fatt 3issam wrote: > It's obvious that it's hard coded. The correct values should be read > from the actual queue

Re: [ovs-discuss] OVN Questions

2016-05-08 Thread Ben Pfaff
On Fri, May 06, 2016 at 11:02:54PM +, Maurice Qureshi wrote: > Thank Ben. > > Now in order to see if traffic is really getting forwarded by the flows > created by OVN and OVS, I have done following. > > 1) Created two Linux Containers with MAC addresses as 00::01 and 00::02. They > are in

Re: [ovs-discuss] IGMP packets dropped

2016-05-08 Thread Ben Pfaff
On Thu, May 05, 2016 at 04:04:42PM +, O'Reilly, Darragh wrote: > > > Does the following patch make a difference? > > Yes it does - thanks. But now we have another problem when the video > app restarts. Still trying to pin it down. Thanks for testing. I sent out a patch for formal review:

Re: [ovs-discuss] Multithreading "connmgr": Help required on multiple controllers per bridge

2016-05-09 Thread Ben Pfaff
On Mon, May 09, 2016 at 10:50:04AM +0530, jagadish krishnappa wrote: > To increase the number of flow-mods per second, we are planning to spawn a > new thread to handle the entire connection manager functionality. > A multi thread functionality to handle all OF connections to a OVS switch. I don't

Re: [ovs-discuss] Logging in OVS

2016-05-09 Thread Ben Pfaff
On Mon, May 09, 2016 at 03:02:02PM +0900, Borasy Kong wrote: > So I've been trying to log in OVS using both OVS_NLERR() and printk() but I > cannot see my message in 'dmesg' at all. > Can someone tell me if there is a proper way to log in OVS? There's nothing special about logging in the OVS kerne

  1   2   3   4   5   6   7   8   9   10   >