Re: [ovs-discuss] Does OVN support to set traffic routing rules?

2017-02-03 Thread Ben Pfaff
On Fri, Feb 03, 2017 at 07:52:28PM +, Shuaijun Zhang wrote: > > > > > > > > Message: 2 > > Date: Fri, 3 Feb 2017 09:32:41 -0700 > > From: Scott Lowe > > To: ovs-discuss@openvswitch.org > > Subject: Re: [ovs-discuss] Does OVN support to set traffic routing > >

Re: [ovs-discuss] selective packet mirror

2017-02-02 Thread Ben Pfaff
On Thu, Feb 02, 2017 at 01:12:02PM -0800, Joo Yong-Seok wrote: > Hi, > > I am wondering is it possible to do "selective" packet mirroring. From > previous question, I learnt how to enable port mirror on OVS port but I > think that I should do "selective" packet mirroring since performance issue.

Re: [ovs-discuss] Talk Proprosal: OVN control of the black box.

2017-02-02 Thread Ben Pfaff
On Thu, Feb 02, 2017 at 02:51:19PM -0400, Raymond Burkholder wrote: > > > > I went through Dustin Spinhirne's OVN Tutorial. It helped immensely > > > > in understanding OVS/OVN interactions. And also highlighted some of > > > > the shortcomings. > > > > > > > > Of many, two, possibly related,

Re: [ovs-discuss] ovs-vsctl: Input validation error with 'invalid' strings

2017-02-03 Thread Ben Pfaff
On Fri, Feb 03, 2017 at 11:02:39AM +, Gabor Locsei wrote: > Due to an unitialized script variable, we managed to create a bridge with an > 'empty' name. > > ovs-vsctl threw an error but the object was created nonetheless. I reproduced > the error on different versions. > To avoid

Re: [ovs-discuss] selective packet mirror

2017-02-03 Thread Ben Pfaff
ic, and definitely > tap0 didn't receive any packet. So, dump the rule and there is no > "output:tap0" action in the flow. > > I am using pretty old version of ovs - which is 2.3.90 - and it may cause > the issue? or any issue on tap0? > > Best regards, > > - yong

[ovs-discuss] Open vSwitch Open Source Days at OpenStack Summit Boston, May 8-11: call for participation

2017-02-01 Thread Ben Pfaff
[reposted from ovs-announce, apologies to anyone who has already seen this] The Open vSwitch project is participating in Open Source Days at OpenStack Summit Boston. During the summit, Open vSwitch will have dedicated use of a room for a full day. We are seeking participation for talks and

[ovs-discuss] any help from Python experts? (was: Re: Branch v2.6.1 repo does not make (github))

2017-01-31 Thread Ben Pfaff
Python bindings for Open vSwitch > > Regards, > Logu > > On Sun, Jan 29, 2017 at 10:16 AM Ben Pfaff <b...@ovn.org> wrote: > > Perhaps you have some old version of the Python libraries for Open > vSwitch installed somewhere? In older versions of OVS, the function

Re: [ovs-discuss] after setting ovs-vsctl set open . external-ids:ovn-encap-ip=, eth0 stops tansmitting any packets in docker container

2017-01-31 Thread Ben Pfaff
ething to the docker eth0 interface > .Again this problem does't happen on a Vm. > > It only happens on a docker container (:. > > Thx > Ritesh > > -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Tuesday, January 31, 2017 1:38 PM > To: Ritesh Rek

Re: [ovs-discuss] A sorted tree to hold dumped-flows

2017-01-31 Thread Ben Pfaff
On Tue, Jan 31, 2017 at 12:53:32PM +, Avi Cohen (A) wrote: > I need to store (in userspace) the dumped datapath cache entries into a > sorted tree - based on a score that will be given to each entry. > Is the existing flows data-base (ofproto module) already includes a sorted > tree for

Re: [ovs-discuss] A sorted tree to hold dumped-flows

2017-01-31 Thread Ben Pfaff
There's already a heap, see lib/heap.[ch]. On Tue, Jan 31, 2017 at 03:34:26PM +, Avi Cohen (A) wrote: > Thanks - I'll implement a heap > > > -Original Message- > > From: Ben Pfaff [mailto:b...@ovn.org] > > Sent: Tuesday, 31 January, 2017 5:30 PM > >

Re: [ovs-discuss] after setting ovs-vsctl set open . external-ids:ovn-encap-ip=, eth0 stops tansmitting any packets in docker container

2017-01-31 Thread Ben Pfaff
On Mon, Jan 30, 2017 at 02:11:15AM +, Ritesh Rekhi wrote: > To test scalability of controller, I made a docker container which simulates > as chassis using the instructions given by Dustin > http://blog.spinhirne.com/2016/09/a-primer-on-ovn.html. > > Everything was working fine, I was able

Re: [ovs-discuss] A sorted tree to hold dumped-flows

2017-01-31 Thread Ben Pfaff
A shash is not a tree. On Tue, Jan 31, 2017 at 01:17:52PM +, Avi Cohen (A) wrote: > I don't see any sorted tree in the code for the dumped flows, but I see that > in ofproto-dpif.c a'shash' is used for a sorted db. > I think to use a shash tree also. > > > -Original

Re: [ovs-discuss] Possible bug with OVS LACP + VPC

2017-01-31 Thread Ben Pfaff
On Wed, Jan 18, 2017 at 04:56:00PM -0600, Chad Norgan wrote: > Thanks so much for the deeper understanding. I think from here I'm > going to get a mirror port setup on the switch so I can confirm that > the switch is indeed sending that pdu on the restored link. I can then > take that to the

