Re: [ovs-discuss] using FQDN for Controller name

2017-07-31 Thread Ben Pfaff
; > On Mon, Jul 31, 2017 at 1:15 PM, Ben Pfaff wrote: > > > On Mon, Jul 31, 2017 at 01:09:07PM -0700, Shivaram Mysore wrote: > > > Hello, > > > > > > I am trying to use FQDN for controller name - example: > > > > > > # ovs-vsctl set-controlle

Re: [ovs-discuss] ovs_assert when do classifier_insert

2017-08-02 Thread Ben Pfaff
On Thu, Aug 03, 2017 at 02:04:34AM +, Yinpeijun wrote: >Recently, there's been a problem when I use ovs, > the problem is ovs_assert when do classifier_insert. I read the source > code and annotation, but I don't understand how the problem is been > triggered. Can you provi

Re: [ovs-discuss] reply: ovs_assert when do classifier_insert

2017-08-02 Thread Ben Pfaff
On Thu, Aug 03, 2017 at 03:05:30AM +, Yinpeijun wrote: > > >>On Thu, Aug 03, 2017 at 02:04:34AM +, Yinpeijun wrote: > >>Recently, there's been a problem when I use ovs, > >> the problem is ovs_assert when do classifier_insert. I read the source > >> code and annotatio

Re: [ovs-discuss] How OVN works with Openflow fast-failover group table

2017-08-03 Thread Ben Pfaff
On Tue, Jul 25, 2017 at 11:17:12AM +0800, Harbor Wang wrote: >I'm learning OVN and wonder how to let OVN works with Openflow > fast-failover group table? We have a case that one port done the flow > should redirect to backup port. OVN doesn't use fast failover groups, only select groups.

Re: [ovs-discuss] reply: ovs_assert when do classifier_insert: classifier.c:236: assertion !displaced_rule failed in classifier_insert()

2017-08-05 Thread Ben Pfaff
230c173d80, inline_values = > {4294967295, 4294967295, 4280221696, > 65535, 4294967295, 4294967295, 4294967295, 50331648}, map = > {1048576, 18225, priority = 32768} > > > -Original Message- > From: Yinpeijun > Sent: T

Re: [ovs-discuss] Regarding CFM/OAM support in Openvswitch

2017-08-08 Thread Ben Pfaff
On Tue, Aug 08, 2017 at 02:07:25PM +, ankaiah.nallamek...@wipro.com wrote: > Ethernet CFM/OAM supports Loopback protocol(LBM) and Link Trace > protocol(LTM), Is ovs is supporting these two protocols as well, if so > could you please describe how to use these two protocols. OVS doesn't support

Re: [ovs-discuss] How does OVS ensure only the first packet of a flow is upcalled?

2017-08-08 Thread Ben Pfaff
On Fri, Jul 14, 2017 at 04:14:29PM +0800, 张克尧 wrote: > The document of ovs says the datapath is a flow-based software > switch. A flow consists of many packets. Datapath needs to handle > every packet. When it does't match any datapath flows, it will do > upcall. Vswitchd needs to handle upcalls an

Re: [ovs-discuss] Lost connectivity when having multiple ports

2017-08-08 Thread Ben Pfaff
On Mon, Jul 24, 2017 at 01:04:34PM +0200, Pablo Pousada wrote: > I've been encountering an error on the testbed I'm building, where having > multiple ports added to a ovs bridge blocks all outwards communication. > > Example: Having the following setup, i have connectivity through the eth0.3 > por

Re: [ovs-discuss] [openvswitch 2.8.0 dpdk] testsuite: 1211 1212 1213 1214 1215 1217 1218 1219 1220 1221 1222 1224 1225 1226 2338 failed

2017-08-08 Thread Ben Pfaff
On Tue, Aug 08, 2017 at 10:52:36PM +, Darrell Ball wrote: > > > -Original Message- > From: Joe Stringer > Date: Tuesday, August 8, 2017 at 3:43 PM > To: Darrell Ball > Cc: James Page , "b...@openvswitch.org" > > Subject: Re: [ovs-discuss] [openvswitch 2.8.0 dpdk] testsuite: 1211 1

Re: [ovs-discuss] [openvswitch 2.8.0 dpdk] testsuite: 1211 1212 1213 1214 1215 1217 1218 1219 1220 1221 1222 1224 1225 1226 2338 failed

2017-08-08 Thread Ben Pfaff
On Tue, Aug 08, 2017 at 04:26:38PM +, Darrell Ball wrote: > > > From: on behalf of James Page > > Date: Tuesday, August 8, 2017 at 2:49 AM > To: "b...@openvswitch.org" > Subject: [ovs-discuss] [openvswitch 2.8.0 dpdk] testsuite: 1211 1212 1213 > 1214 1215 1217 1218 1219 1220 1221 1222 12

Re: [ovs-discuss] Regarding CFM/OAM support in Openvswitch

2017-08-08 Thread Ben Pfaff
On Wed, Aug 09, 2017 at 03:12:22AM +, ankaiah.nallamek...@wipro.com wrote: > Both BFD and CFM (CCM) can be used to monitor connectivity between a > pair of Ethernet devices., Could you please share the major > differences between BFD & CFM CCM in openvswitch. They're both about the same. _

Re: [ovs-discuss] [ovs-dev] Why my AT_CHECK() can't work?

2017-08-09 Thread Ben Pfaff
On Wed, Aug 09, 2017 at 05:23:20PM +0800, Sam wrote: > Hi all, > > I'm using autotest to test ovs, and I write a new *.at file using only one > AT_CHECK sentence like this: > > AT_CHECK([ovs-appctl dpdk/bond-show dpdkb2], [0], [stdout]) > > AT_CHECK([[sed '/ACTIVE/p' stdout | head -4]], [0], [[LA