Re: [ovs-discuss] [ovn-controller-vtep] Will ovn-controller-vtep write vtep db

2017-02-02 Thread Ben Pfaff
On Thu, Feb 02, 2017 at 03:02:52PM +, Macauley Cheng wrote: > I try to setup the ovn environment with ovn-controller-vtep. But I found > ovn-controller-vtep won’t write anything to vtep database. > According to OVN architecture document, the tunnel key in ovnsb-db was filled > by

Re: [ovs-discuss] upcall first or the next packet first?

2017-02-06 Thread Ben Pfaff
On Mon, Feb 06, 2017 at 05:13:45PM +0800, 杨润垲 wrote: > Dear predecessors, I have a problem. If ovs receives two packets, the > first one is not in the flow table, and the second one is in the flow > table, then the kernel will send the first packet of information to > the userspace. Does the

Re: [ovs-discuss] OVS unit tests Windows CI

2017-02-06 Thread Ben Pfaff
On Mon, Feb 06, 2017 at 07:35:55PM +, Alin Serdean wrote: > I would like to announce the availability of the Windows unit tests CI. > > The results of the CI runs can be found at: > http://64.119.130.115/ovs/ > > This will help us maintain the common code base. > At the moment it sends out

Re: [ovs-discuss] after setting ovs-vsctl set open . external-ids:ovn-encap-ip=, eth0 stops tansmitting any packets in docker container

2017-01-31 Thread Ben Pfaff
> port lrp-c1c22fbb-5928-41c8-aa1a-c5a746c22118 > mac: "fa:16:3e:6f:ed:ce" > networks: ["10.20.4.1/24"] > router 9cc399f6-60bc-4117-8f0a-941711697c8e > (neutron-39c6e2b9-4e0b-4641-9ca0-2a4ccc06741c) > router 7636ef03-96

Re: [ovs-discuss] netdev_linux_update_flags() needs seq_change() ?

2017-02-02 Thread Ben Pfaff
bs during these > weeks. > > I use openvswitch 2.1.2, so no netdev_change_seq_changed() API to be used. > > Could I use seq_change() instead of netdev_change_seq_changed()? > > BR. > > Brandon > > > 2017-02-01 7:14 GMT+08:00 Ben Pfaff <b...@ovn.org>: &

Re: [ovs-discuss] netdev_linux_update_flags() needs seq_change() ?

2017-01-31 Thread Ben Pfaff
On Fri, Jan 13, 2017 at 01:03:32PM -0800, Ben Pfaff wrote: > On Wed, Jan 11, 2017 at 04:05:51PM +0800, Brandon Cheng wrote: > > After all statements of netdev_linux_update_flags() executed successfully, > > it also executes seq_change() to tell ofproto_run() something changed to &

Re: [ovs-discuss] Branch v2.6.1 repo does not make (github)

2017-01-28 Thread Ben Pfaff
On Sat, Jan 28, 2017 at 03:36:22AM +, Logu J wrote: > I'm stuck at below error (on Ubuntu 14.04.5 LTS). Any clue please? > > ubuntu@sdnhubvm:openvswitch[09:00] (master)$ git checkout -b v2.6.1 > Switched to a new branch 'v2.6.1' You were on master, which is presumably a clone of the OVS

Re: [ovs-discuss] Branch v2.6.1 repo does not make (github)

2017-01-28 Thread Ben Pfaff
or FITNESS FOR A PARTICULAR PURPOSE. > > Regards, > Logu > > On Sat, Jan 28, 2017 at 11:33 PM Ben Pfaff <b...@ovn.org> wrote: > > > On Sat, Jan 28, 2017 at 03:36:22AM +, Logu J wrote: > > > I'm stuck at below error (on Ubuntu 14.04.5 LTS). Any clue p

Re: [ovs-discuss] OVS Make - make[2]: *** [dist-hook-git] Error

2017-02-20 Thread Ben Pfaff
On Sun, Feb 19, 2017 at 01:51:20PM +, 蘇于倫 wrote: > Hi everyone, > > When I try to re-build and re-install OVS, I encountered the following > error message, which > appears twice in the log of make execution: > > make[2]: *** [dist-hook-git]* Error 1* > make[2]: Leaving directory

Re: [ovs-discuss] Ip grouping in openflow rule

2017-02-20 Thread Ben Pfaff
On Mon, Feb 20, 2017 at 11:46:12AM +0300, Tugrul Erdogan wrote: > Hi all, > > I am working on Centos 7 with OVS. I have simple flow rules as stated below: > > ovs-ofctl add-flow ovs-brext "ip, nw_dst=10.3.4.6, actions=drop" > ovs-ofctl add-flow ovs-brext "ip, nw_dst=172.16.0.6, actions=drop"

Re: [ovs-discuss] proactive controller utility contribution request

2017-02-24 Thread Ben Pfaff
On Fri, Feb 24, 2017 at 01:10:23PM +0100, José Luis Millán wrote: > I am developing a simple utility tool that maintains connections with a > list of switches and adds and removes flows on them. > > It's been called 'ovs-proactivecontroller' and it is inspired by > 'ovs-testcontroller' utilitly,

[ovs-discuss] Open vSwitch Open Source Day: Call for lightning talks

2017-02-24 Thread Ben Pfaff
The Open vSwitch project is participating in Open Source Days at OpenStack Summit Boston. During the summit, Open vSwitch will have dedicated use of a room for a full day. We are now soliciting proposals for 5-minute "lightning talks" for the program. OpenStack Summit Boston will be held May 8

Re: [ovs-discuss] Is of-ctl add-flow persistent across reboots ?

2017-02-10 Thread Ben Pfaff
second bridge is to forward > traffic to this port. > > Am 10.02.17 19:57 schrieb Ben Pfaff <b...@ovn.org>: > > > > OpenFlow switches generally consider flows to be "soft state". The > > controller is expected to install whatever flows are needed.

Re: [ovs-discuss] Is of-ctl add-flow persistent across reboots ?

2017-02-10 Thread Ben Pfaff
OpenFlow switches generally consider flows to be "soft state". The controller is expected to install whatever flows are needed. If you need persistent flows, using a controller is the typical way. On Fri, Feb 10, 2017 at 06:15:19PM +0100, Jannis Ohms wrote: > > Ok > Are there any reasons Why

Re: [ovs-discuss] OVN how to support firewall or it's develop roadmap

2017-02-09 Thread Ben Pfaff
On Thu, Feb 09, 2017 at 10:49:04PM +0800, multi_t...@163.com wrote: > 1. I need firewall function of OVN, what can i do ? OVN has a distributed firewall. What's wrong with it for your purpose? > 2. I wonder to know OVN's develop roadmap, where can I find it? You can find some items in

Re: [ovs-discuss] OVN how to support firewall or it's develop roadmap

2017-02-09 Thread Ben Pfaff
On Thu, Feb 09, 2017 at 07:18:23PM +0800, 高正伟 wrote: > Hello, OVN support ACL rule to control logical port depend on > conntrack, I wonder to know that how to support firewall function from > router’s view, or please tell me it’s develop roadmap. Can you explain the question in more detail, or

Re: [ovs-discuss] Indirect Control Channel

2017-02-09 Thread Ben Pfaff
On Thu, Feb 09, 2017 at 09:49:11AM -0700, Scott Lowe wrote: > Please see my reply below. > > > On 02/09/2017 08:36 AM, Jannis Ohms wrote: > > I would like to connect my Switches indirect with the controller. To > > achive this i would like to deploy 2 bridges on every switch one to > > provide

Re: [ovs-discuss] custom field in OVS flow rules

2017-02-09 Thread Ben Pfaff
> flow) always go through ovs-vswitchd? > > Best regards, > > Eryk Schiller > > > Quoting Ben Pfaff <b...@ovn.org>: > > >On Wed, Feb 08, 2017 at 10:29:29PM +0100, Eryk Schiller wrote: > >>Dear all, > >> > >>I am writing this

[ovs-discuss] CFP: Second IEEE Workshop on Open-Source Software Networking (OSSN 2017)]

2017-02-16 Thread Ben Pfaff
iversity, Korea Teck Chaw Ling, University of Malaya, Malaysia Diego R. Lopez, Telefonica, Spain Akihiro Nakao, University of Tokyo, Japan Ben Pfaff, Vmware, USA Seung-Jong Park, Louisiana State University, USA Soohong Daniel Park, Samsung Electronics, Korea Andrea Pinnola, Telecom Italia Mobi

Re: [ovs-discuss] How to configure OVS to add multiple physical interfaces that are on different networks?

2017-01-18 Thread Ben Pfaff
On Wed, Jan 18, 2017 at 04:46:25PM +0100, Pavel Popa wrote: > I tried to add both the physical NICs (eth2 and eth4) into an OVS bridge > called "mybridge" with: "ovs-vsctl add-port mybridge eth2" and "ovs-vsctl > add-port mybridge eth4". However, this doesn't capture any packet received > from

Re: [ovs-discuss] Possible bug with OVS LACP + VPC

2017-01-18 Thread Ben Pfaff
Shu, thanks for all the debugging! If this is a correct interpretation of the standard, and the peer switch is misbehaving, and it's common behavior across a product line, then possibly we'll need to make OVS cope with it. Chad, do you have thoughts on Shu's discoveries? Thanks, Ben. On Wed,

Re: [ovs-discuss] Flushing queues at the OVS

2017-01-18 Thread Ben Pfaff
On Wed, Jan 18, 2017 at 10:09:33AM +0100, Jorge Baranda wrote: > I am working in a ring topology with 4 elements, each one running an > instance of ovs and controlled by an SDN controller in a reactive way. > As I am having redundancy, I am trying to measure restoration capabilities > between

[ovs-discuss] Open vSwitch and other talks at Tsinghua University this Wednesday

2016-11-14 Thread Ben Pfaff
Monday, November 14, 2016 12:02 PM To: Donghai Han <d...@vmware.com> Subject: 清华大学SDN技术分享会 韩总, 附件是最终版的电子海报,学校这边都是基于该海报进行邮件和微信的宣传的。 “ 活动主题:SDN技术前沿与未来趋势 演讲嘉宾:Ben Pfaff, Howie Xu, Tianpeng Zhang 活动时间:2016年11月16日(周三)14:00-17:00 活动地点:FIT 1-312 内容介绍:本次活动邀请到Open vSwitch作者

Re: [ovs-discuss] OVS logs not found

2016-11-25 Thread Ben Pfaff
ify it while starting OVS? > > Best Regards, > Ashish Kurian > > On Fri, Nov 25, 2016 at 8:47 PM, Ben Pfaff <b...@ovn.org> wrote: > > > On Fri, Nov 25, 2016 at 08:36:58PM +0100, Ashish Kurian wrote: > > > When I try to add port to the bridge, I a