Re: [ovs-discuss] ovs-vswitchd crash during startup when br-ex has assigned IP address and br-ex is UP

2017-08-09 Thread Ben Pfaff
t. This bug fix is on master, in 2.7.2, and in the branch for the upcoming 2.8.0 release. commit 66a9ef7a87f77a25ed568f55c1789eb6075b6abe Author: Ben Pfaff Date: Mon Jul 17 09:54:54 2017 -0700 connmgr: Fix crash when in_band_create() fails. update_in_band_remotes() created an in-ban

Re: [ovs-discuss] TLS and SNI support

2017-08-09 Thread Ben Pfaff
On Mon, Aug 07, 2017 at 11:41:27AM -0700, Shivaram Mysore wrote: > Does OVS have plans to support SSL with SNI (Server Name Indication) [1] > > [1] > https://wiki.openssl.org/index.php/SSL_and_TLS_Protocols#Server_Name_Indication As we talked about yesterday, this is easy from the client side onc

Re: [ovs-discuss] Inband Network Telemetry with OVS

2017-08-11 Thread Ben Pfaff
On Fri, Aug 11, 2017 at 10:56:59AM +, Gulenko, Anton wrote: > Dear OVS devs and community, > > I would like to experiment with Inband Network Telemtry (INT) on OVS > (http://p4.org/wp-content/uploads/fixed/INT/INT-current-spec.pdf). > So far I did not find any direct support for this, so my f

Re: [ovs-discuss] Error reported : When Group Add Request size exceeds 65535

2017-08-11 Thread Ben Pfaff
On Fri, Aug 11, 2017 at 11:56:20AM +0530, swetha Jagadish wrote: > When i try to add a group with 3000 action buckets, error is observered > > > *[2017-07-31 12:05:00.823] ovs-vswitchd: ovs|00607|ofp_util|WARN|OpenFlow > message bucket length 40 exceeds remaining buckets data size 24* > > *[2017

Re: [ovs-discuss] BFD with 'option : remote_ip = flow'

2017-08-11 Thread Ben Pfaff
On Fri, Aug 11, 2017 at 08:48:20AM +, Vivek Srivastava V wrote: > 1. Is there any way to configure/manage BFD sessions to destinations, > independent of the tunnel port/interface created? Not currently. If you have a good idea for how to extend the OVS BFD support to be more flexible, we'd a

Re: [ovs-discuss] [ovs-dev] Why 'OVS_VSWITCHD_STOP' do not run?

2017-08-18 Thread Ben Pfaff
Please don't post to both ovs-dev and ovs-discuss. I've moved discuss to BCC. On Fri, Aug 18, 2017 at 01:07:46PM +0800, Sam wrote: > I'm running my ovs test case(my-test.at) like this, but when > 'OVS_VSWITCHD_START' or other AT_CHECK failed, 'OVS_VSWITCHD_STOP' will > not run, why and how to fi

Re: [ovs-discuss] [ovs-dev] How to refresh test cases in tests folder?

2017-08-18 Thread Ben Pfaff
Please don't post to both ovs-discuss and ovs-dev. Moving ovs-discuss to BCC. On Fri, Aug 18, 2017 at 09:17:27AM +0800, Sam wrote: > Hi all, > > I'm running my test cases, I define a new macro in ofproto-macro.at like > this; > > m4_define([_OVS_VSWITCHD_START], > > [OVS_RUNDIR=/usr/local/var

Re: [ovs-discuss] Regarding CFM/OAM support in Openvswitch

2017-08-21 Thread Ben Pfaff
orting full pledged 802.1ag support, i.e. all > 3(CCM,LBM,LTM) protocols, Please let me know. > > > Thanks, > Anki > > -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Tuesday, August 8, 2017 10:26 PM > To: Ankaiah Nallamekala (MFG &a

Re: [ovs-discuss] Problem when installing OVS with DPDK

2017-08-21 Thread Ben Pfaff
On Mon, Aug 21, 2017 at 06:09:57PM +0800, 唐志军 wrote: > But I also get problems. I am using OVS-2.72 and DPDK-17.05.1 OVS 2.7.2 uses DPDK 16.11. ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Re: [ovs-discuss] Question about megaflow

2017-08-31 Thread Ben Pfaff
On Thu, Aug 31, 2017 at 11:05:34PM -0400, Heyang Wang wrote: > I have several questions about implementation of megaflow in OVS: > > 1. I want to make sure that megaflow is not supporting priority, so it will > not cache the overlapping rules in userspace, am I right? > > 2. if overlapping rule w

Re: [ovs-discuss] How to build openvswitch with Ddpdk enabled debian package (openvswitch-switch-dpdk.2.7.2-1.deb) for OVS ver. 2.7.2

2017-09-09 Thread Ben Pfaff
On Sat, Sep 09, 2017 at 02:26:04AM +, Chou, David J wrote: > Hi, > > I tried to build openvswitch with dpdk enabled debian package > (openvswitch-switch-dpdk.2.7.2-1.deb) for OVS ver. 2.7.2. > > I downloaded openvswitch-2.7.2.tar.gz from http://openvswitch.org/download, > and dpdk-stable-1

Re: [ovs-discuss] [OVS-Discuss]: configure: error: cannot link with dpdk

2017-09-09 Thread Ben Pfaff
On Fri, Sep 08, 2017 at 01:33:35PM +, Ranjith Kumar D wrote: > Hi, > > I am trying to install OVS with DPDK and I getting below error while > configuring OVS > > configure: error: cannot link with dpdk > > The below are my OVS and DPDK software version details: > > DPDK version : dpdk-sta

Re: [ovs-discuss] Compatible DPDK version for 2.4.0 OVS

2017-09-11 Thread Ben Pfaff
On Mon, Sep 11, 2017 at 02:47:56PM +, Ranjith Kumar D wrote: > I am using DPDK 2.0 for OVS 2.4.0 and DPDK library linking is failing > while configuring OVS. Is there any specific version of DPDK I should > use for 2.4.0 OVS ? OVS 2.4.0 is pretty old. You should probably upgrade to 2.8.0. ___

Re: [ovs-discuss] How to build openvswitch with Ddpdk enabled debian package (openvswitch-switch-dpdk.2.7.2-1.deb) for OVS ver. 2.7.2

2017-09-11 Thread Ben Pfaff
On Mon, Sep 11, 2017 at 11:25:59PM +1200, Brad Cowie wrote: > On 10 September 2017 at 03:17, Ben Pfaff wrote: > > > On Sat, Sep 09, 2017 at 02:26:04AM +, Chou, David J wrote: > > > Hi, > > > > > > I tried to build openvswitch with dpdk enabled debi

Re: [ovs-discuss] ovsdb-idl.run-msg many update msgs about br-ex and controller

2017-09-11 Thread Ben Pfaff
On Mon, Sep 11, 2017 at 04:27:45PM +0800, 顾兆伦 wrote: > Hi all, sorry to bother you. > > When I use python/ovs, idl.run() always costs about 50 ms to execute, and > it runs 50times, what is too long for me. When I check the > msg(msg=self._sesson.recv()), I found this: > [snip almost 2000 li

Re: [ovs-discuss] How to submit a bug report

2017-09-11 Thread Ben Pfaff
On Mon, Sep 11, 2017 at 07:27:56PM +, Llorente Santos Jesus wrote: > I have been seeing buggy behaviour with the tunnelling ports of OvS. I would > like to ask some help in how to properly submit a bug report > I created an issue in the git "ovs-issues" > (https://github.com/openvswitch/ovs-i

Re: [ovs-discuss] How to submit a bug report

2017-09-11 Thread Ben Pfaff
rrent LTS version, which in late June > received a new update. The release note says "Bug fixes", so maybe there is > still something we can fix there... > > Best, > Jesus > > > -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: 12

Re: [ovs-discuss] Compilation error : lib/netdev-dpdk.c:55:28: fatal error: rte_virtio_net.h: No such file or directory

2017-09-13 Thread Ben Pfaff
On Thu, Sep 14, 2017 at 05:58:07AM +, Ranjith Kumar D wrote: > Hello All, > > We have GTP packet handling functionality with OVS 2.4.0 and it's very hard > to merge changes to OVS 2.8.0 > > I have installed DPDK 2.0 and successfully linked with OVS 2.4.0, but > compilation is failing with

Re: [ovs-discuss] Dependenci in debian/control

2017-09-13 Thread Ben Pfaff
On Wed, Sep 13, 2017 at 10:10:37PM -0700, Ben Warren via discuss wrote: > Hi Wolfgang, > > > On Sep 13, 2017, at 3:48 AM, Wolfgang Link wrote: > > > > The new package libopenvswitch depends on libssl-dev. > > Is this intentionally made or is libssl1.1 also good? > > > This is intentional. In g

Re: [ovs-discuss] Compilation error : lib/netdev-dpdk.c:55:28: fatal error: rte_virtio_net.h: No such file or directory

2017-09-13 Thread Ben Pfaff
I'm confused, then. How did you successfully link DPDK 2.0 to OVS 2.4.0 without first compiling it? Why is OVS 2.8 mentioned? On Thu, Sep 14, 2017 at 06:05:52AM +, Ranjith Kumar D wrote: > Hi Ben Pfaff, > > I am building with OVS 2.4.0. > > Regards, > Ranjith >

[ovs-discuss] Open vSwitch Fall 2017 Conference: Call for Participation and Registration

2017-09-15 Thread Ben Pfaff
[Sorry about the repost] The Open vSwitch project, a Linux Foundation Collaborative Project, will host its fourth annual conference focused on Open vSwitch and OVN on November 16 and 17, 2017, at Club Auto Sport in San Jose, California. We are seeking long and short ("lightning") talks on topics

Re: [ovs-discuss] ovn-trace not showing full logical flow

2017-09-17 Thread Ben Pfaff
On Sun, Sep 17, 2017 at 05:03:19PM +0530, Vikrant Aggarwal wrote: > 0. ls_in_port_sec_l2 (ovn-northd.c:2979): inport == > "4c72cee2-35b7-4bcd-8c77-135a22d16df1" && eth.src == {fa:16:3e:55:3f:be}, > priority 50, uuid b6b8d57a > next; > 1. ls_in_port_sec_ip (ovn-northd.c:2113): inport == > "4c7

[ovs-discuss] CFP for OpenStack Open Source Days Sydney

2017-09-20 Thread Ben Pfaff
In May, the OpenStack Summit graciously offered Open vSwitch use of a room for a day of talks, and it worked out great. For the OpenStack Summit in Sydney, which will be held Nov. 6-8, they've again offered us time for Open vSwitch related talks, although this time, we only have have two 40-minute

Re: [ovs-discuss] IPv4 address support for port configuration in OVS 2.8.0 version

2017-09-26 Thread Ben Pfaff
On Tue, Sep 26, 2017 at 06:36:50AM +, Ranjith Kumar D wrote: > Hello All, > > I had recently downloaded the OVS 2.8.0 version code and was > performing the code walkthrough for ovs-vsctl command handling for > adding port to bridge. I see that structures related to port > configuration takes o

Re: [ovs-discuss] How to consistently implement VLAN forwarding/tagging in OVSDB

2017-09-27 Thread Ben Pfaff
On Tue, Sep 26, 2017 at 08:00:04PM -0400, Bernie Ongewe wrote: > Good day all > > Trying to implement VLAN forwarding/membership with ovsdb-client but > getting very inconsistent behavior. > > Following the discussion at > http://openvswitch.org/support/dist-docs/ovs-vswitchd.conf.db.5.txt this i

Re: [ovs-discuss] About side effect of port mirroring

2017-10-04 Thread Ben Pfaff
On Wed, Oct 04, 2017 at 06:54:39PM +0900, Kurokawa Ryota wrote: > Hi > > I will use port mirroring. > I learned how to use port mirroring by looking at the manual. > > I have one question. > > 「As a side effect, port mirroring causes any packets received on output port > to be ignored.」 > > W

Re: [ovs-discuss] openvswitch-2.5.0 selectively remove bond members

2017-10-05 Thread Ben Pfaff
On Thu, Oct 05, 2017 at 08:24:59PM +, MY-OVS DISCUSS via discuss wrote: > Hi, > I am trying to use ovs-vsctl to remove a particular member of a bond or add a > member to an existing bond. > Looks like I can use ovs-vsctl remove port bond0 interfaces > <_uuid_of_member_iface>But, if I have to

Re: [ovs-discuss] vswitchd is hanging on service start

2017-10-05 Thread Ben Pfaff
On Thu, Oct 05, 2017 at 11:37:09PM +, Omar Ramadan wrote: > vswitchd is blocking when I try starting the service on system boot. Can > someone help me make sense of this message: > > > vagrant@magma-dev:~$ sudo tail -f /var/log/openvswitch/ovs-vswitchd.log > 2017-10-05T23:32:07.501Z|00019|of

Re: [ovs-discuss] ovs-ofctl vs openflow 1.x vs ?

2017-10-09 Thread Ben Pfaff
On Sun, Oct 08, 2017 at 11:09:23PM -0300, Raymond Burkholder wrote: > I've written some openflow controller code to submit openflow line-protocol > based commands. > > In looking at the ovs-fields document, there appears to be OVS functions > available which are not available via openflow protocol

Re: [ovs-discuss] Apply some packet manipulation actions on outgoing port traffic

2017-10-09 Thread Ben Pfaff
On Sun, Oct 08, 2017 at 11:19:17PM +0200, Juraj Markotic wrote: > we would need some functionality on manipulating packets when packet is > exiting outgoing OVS port. > I.e. some actions could be: change/anonymize mac/IPs for src/dst, or remove > some tunnel header (vxlan, gtp, gre), truncate the p

Re: [ovs-discuss] Internal Ports and Queues

2017-10-09 Thread Ben Pfaff
On Fri, Oct 06, 2017 at 07:24:15PM -0500, Prabhu wrote: > I am evaluating openvswitch for implementing a load balancing based on Queue > length. > > I know OVS can set queue to ports attached to the bridge using linux tc > utility. > > I would like to know whether I can assign queues to Internal

Re: [ovs-discuss] Apply some packet manipulation actions on outgoing port traffic

2017-10-09 Thread Ben Pfaff
s, it would be great if we could remove tunnel headers before > delivering it to the (monitoring) tool on outgoing port. > > thanks, > jm > > On Mon, Oct 9, 2017 at 6:31 PM, Ben Pfaff wrote: > > > On Sun, Oct 08, 2017 at 11:19:17PM +0200, Juraj Markotic wrote: >

Re: [ovs-discuss] Apply some packet manipulation actions on outgoing port traffic

2017-10-09 Thread Ben Pfaff
viding capabilities to match on GTP-C/GTP-U packets). > maybe dumb question, but any pointer on how to remove GRE header (or VXLAN > for that matter) when switching packet from IN port to OUT port and switch > out only internal packet/payload ? > thanks, > jm > > > On Mon, Oct

Re: [ovs-discuss] OVSK flow keeps minimal rate

2017-10-09 Thread Ben Pfaff
On Mon, Oct 09, 2017 at 11:25:05PM +0200, Mita Cokic wrote: > I was executing following test case - on 30Mbps link limited OVSK instance > data was pushed as two TCP flows: > - Flow A: 200Kbps > - Flow B: 300Mbps > > I have observed that Flow A bandwidth drops for around 10% but still manages > to

Re: [ovs-discuss] Apply some packet manipulation actions on outgoing port traffic

2017-10-09 Thread Ben Pfaff
ck. > > jm > > > On Mon, Oct 9, 2017 at 11:14 PM, Ben Pfaff wrote: > > > GRE and tunnels are implemented in terms of ports, so if you send a > > packet received on a GRE port to a non-tunnel port, it strips the > > header. > > > > On Mon, Oct 09, 20

Re: [ovs-discuss] IGMP Snooping on OVS 2.7.0

2017-10-09 Thread Ben Pfaff
On Mon, Oct 09, 2017 at 04:08:24PM -0600, Sterdnot Shaken wrote: > Just curious why, with igmp snooping enabled on the OVS bridge, I am still > getting multicast traffic on other VM's (that shouldn't be getting it) on > the same vlan? > > Here's how I'm enabling IGMP Snooping: > > > *ovs-vsctl s

Re: [ovs-discuss] Does it work if netdev datapath connect system datapath through patch ports

2017-10-12 Thread Ben Pfaff
On Thu, Oct 12, 2017 at 05:22:14PM +0800, Hui Xiang wrote: >Seems it works with the same datapath type during the discussion in [1] > by finally done a flow of leaving two kernel netdev port communicate > together. > >But in my case I have a setup with two bridges has different datapath >

Re: [ovs-discuss] OVS bridge on boot in Debian

2017-10-12 Thread Ben Pfaff
On Thu, Oct 12, 2017 at 05:29:00PM +, Omar Ramadan wrote: > Hi list, > > > I am using OVS 2.7.90 with Debian 8.7 and want to configure the switch to be > loaded on system initialization. I have installed the service > "openvswitch-switch" and added the following in /etc/network/interfaces >

Re: [ovs-discuss] Does it work if netdev datapath connect system datapath through patch ports

2017-10-13 Thread Ben Pfaff
On Fri, Oct 13, 2017 at 06:04:16PM +0800, Hui Xiang wrote: > Is the patch port output logistic within function apply_nested_clone_actions > ? Sorry, I have not totally understood the whole picture on how a packet > through > the datapath flow on the case that goes from netdev datapath patch port_B

Re: [ovs-discuss] OVS bridge on boot in Debian

2017-10-13 Thread Ben Pfaff
Usually "ovs-vsctl set-controller" is the best way to configure a set of controllers. But maybe you are asking about how to configure a set of controllers from /etc/network/interfaces. If so, Guru may have advice (and maybe we should document it). On Thu, Oct 12, 2017 at 11:54:54PM +, Omar R

Re: [ovs-discuss] OVS bridge on boot in Debian

2017-10-13 Thread Ben Pfaff
A lot of this comes down to how OVS is an infrastructure layer. Like GCC or another compiler, it generally has to have a program to run before it is very useful. The documentation for using it in particular scenarios generally belongs in the systems (controllers, etc.) that layer on top of it to

Re: [ovs-discuss] Fwd: Send some information from openvswitch to floodlight controller

2017-10-13 Thread Ben Pfaff
On Fri, Oct 13, 2017 at 11:17:28AM +0530, Tanmay Jain wrote: > Is there any way to generate a packet and add some information to it by > writing a script at openvswitch and send it to floodlight controller. And > after receiving that packet at controller how to use that information. You can set me

Re: [ovs-discuss] Cannot install meter

2017-10-16 Thread Ben Pfaff
On Mon, Oct 16, 2017 at 12:17:30PM +0200, Cédric MORIN wrote: > I have a question regarding meters in OVS, I hope this is the correct mailing > list to ask it. > > According to the FAQ "Since version 2.0, Open vSwitch has OpenFlow protocol > support for OpenFlow meters. Currently, only the users

Re: [ovs-discuss] ovs-vswitch Huge number of netlink file descriptors open

2017-10-20 Thread Ben Pfaff
On Fri, Oct 20, 2017 at 06:56:26PM +0800, quan_hp...@heetian.com wrote: > Hi All, > I searched a mail list like my problem. > https://mail.openvswitch.org/pipermail/ovs-discuss/2017-March/043817.html > > $sudo lsof -p $(pidof ovs-vswitchd) | wc -l > 115536 > $cat /proc/$(cat /var/run/openvswitch/

Re: [ovs-discuss] Rate limit based on IP

2017-10-20 Thread Ben Pfaff
On Fri, Oct 20, 2017 at 04:58:06PM +0800, BALL SUN wrote: > I understood that OVS has rate shaping based on port, is there any way > to perform rate shaping on IP level? You can use the flow table to assign packets to queues based on destination IP, then assign different queues different rates wit

Re: [ovs-discuss] Regarding queue size for each queue configured on openvswitch by using SDN (RYU) controller

2017-10-21 Thread Ben Pfaff
On Fri, Oct 20, 2017 at 10:37:27PM -0700, ANKUR SHETH wrote: > I am currently working on the queue control and bandwidth control for > openvswitches using the SDN controller. > > I am able to configure the multiple queues with required max and min > bandwidth rates) for the egress port , but I als

Re: [ovs-discuss] Rate limit based on IP

2017-10-22 Thread Ben Pfaff
Something like this: ip,nw_dst=1.2.3.4, actions=set_queue:123,output:4 On Mon, Oct 23, 2017 at 09:03:06AM +0800, BALL SUN wrote: > Hi Ben > > would you mind give me some samples? > > On Sat, Oct 21, 2017 at 1:45 AM, Ben Pfaff wrote: > > On Fri, Oct 20, 2017 at 04:58:06PM

Re: [ovs-discuss] About the 'clone' action

2017-10-23 Thread Ben Pfaff
On Mon, Oct 23, 2017 at 04:28:53PM +0800, Hui Xiang wrote: > I am trying to understand clone action deeply and checking the patch > related with 'clone'[1], where said "The clone action provides an action > envelope to enclose an action list." and "The clone action is very similar > with the OpenFl

Re: [ovs-discuss] ovs-vswitch Huge number of netlink file descriptors open

2017-10-23 Thread Ben Pfaff
k_socket|ERR|connect(0): Argument list > too long > 2017-10-21T03:56:10.518Z|422669|netlink_socket|ERR|connect(0): Argument list > too long > 2017-10-21T03:56:10.520Z|422670|netlink_socket|ERR|connect(0): Argument list > too long > 2017-10-21T03:56:10.523Z|422671|netlink_sock

Re: [ovs-discuss] [ovs-dev] [OVN] OVN doesn't work using OVS 2.8.1 on Centos 7.3 using conntrack

2017-10-24 Thread Ben Pfaff
On Tue, Oct 24, 2017 at 09:04:22PM +0530, Numan Siddique wrote: > We did some more investigation. This issue is seen only when OVN native > dhcp is used and with kernel datapath which doesn't support > OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV4. The reason for this failure is because > ovs-vswitchd includes

Re: [ovs-discuss] [ovs-dev] [OVN] OVN doesn't work using OVS 2.8.1 on Centos 7.3 using conntrack

2017-10-24 Thread Ben Pfaff
On Tue, Oct 24, 2017 at 11:07:58PM +0200, Daniel Alvarez Sanchez wrote: > Hi guys, > > Great job Numan! > As we discussed over IRC, the patch below may make more sense. > It essentially sets the dl_type so that when packet comes from the > controller, it matches > a valid type and OVS_KEY_ATTR_CT_

Re: [ovs-discuss] [ovs-dev] [OVN] OVN doesn't work using OVS 2.8.1 on Centos 7.3 using conntrack

2017-10-24 Thread Ben Pfaff
On Tue, Oct 24, 2017 at 02:27:59PM -0700, Ben Pfaff wrote: > On Tue, Oct 24, 2017 at 11:07:58PM +0200, Daniel Alvarez Sanchez wrote: > > Hi guys, > > > > Great job Numan! > > As we discussed over IRC, the patch below may make more sense. > > It essentially set

Re: [ovs-discuss] OVS queues and precedence

2017-10-24 Thread Ben Pfaff
On Wed, Oct 18, 2017 at 09:17:53AM +0200, Jannis Ohms wrote: > Hi > > > I used the following command to create 4 queues > > ovs-vsctl -- set port s7-eth2 qos=@newqos -- --id=@newqos create qos > type=linux-htb other-config:max-rate=1000 queues:1=@newQ queues:2=@newQ2 > queues:3=@newQ3 -- --i

Re: [ovs-discuss] OVS Flow insert

2017-10-25 Thread Ben Pfaff
On Wed, Oct 25, 2017 at 05:13:03PM +0300, Sara Gittlin wrote: > Can someone refer to the code where a new flow is inserted to > openflow tables in the OVS, as a consequence action of a received > message from a controller? handle_flow_mod() in ofproto.c ___

Re: [ovs-discuss] About the 'clone' action

2017-10-25 Thread Ben Pfaff
On Wed, Oct 25, 2017 at 06:07:41PM +0800, Hui Xiang wrote: > I think I am finally catching a bit with the concept of 'clone' action > after reviewing below patches in order, so the for OVN case, the new > 'clone' action aims to drop most of the OVS patch port, and after add new > ct_clear action, s

Re: [ovs-discuss] [ovs-dev] [OVN] OVN doesn't work using OVS 2.8.1 on Centos 7.3 using conntrack

2017-10-25 Thread Ben Pfaff
On Wed, Oct 25, 2017 at 06:50:29PM +0530, Numan Siddique wrote: > On Wed, Oct 25, 2017 at 3:09 PM, Daniel Alvarez Sanchez > wrote: > > > > > > > On Tue, Oct 24, 2017 at 11:35 PM, Ben Pfaff wrote: > > > >> On Tue, Oct 24, 2017 at 02:27:59PM -0700, Ben P

Re: [ovs-discuss] Default Openflow Ports

2017-10-26 Thread Ben Pfaff
On Thu, Oct 26, 2017 at 12:08:48AM +, Tommy Romano wrote: > We’re trying to manually set the openflow port numbers for our OVS > bridge ports. What port numbers should we avoid setting? I thought it > was 1-16k and 65534-65535 that are allocated by OVS, but wanted to > confirm. I don't really

Re: [ovs-discuss] Default Openflow Ports

2017-10-29 Thread Ben Pfaff
anted to understand what is a safe range to > allocate through the ofport_request so we don’t have to worry about > collisions with the vswitch allocated port numbers. We are running with > 32k. > Thanks > - Amar > > On 10/26/17, 10:45 AM, "ovs-discuss-boun...@open

Re: [ovs-discuss] OpenvSwitch Website

2017-11-01 Thread Ben Pfaff
On Wed, Nov 01, 2017 at 01:46:34PM +, Michael Williams wrote: > Is there a problem with the http://openvswitch.org/ website? I noticed > that it became unreachable last night and its still appears to be > down. I think its linode got shut down. I don't know why. Maybe it crashed. You can us

Re: [ovs-discuss] Unable to run miniedit

2017-11-02 Thread Ben Pfaff
I don't think this is an OVS problem. You should probably ask about it on a mininet mailing list. On Thu, Nov 02, 2017 at 12:57:20PM +, Lewis Koh via discuss wrote: > I tried to run a topology using miniedit and encountered the following > messages. I had tried sudo mn -c and also sudo kill

Re: [ovs-discuss] misc.packet_dump issue.

2017-11-02 Thread Ben Pfaff
I don't think this is an OVS problem. You should probably ask about it on a POX or mininet mailing list. On Thu, Nov 02, 2017 at 01:28:28PM +, Lewis Koh via discuss wrote: > Reference to Using POX components to create a software defined networking > application -> Start POX > > | > | > |

Re: [ovs-discuss] IPsec offloading

2017-11-02 Thread Ben Pfaff
On Thu, Nov 02, 2017 at 03:40:16PM +, Stokes, Ian wrote: > > Does the OVS support HW IPsec offload ? can OVS configure the NIC/Network > > adapter to ipsec a specific flow ? > > Hi Avi, this feature isn't available in OVS currently from what I'm aware of. Is there some reason that OVS would d

Re: [ovs-discuss] nd_target is not working at IPv6

2017-11-03 Thread Ben Pfaff
On Fri, Nov 03, 2017 at 04:18:25PM +0200, Andrey Ziltsov wrote: > Hallo!!! > > We have a problem with flow field "nd_target" at IPv6. > > For example. > > We have two VM with virtual interfaces vnet0 and vnet1. > > At the bridge set fail_mode to "secure": > > *# ovs-vsctl list br public-switch

Re: [ovs-discuss] group entries are not deleted after del-controller command

2017-11-06 Thread Ben Pfaff
On Fri, Nov 03, 2017 at 02:37:02PM +, Periyasamy Palanisamy wrote: > I have OVS 2.6.1 configured with bridge br-int in fail_mod set to 'secure'. > > There are flows and groups configured by controller in the switch for a VM > attached to it. > > > > After running 'ovs-vsctl del-controller

Re: [ovs-discuss] hardware offloading in ovs-2.8

2017-11-07 Thread Ben Pfaff
On Tue, Nov 07, 2017 at 03:49:06PM +0800, 王嵘 wrote: > Hi, > I'm using ovs-dpdk(ovs2.8/dpdk17.05.2), and I want to use the offload > feature. But I dont know how to enable it? > As is represented in the release note 2.8: > >- Addexperimental support for hardware offloading > * HW offloadi

Re: [ovs-discuss] OVN patch port for localnet can't be created

2017-11-07 Thread Ben Pfaff
Is update_sb_monitors() in ovn-controller.c not doing the right thing to ensure that localnet ports are present? That is the first place to look, I think. On Tue, Nov 07, 2017 at 04:36:12PM +0800, Hui Xiang wrote: > Hi folks, > > When I am running ovn in one of my node having the gateway port

Re: [ovs-discuss] ovs-dpctl problem

2017-11-12 Thread Ben Pfaff
On Fri, Nov 10, 2017 at 07:44:23PM +0800, 焦利涛 wrote: > Hi : > I have a problem that when i use the ovs-dpctl to add a flow into > datapath, it occurs "ovs-dpctl: parsing flow key (Invalid argument)" > > example: > root@jlt:~# ovs-dpctl add-flow system@myDP > "in_port(1),eth_type(0x8

Re: [ovs-discuss] ovs-dpctl problem

2017-11-13 Thread Ben Pfaff
On Mon, Nov 13, 2017 at 11:21:38AM -0500, Aaron Conole wrote: > "焦利涛" <309569...@qq.com> writes: > > > Hi : > > I have a problem that when i use the ovs-dpctl to add a flow into > > datapath, it occurs "ovs-dpctl: > > parsing flow key (Invalid argument)" > > > > example: > >root@jlt:

Re: [ovs-discuss] Error communicating with sb database

2017-11-13 Thread Ben Pfaff
On Mon, Nov 13, 2017 at 12:38:27PM +0100, Sverker Abrahamsson wrote: > Since an update of ovn/openvswitch the slave switches can't connect to the > master database. In the ovsdb-server-sb.log I get messages like the below: > > 2017-11-13T09:59:35.080Z|00210|stream_ssl|WARN|SSL_accept: error:140760

Re: [ovs-discuss] OVS queues and precedence

2017-11-13 Thread Ben Pfaff
On Mon, Nov 13, 2017 at 08:13:57PM +0100, Łukasz Rząsik wrote: > 2017-10-25 0:05 GMT+02:00 Ben Pfaff : > > > On Wed, Oct 18, 2017 at 09:17:53AM +0200, Jannis Ohms wrote: > > > Hi > > > > > > > > > I used the following command to create 4 queu

Re: [ovs-discuss] Regarding queue size for each queue configured on openvswitch by using SDN (RYU) controller

2017-11-13 Thread Ben Pfaff
ch. > > Awaiting for your response. > > Regards, > Ankur > > On Sat, Oct 21, 2017 at 2:25 PM, Ben Pfaff wrote: > > > On Fri, Oct 20, 2017 at 10:37:27PM -0700, ANKUR SHETH wrote: > > > I am currently working on the queue control and bandwidth control for >

Re: [ovs-discuss] jsonrpc

2017-11-13 Thread Ben Pfaff
On Mon, Nov 13, 2017 at 06:47:05PM -0300, Edison Albuquerque wrote: > Sorry if this has been asked before. > There's few examples on how to use jsonrpc to insert an interface, for > example. > For us, newbies, examples are extremely valuable, more than a thousand > words. > If some kind soul has an

Re: [ovs-discuss] jsonrpc

2017-11-13 Thread Ben Pfaff
quot;]}, "table": "Port"}, > {"op":"insert","row":{"ports":["named-uuid","port3d"],"name":"s1"},"table":"Bridge"}, > > {"op":"mutate","table&quo

Re: [ovs-discuss] Multiple Goto on Single Flow Statement

2017-11-14 Thread Ben Pfaff
On Tue, Nov 14, 2017 at 07:14:13PM +, Michael Williams wrote: > Under OvS 2.4.1 when we issue the following command; > > sudo ovs-ofctl -O OpenFlow13 add-flow s1 > table=0,in_port=2,actions=goto_table:1,goto_table:2 > > > we get this message; > > ovs-ofctl: instruction goto_table may be sp

Re: [ovs-discuss] Can't add a row into a table with ovsdb-client

2017-11-14 Thread Ben Pfaff
On Tue, Nov 14, 2017 at 02:40:22PM -0500, Scott Reeve wrote: > Tried a whole bunch of things but none seem to work. > There is one db: "hardware_vtep" > One of the tables is Ucast_Macs_Local: > > > "Ucast_Macs_Local": { > "columns": { > "MAC": { > "type": "string"}, >

Re: [ovs-discuss] Help adding ports in ovs-sandbox

2017-11-14 Thread Ben Pfaff
ovs-vswitchd running in the sandbox doesn't interact with the system at all, so ports you create there won't appear when you run system utilities. On Tue, Nov 14, 2017 at 07:29:16PM +, Omar Ramadan wrote: > Hello, > > > I am using the ovs-sandbox to run ovs-vswitchd in gdb and am having some

Re: [ovs-discuss] Can't add a row into a table with ovsdb-client

2017-11-14 Thread Ben Pfaff
On Tue, Nov 14, 2017 at 09:28:31PM -0500, Scott Reeve wrote: > At this point, I would be fine to just add an empty row. > > RFC shows this: > --- > > 5.2.1 . Insert > >The "insert" object contains the following m

Re: [ovs-discuss] Source Code - Multiple Controllers Round Robin Load Balancing

2017-11-19 Thread Ben Pfaff
It seems to me like a bad idea, in general, to use round robin load balancing to send packets to controllers because that is likely to reorder packets. I think that it would probably be a better idea to balance packets across controllers on a flow-by-flow basis. I think that you could use an Open

Re: [ovs-discuss] in_port=local never matches for flows

2017-11-20 Thread Ben Pfaff
On Fri, Nov 17, 2017 at 02:16:55PM +, Jan De Landtsheer wrote: > Hello again, > > I'm trying to define a conntrack flow that allows connections from linux > namespace1 to a test namespace, and block everything from the test > namespace to the host > > for that I create a bridge, add a port, s

Re: [ovs-discuss] OpenFlow “select” group

2017-11-20 Thread Ben Pfaff
On Thu, Nov 16, 2017 at 04:41:07PM -0500, Ronaldo Resende wrote: > I know that Open vSwitch 2.4 and later + OpenFlow 1.4, by default, hashes > some headers fields to choose a bucket in a select group. > > What if I want to change the way this is being done? What would be the > right approach to ac

Re: [ovs-discuss] What is a l2 pkt microflow

2017-11-20 Thread Ben Pfaff
On Thu, Nov 16, 2017 at 07:46:05PM +0200, Sara Gittlin wrote: > I understand that microflow kernel cache entries consist of full set of > header keys. > What about a l2 pkt e.g cfm pkt. What are the hash keys for cfm pkt in the > single microflow table? Just the Ethernet header. __

Re: [ovs-discuss] OpenFlow “select” group

2017-11-20 Thread Ben Pfaff
No. On Mon, Nov 20, 2017 at 11:41:26AM -0600, Prabhu wrote: > Just curios to know, does Group selection method support weighted round > robin selection method ? > > > On 11/20/2017 11:37 AM, Ben Pfaff wrote: > >On Thu, Nov 16, 2017 at 04:41:07PM -0500, Ronaldo Resende w

Re: [ovs-discuss] What is a l2 pkt microflow

2017-11-21 Thread Ben Pfaff
>only of L2 header, while for other flow the keys are l2+l3 headers. i >thought that there is only a single microflow table so classification >takes O(1). >--Sara > > >On Mon, Nov 20, 2017 at 7:38 PM, Ben Pfaff wrote: >> On Thu, Nov 16, 2017 at 07:46:05PM +0200, Sa

Re: [ovs-discuss] ovs 2.8 with ocata devstack environment

2017-11-27 Thread Ben Pfaff
On Mon, Nov 27, 2017 at 09:43:19AM +0530, Sailas Babu wrote: > I am trying to spawn VMs using ocata devstack with ovs 2.8 version. > wanted to check few specific ( mpls o gre) patches that are only available > in ovs 2.8 . > > ocata inherently using 2.6 version , which i stopped manaully and ovs

Re: [ovs-discuss] OVS binding Port link-status across different ports

2017-11-27 Thread Ben Pfaff
On Tue, Nov 21, 2017 at 10:58:17AM -0800, Gregory Rose wrote: > On 11/12/2017 1:21 PM, Fred Licht wrote: > >Hi All, > > I was curious if there was a way to have an OVS port reflect its up/down > > status to force a different port’s status to match. I am hosting a > > firewall VM on a system, a

Re: [ovs-discuss] DPDK with UIO drivers is broken on Fedora since OVS 2.8.0

2017-11-27 Thread Ben Pfaff
On Tue, Nov 21, 2017 at 12:08:51PM -0200, Marcos Felipe Schwarz wrote: > Hi, > > The current solution for running OVS with non-root user in Fedora makes it > not possible to support UIO drivers [1]. > Setting the user to root:root via /etc/sysconfig/openvswitch should be a > solution, but it is

Re: [ovs-discuss] 回复: ovs-dpctl problem

2017-11-27 Thread Ben Pfaff
0/0x), packets:0, bytes:0, used:never, actions:3 > > if there is a package from port 2, but it doesn't go to port 3. > why does it not work? > > -- 原始邮件 -- > 发件人: "Aaron Conole";; > 发送时间: 2017年11月14日(星期二) 凌晨0:48 > 收件人: &q

Re: [ovs-discuss] Idea of an ovn native "rally"

2017-11-28 Thread Ben Pfaff
On Thu, Nov 23, 2017 at 12:01:33PM +0100, Miguel Angel Ajo Pelayo wrote: > Today during coffee I was discussing with Jakub the idea of having > some sort of "rally" [1] [2] like project to measure the native reponse > of OVN at scale, measuring things like: > > * NB object creation to SB update

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