Re: [ovs-discuss] [ovn] router port type for logical port

2016-11-22 Thread Ben Pfaff
On Tue, Nov 15, 2016 at 08:56:10AM -0800, Murali R wrote: > I am trying to attach ovn logical port to an openstack L3 router. > When creating a logical port, there is an option "type" and has type > "router". > When attaching to non-ovn l3, can I still give the type as "router"? > Because it is

Re: [ovs-discuss] Anybody knows how we can dynamically change vxlan dst_port by openflow load, move or set_field action?

2016-11-26 Thread Ben Pfaff
On Thu, Nov 24, 2016 at 02:39:43AM +, Yang, Yi Y wrote: > I noticed vxlan module always uses tp_dst from tunnel metadata in preference > to vxlan->cfg.dst_port, this isn't the result we want in some use cases, for > example, if we create two vxlan port which have different dst_port, when we

Re: [ovs-discuss] new action for tcp window size

2016-11-26 Thread Ben Pfaff
It doesn't look like you added anything to ofpacts_execute_action_set(). On Thu, Nov 24, 2016 at 11:36:31AM +, Ali Volkan Atli wrote: > Hi all > > I'm trying to add a new action to set or reduce TCP window size and I wrote > the patch below but I could not see my new action in action set,

Re: [ovs-discuss] throughput when using LOCAL port

2016-11-26 Thread Ben Pfaff
matin to eth2. > > 6. I receive packets include additional information in eth2. > > > > > When I use eth3 instead of LOCAL port, I got nearly 1Gbps throughput. > > But when I use LOCAL port, I got nearly 100Mbps throughput. > > Why I cannot get nearly 1Gbps

Re: [ovs-discuss] Select primary on bond active-backup interface?

2016-11-21 Thread Ben Pfaff
Use bond/set-active-slave, documented in ovs-vswitchd(8). On Tue, Nov 22, 2016 at 12:27:57AM +0200, Paul Roland wrote: > Hi everyone, > I have a bit of a dilemma here. I did create a simple bond0 via ovs, > active-backup mode. > However, ovs selects my second nick against my will and I cannot

Re: [ovs-discuss] Strange flows in bridge/dump-flows

2016-11-18 Thread Ben Pfaff
> priority=180003,arp,dl_dst=b8:af:67:84:90:d7,arp_op=2,actions=NORMAL > ... > > $ ovs-ofctl dump-flows br0 > NXST_FLOW reply (xid=0x4): > > > > From: Ben Pfaff [b...@ovn.org] > Sent: Friday, November 18, 2016 2:49 AM > To: Ali

Re: [ovs-discuss] action set

2016-11-15 Thread Ben Pfaff
On Wed, Nov 16, 2016 at 08:38:25AM +0800, sundk wrote: > 1. as we know, in openflow spec an action set contains a maximum of > one action of each type. why openflow design like this? is it > reasonable that I remove this limitation? It's meant to model hardware limitations. Also, it's designed

Re: [ovs-discuss] Packets not forwarded to queues after hitting flows in OVS QoS

2016-12-07 Thread Ben Pfaff
On Wed, Dec 07, 2016 at 12:20:24PM +0100, Santhosh R P wrote: > Hi, > > The physical port (enp0s25) of the host and the tap devices (vnet0 and > vnet1) of two hosted VMs are added to an OVS bridge named "test". > >ovs-vsctl show >Bridge test >Port test >

Re: [ovs-discuss] Packets not forwarded to queues after hitting flows in OVS QoS

2016-12-08 Thread Ben Pfaff
I'd recommend using "ovs-appctl ofproto/trace" to try tracing through the handling of a packet that should be in each queue. On Wed, Dec 07, 2016 at 02:08:29PM -0800, Ben Pfaff wrote: > It's pretty surprising to see that only queue 2 is ever set in any of > the datapat

Re: [ovs-discuss] OVN vs Distributed vSwitches

2016-12-13 Thread Ben Pfaff
On Tue, Dec 13, 2016 at 09:52:38PM +0530, Shravan S K wrote: > And can you please compare the OVN Controller to an SDN controller(say > Floodlight) ? Most SDN controllers are platforms. OVN is an application. ___ discuss mailing list

Re: [ovs-discuss] OVN vs Distributed vSwitches

2016-12-13 Thread Ben Pfaff
ler(where does it come into the picture) > in an Open Virtual Network (OVN) ? > > In the OVN architecture, does the CMS specify the kind of > functionality(like routing, load balancing, ACLs, QoS) that is needed from > the underlying network ? > > > On 13-Dec-2016 22:06,

Re: [ovs-discuss] Bridge does not specify output ; ignoring? (OVS-DPDK Ubuntu)

2016-12-06 Thread Ben Pfaff
The mirror-related errors in the log. ovs-tcpdump creates a mirror. On Tue, Dec 06, 2016 at 03:05:32PM -0500, Lax Clarke wrote: > Pardon? What's caused by ovs-tcpdump?? > > On Tue, Dec 6, 2016 at 2:17 PM, Ben Pfaff <b...@ovn.org> wrote: > > > Oh, it's probably ca

Re: [ovs-discuss] D-NAT rule

2016-12-14 Thread Ben Pfaff
pgrade > kernel as well? > > BTW, I am working with openwrt. > > Best regards, > > - yongseok > > On Wed, Dec 14, 2016 at 9:05 PM, Ben Pfaff <b...@ovn.org> wrote: > > > On Wed, Dec 14, 2016 at 05:12:12PM -0800, Joo Yong-Seok wrote: > > > Is i

Re: [ovs-discuss] D-NAT rule

2016-12-14 Thread Ben Pfaff
On Wed, Dec 14, 2016 at 05:12:12PM -0800, Joo Yong-Seok wrote: > Is it possible to configure D-NAT rule in this version of ovs-ofctl? > > # ovs-ofctl --version > ovs-ofctl (Open vSwitch) 2.3.90 > Compiled Dec 12 2016 23:20:48 > OpenFlow versions 0x1:0x4 ... > It seems that ct action is not

Re: [ovs-discuss] OVS Newbie question

2016-12-17 Thread Ben Pfaff
orks great when a leaf switch is directly connected to another leaf > > switch, yet throw in a spine and the path is gone. This would be two MPLS > > labels... > > > > Thank you! > > > > > > > > > > On Fri, Dec 16, 2016 at 6:20 PM, Ben Pfaff <b.

Re: [ovs-discuss] ovs-bonded igb nics flopping

2017-01-13 Thread Ben Pfaff
That does seem likely to me, but if you discover any evidence that points to OVS, please do come back and talk to us again. On Thu, Jan 12, 2017 at 10:40:07AM +, Matias Vara wrote: > Thank you Ben, so the problem could in the driver or in the kernel. > > 2017-01-11 17:37 GMT+00:00

Re: [ovs-discuss] packet copy action?

2017-01-13 Thread Ben Pfaff
Sure. Or whatever makes sense for what you're doing. On Fri, Jan 13, 2017 at 11:06:33AM -0800, Joo Yong-Seok wrote: > You mean, one action is normal and the other action is output:? > > Thank you! > > Best regards, > > On Fri, Jan 13, 2017 at 11:04 AM, Ben Pfaff

Re: [ovs-discuss] ovs-bonded igb nics flopping

2017-01-11 Thread Ben Pfaff
On Wed, Jan 11, 2017 at 01:15:10PM +, Matias Vara wrote: > Hi everyone and sorry for the multiple emails, we are facing a flopping of > igb (5.3.4.4) nics which are bonded by using openvswitch. I am in XenServer > which is based on CentOS. I am not sure if the problem is the driver or >

Re: [ovs-discuss] how many queues in openvswitch?

2017-01-12 Thread Ben Pfaff
Those are part of Linux, not part of OVS. OVS doesn't add any buffers to Linux. On Thu, Jan 12, 2017 at 05:27:12PM +0800, 杨润垲 wrote: > The queue where the packets are stored, , such as linux rx dma. > > > 在2017-01-12 07:01:57,杨润垲<16125...@bjtu.edu.cn>写道: > > On Mon, Jan 09, 2017 at 11:44:36AM

Re: [ovs-discuss] Failed to build Open vSwitch Kernel Modules on CentOS 7 (kernel 3.10.0-514.2.2.el7.x86_64)

2017-01-11 Thread Ben Pfaff
On Wed, Jan 11, 2017 at 03:03:45PM -0800, Joe Stringer wrote: > On 9 January 2017 at 19:01, liu yulong wrote: > > Hi experts, > > > > We have failed to build Open vSwitch Kernel Modules on CentOS 7 (kernel > > 3.10.0-514.2.2.el7.x86_64). > > > > Here are some traces we

Re: [ovs-discuss] clear interface statistics

2017-01-11 Thread Ben Pfaff
On Wed, Jan 11, 2017 at 09:48:47AM +, Avi Cohen wrote: > Is it possible to clear interface stats ? No. ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Re: [ovs-discuss] OVS 2.6.1 hanging with "waiting for to quiesce"

2017-01-12 Thread Ben Pfaff
On Thu, Jan 12, 2017 at 05:01:58PM +0400, Oleg Bondarev wrote: > Hi, > > During OpenStack testing with OVS 2.6.1 we sometime face an issue that OVS > may get stuck on a node, looks like: > - http://paste.openstack.org/show/594688/ > - http://paste.openstack.org/show/594509/ > -

Re: [ovs-discuss] ovs-testcontroller

2016-11-30 Thread Ben Pfaff
On Wed, Nov 30, 2016 at 04:00:48PM +0100, Ashish Kurian wrote: > Does OVS provide a controller so that we can use it in mininet to act as > the OVSController? Previously it was named OVSController and later to > ovs-testcontroller. But now I cannot find such a file in the master branch > of OVS

Re: [ovs-discuss] [ovn] ovn-trace ct_actions not implemented

2016-11-30 Thread Ben Pfaff
y see a benefit in doing the live flow debugging from the > operational standpoint. However, in my case, simply providing ct metadata > as command line options would be more than enough. > Cheers, > Michael > > On 30 Nov 2016 6:03 a.m., "Ben Pfaff" <b...@ovn.org> wrot

Re: [ovs-discuss] throughput when using LOCAL port

2016-11-30 Thread Ben Pfaff
physical port." > > ⇒Why? I think via local TCP/IP stack is faster than via physical port. > > > > Now when packets arrive at the local TCP/IP stack, packets just send. > > > > -作成者: Ben Pfaff <b...@ovn.org> - > > 宛先: Naoyuki NS Shimizu

Re: [ovs-discuss] lib/rconn.c:567: assertion version >= 0 && version <= 0xff failed in run_ACTIVE()

2016-12-05 Thread Ben Pfaff
On Mon, Dec 05, 2016 at 11:21:36AM +0800, 张东亚 wrote: > We are now using unix stream socket (using openflowj as encoder/decoder of > OpenFlow message) to emulate ovs-ofctl behavior, we occasionally trigger > the assertion above, and I have found other one have reported the same bug > in June this

Re: [ovs-discuss] Running ovs test cases

2016-12-05 Thread Ben Pfaff
On Mon, Dec 05, 2016 at 04:17:36PM -0800, satish kondapalli wrote: > is there way to run only specific test case in ovs( instead of running all > cases -- make check). How to run only connection tracking test case and > logs for the same test? INSTALL.rst says: Unit Tests ~~ Open

Re: [ovs-discuss] [ovn] ovn-trace ct_actions not implemented

2016-11-30 Thread Ben Pfaff
That seems like a reasonable way to start out. On Wed, Nov 30, 2016 at 08:40:27AM -0800, Guru Shetty wrote: > ct_lb is tricky. I guess, the default should be to just pick the first > option. > > On 30 November 2016 at 08:24, Ben Pfaff <b...@ovn.org> wrote: > > > One i

Re: [ovs-discuss] ovs-vsctl using ovsdb-client

2017-01-05 Thread Ben Pfaff
On Thu, Jan 05, 2017 at 05:52:27PM +0530, Shravan S K wrote: > I checked with -vjsonrpc, it shows the series of RPC methods that were > called along with the parameters. > > I feel it is difficult/cumbersome to configure OVS using ovsdb-client. Are > there any other methods/workarounds for this?

Re: [ovs-discuss] does openvswitch leverage the linux qdisc?

2017-01-04 Thread Ben Pfaff
On Wed, Jan 04, 2017 at 09:24:57PM +0800, Shiyao Ma wrote: > I am noob to openvswitch,  but I guess as a `switch', it somehow has some > qdisc on its queue (that is connected to the out port). > > Linux provides different qdisc for traffic shaping, like htb, red. > > My question is, does

Re: [ovs-discuss] ovs-vsctl using ovsdb-client

2017-01-04 Thread Ben Pfaff
On Sat, Dec 31, 2016 at 06:41:17PM +0530, Shravan S K wrote: > How the functionality provided by ovs-vsctl can be achieved using > ovsdb-client commands ? > > For example, to create a bridge and add a port using ovs-vsctl, we can use > $ ovs-vsctl add bridge br0 > $ ovs-vsctl add-port br0 port0 >

Re: [ovs-discuss] OVSDB with SSL connection

2017-01-05 Thread Ben Pfaff
On Thu, Jan 05, 2017 at 05:50:45PM -0800, Paul White wrote: > I am configuring ovsdb-server to connect to a remote manager using SSL. I > have the certificates configured, and the connection works as long as I do > not configure a ca-cert. Configuring a ca-cert causes server-side > certificate

Re: [ovs-discuss] OVSDB with SSL connection

2017-01-06 Thread Ben Pfaff
On Thu, Jan 05, 2017 at 10:26:20PM -0800, Paul White wrote: > I'll document a few options, and run it by this mailing list. The > implementation can be done a couple of different ways, based on the > separated layers (reconnect / jsonrpc / stream / etc) and each with their > own pros/cons. I'd

Re: [ovs-discuss] change in url for OVS mailing list archives is confusing search engines

2016-12-23 Thread Ben Pfaff
On Fri, Dec 23, 2016 at 01:06:52PM +, Markos Chandras wrote: > On 11/28/2016 03:09 PM, Flavio Fernandes wrote: > > Hi folks, > > [...] > > https://duckduckgo.com/?q=%22OVS+install+on+CentOS+7%22=ffsb=web > > > > https://www.google.com/search?q=%22OVS+install+on+CentOS+7%22=utf-8=utf-8 > >

Re: [ovs-discuss] OVN on a non-OpenStack and non-sandbox environment.

2016-12-23 Thread Ben Pfaff
On Fri, Dec 23, 2016 at 04:15:30PM +0530, pranab boruah wrote: > The constraints are : > 1) Should work in non-OpenStack and non-sandbox environment. > 2) VM's interface attached either through MacVTap or SRIOV modes only. OVN doesn't currently support MacVTap or SRIOV.

Re: [ovs-discuss] [ovs-dev] how a trunk port treats untagged packets

2016-12-23 Thread Ben Pfaff
On Sat, Dec 24, 2016 at 11:50:00AM +0800, 贺斌 wrote: > hello all, >I'm a ovs beginer. Recently, I test on ovs trunk port: >1. I created a ovs bridge named br0, and then add two trunk ports on it, > named if0, if1. And the trunk is the same, 44,55,66. >2. Then I put intreface if0 to

Re: [ovs-discuss] Fwd: TCP Checksum issue on OVS 2.6.1

2016-12-22 Thread Ben Pfaff
On Thu, Dec 22, 2016 at 01:32:01PM +, John Hurley wrote: > I ran more tests and found that setting the CHECKSUM_PARTIAL flag corrupts > the checksum in non mangled NAT packets when hitting the > queue_userspace_packet() function (as reported below). > When I tried to reset the flag after the

Re: [ovs-discuss] It takes too long to create 512 bridges in ovs2.5.0

2016-12-26 Thread Ben Pfaff
ous config. Then, the module can just directly destroy the previous config. Reported-by: Cian Ferriter <cian.ferri...@intel.com> Signed-off-by: Alex Wang <al...@nicira.com> Acked-by: Ben Pfaff <b...@nicira.com> --- ofproto/ofproto-dpif-xlate.c | 4 ++-- 1 file changed, 2 insertions(+)

Re: [ovs-discuss] vtysh and logger are not found?

2016-12-26 Thread Ben Pfaff
On Mon, Dec 26, 2016 at 03:08:29PM +0800, Brandon Cheng wrote: > After running ovs, why don't I find /usr/bin/vtysh and /usr/bin/logger > commands, but/usr/bin/wget command? > > How to create vtysh and logger commands? I wanna use its ZTP(zero touch > provisioning). Those programs aren't part of

Re: [ovs-discuss] OVS Newbie question

2016-12-16 Thread Ben Pfaff
On Fri, Dec 16, 2016 at 06:17:10PM -0500, Alex Evonosky wrote: > My question is this: Apparently, OVS (by default) uses single tables, and > the SR app requires multi-tables. What is the procedure to allow > multi-tables on openvswitch? OVS supports multiple tables. No configuration is

Re: [ovs-discuss] How does OVS learns the remote MACs

2017-03-21 Thread Ben Pfaff
Can > you elaborate what do you mean by "writing the flows"? > > I am also looking for some overview of architecture of OVS. I found couple > of videos online, but they are quite old. Simon Horman (2012), Michael > Zayats (2015), Ben Pfaff (2013). Are there any meetup taki

Re: [ovs-discuss] Kernel vs User mode switch

2017-03-27 Thread Ben Pfaff
This is a weird response. This is the Open vSwitch list, so the original poster is asking about Open vSwitch. On Sun, Mar 26, 2017 at 10:13:19PM -0400, Daniel Lohin wrote: > No idea what you are talking about… in what? > > Generally speaking… a user application runs as fast as kernel, as long

Re: [ovs-discuss] How to reset counters of ovs-flows ?

2017-03-28 Thread Ben Pfaff
On Tue, Mar 28, 2017 at 05:26:46PM +0530, f 62 wrote: > I am trying to reset the counter of ovs-flows. I followed following steps: > > a. ovs-ofctl -O Openflow13 dump-flows br-int > /tmp/br_int > > b. ovs-ofctl -O OpenFlow13 --readd replace-flows br-int /tmp/br_int > > > Its not working .

Re: [ovs-discuss] Packet reodering Open vSwitch multiple versions

2017-03-30 Thread Ben Pfaff
On Thu, Mar 30, 2017 at 02:09:28PM +, Ionut Chiriac wrote: > Open vSwitch version: 2.5.0, 2.5.2, 2.7.0 > > Kernel Version: Linux version 3.10.70 > > OS: Openwrt Barrier Breaker > > > > > >

Re: [ovs-discuss] How to reset counters of ovs-flows ?

2017-03-30 Thread Ben Pfaff
I see now that you can add "reset_counts" to individual flows to get the behavior you want. This isn't so convenient, though, and it doesn't appear to be documented. On Tue, Mar 28, 2017 at 10:13:55PM -0700, Ben Pfaff wrote: > If you can do without the flows momentarily, you cou

Re: [ovs-discuss] SR-IOV with Open vSwitch

2017-03-30 Thread Ben Pfaff
On Thu, Mar 30, 2017 at 06:39:24AM +0200, Advith Nagappa wrote: > Has anyone used SR-IOV with Open vSwitch(in a guest)? > > My understanding is that SR-IOV is hypervisor(host) by/pass, Hence using > OVS at that level would not make sense.. > > So I tried deploying OVS in an SR-IOV enabled guest,

Re: [ovs-discuss] OFPBAC_MATCH_INCONSISTENT error when running ovs-ofctl add-flow with actions=learn

2017-03-30 Thread Ben Pfaff
On Thu, Mar 30, 2017 at 08:19:12PM +, Ching Sun wrote: > Hi all, > > I am trying to add a new flow rule with actions=learn, and never got > succeeded. Then I tried some examples from Google search, still no luck. I > am sure I must did something not right. Can anyone tell me where and

Re: [ovs-discuss] OVS supported hardware switches

2017-03-22 Thread Ben Pfaff
On Wed, Mar 22, 2017 at 09:14:28AM -0600, gavin_rema...@selinc.com wrote: > We (Schweitzer Engineering Labs) use ofproto, implementing our own > ofproto_class to define all the functions in ofproto-provider.h. > > This is released in the following product: > > https://selinc.com/products/2740S/

Re: [ovs-discuss] in mininet

2017-03-23 Thread Ben Pfaff
On Thu, Mar 23, 2017 at 12:55:12PM +0100, Guang Yang wrote: > I am quite new to the openvswitch, and I am a bit confused now. > I have mininet installed and running, when I use command: > ovs-ofctl --version > it shows: ovs-ofctl (Open vSwitch) 2.0.2 > > I am not sure if this is the same tool as

Re: [ovs-discuss] in mininet

2017-03-23 Thread Ben Pfaff
On 23 Mar 2017, at 16:26, Ben Pfaff <b...@ovn.org> wrote: > >> > >> On Thu, Mar 23, 2017 at 12:55:12PM +0100, Guang Yang wrote: > >> I am quite new to the openvswitch, and I am a bit confused now. > >> I have mininet installed and running, when I use comman

Re: [ovs-discuss] How to reset counters of ovs-flows ?

2017-03-28 Thread Ben Pfaff
tl: switch does not support any of the usable flow formats > (OXM,NXM+table_id) > > Is there any other way to achieve same ? > > On Tue, Mar 28, 2017 at 10:17 PM, Ben Pfaff <b...@ovn.org> wrote: > > > On Tue, Mar 28, 2017 at 05:26:46PM +0530, f 62 wrote: > >

Re: [ovs-discuss] New dpif provider registration

2017-03-16 Thread Ben Pfaff
On Thu, Mar 16, 2017 at 12:34:59PM +, Santhosh Alladi wrote: > We have written a new dpif provider class and registered it by adding > an entry to base_dpif_classes. Is it the correct way? If yes, can we > upstream it? If no,is there any other way to register an external > class? Is your new

Re: [ovs-discuss] Openvswitch - Add rules immediately to data path when gets added to ofproto layer.

2017-03-16 Thread Ben Pfaff
On Thu, Mar 16, 2017 at 03:56:30PM +0530, Kumar wrote: > How make ofproto flow rules visible to the data path as soon as added > to the ofproto layer regardless of its priority. Not possible. ___ discuss mailing list disc...@openvswitch.org

Re: [ovs-discuss] Issue: ovs send many packets of a table miss flow to controller

2017-03-17 Thread Ben Pfaff
sed > packets and transfer the packets after controller's decision. Without it, > the controller has to receive all bytes of the packets and re-inject them > afterwards. Or else the connections may be broken for loss of packets. > > 2017-03-17 11:54 GMT+08:00 Ben Pfaff <b...@ovn.org>

Re: [ovs-discuss] OVS supported hardware switches

2017-03-17 Thread Ben Pfaff
> I'm not sure if we could accomplish it but if it would help provide some > mass against ofproto, perhaps we could get an implemention or two > upstreamed? > > Steph > > > On Mar 16, 2017 08:58, "Ben Pfaff" <b...@ovn.org> wrote: > > > On Tue, Mar 14, 20

Re: [ovs-discuss] OVS supported hardware switches

2017-03-16 Thread Ben Pfaff
On Tue, Mar 14, 2017 at 05:26:28PM +1300, Tony van der Peet wrote: > >On Fri, Mar 10, 2017 at 11:14:55AM +0530, Shravan S K wrote: > >> We are looking to buy a few OpenFlow-enabled switches. What advantages can > >> be achieved by a hardware switch that also supports OVS? > >> And can a hardware

Re: [ovs-discuss] Issue: ovs send many packets of a table miss flow to controller

2017-03-18 Thread Ben Pfaff
when it is filled full, which > makes the "buffer id unknown" error as the controller decide to tell the > buffered packets to forward but cannot find it anymore in the buffer. OK. Great, then OVS dropping support for packet buffering just solved that problem for you! > 2

Re: [ovs-discuss] OVS supported hardware switches

2017-03-20 Thread Ben Pfaff
> OpenFlow layer beneficial. > > > > That said, of course I wouldn't arm wrestle you over it if nobody else cares > > :-). > > > > Steph > > > > > > On Fri, Mar 17, 2017 at 11:24 PM, Ben Pfaff <b...@ovn.org> wrote: > >> > >> Do you mea

Re: [ovs-discuss] OVS-DPDK

2017-03-20 Thread Ben Pfaff
On Tue, Mar 21, 2017 at 02:36:23AM +0100, Advith Nagappa wrote: > Hi, > > I have DPDK 16.11.1 and OVS 2.6.1, with 1 Gb Huge page/ and 2 NICs bound > with Igb_uio drivers. > > I run in to trouble while creating DPDK ports on the OVS bridge. > > > *ovs-vsctl add-port br0 dpdk-p1 -- set Interface

Re: [ovs-discuss] Issue: ovs send many packets of a table miss flow to controller

2017-03-15 Thread Ben Pfaff
On Wed, Mar 15, 2017 at 01:34:56PM +0800, yiyefuping198425 wrote: > I'm asking for assistance to fix this issue: ovs send many packets of a table > miss flow instead of the first packet. That's how OpenFlow works. ___ discuss mailing list

Re: [ovs-discuss] Issue: ovs send many packets of a table miss flow to controller

2017-03-16 Thread Ben Pfaff
ave, the lower-quality the cookie... */ > > #define PKTBUF_BITS 8 > > #define PKTBUF_MASK (PKTBUF_CNT - 1) > > #define PKTBUF_CNT (1u << PKTBUF_BITS) > > #define COOKIE_BITS (32 - PKTBUF_BITS) > > #define COOKIE_MAX ((1u << COOKIE_BITS

Re: [ovs-discuss] How to ovs-ofctl add-flow learn with 5-tuple

2017-03-31 Thread Ben Pfaff
On Fri, Mar 31, 2017 at 11:14:48PM +, Ching Sun wrote: > I'd like to create an OVS learn table to match with 5-tuple. I had tried so > many different ways to do it, and never got it done. I think there got be a > way to do that, I had seen many similar examples, but none of them exactly >

Re: [ovs-discuss] How to set metadata in ovs-ofctl actions=learn

2017-03-31 Thread Ben Pfaff
On Sat, Apr 01, 2017 at 01:48:31AM +, Ching Sun wrote: > Hi all, > > I want to set metadata=0x1 in the following learn action > > ovs-ofctl -O OpenFlow13 add-flow br-int "table=40, priority=10, > metadata=0x01/0x0f, tcp, actions=learn(cookie=0xfade, table=30, > idle_timeout=60,

  1   2   3   4   5   6   7   8   9   10   >