Re: [ovs-discuss] port mirroring on veth peer device

2016-11-03 Thread Ben Pfaff
There's at least one mirroring bug fix in 2.5.1, for this commit: From: Ben Pfaff Date: Thu, 15 Sep 2016 11:43:46 -0700 Subject: [PATCH] ofproto-dpif-xlate: Fix treatment of mirrors across patch port. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding:

Re: [ovs-discuss] port mirroring on veth peer device

2016-11-03 Thread Ben Pfaff
On Thu, Nov 03, 2016 at 05:24:38PM +0800, Hui Xiang wrote: > Does port mirroring works on veth device which is connected on another > linux bridge? It should. veth devices aren't special to Open vSwitch. You didn't mention what version of OVS you're using. There have been bug fixes in mirrori

Re: [ovs-discuss] OFPET_FLOW_MOD_FAILED

2016-11-03 Thread Ben Pfaff
I don't see how this is connected to Open vSwitch. Do you have a question related to Open vSwitch? On Thu, Nov 03, 2016 at 05:14:38AM -0400, Ajinkya D Kadam wrote: > HI All, > > I am doing a simple experiment to add a default table miss flow entry to a > hardware OpenFlow Switch. Below are the d

Re: [ovs-discuss] Selinux error openvswitch

2016-11-02 Thread Ben Pfaff
On Wed, Nov 02, 2016 at 10:02:27AM -0300, Rony C.T. wrote: > [root@cloud openvswitch-2.6.0]# rpmbuild -bb rhel/openvswitch.spec > error: Failed build dependencies: > selinux-policy-devel is needed by openvswitch-2.6.0-1.x86_64 > > > HELP :( Install the build dependencies. ___

Re: [ovs-discuss] Interface type OVS supports

2016-11-01 Thread Ben Pfaff
On Tue, Oct 25, 2016 at 08:12:10PM +1000, 陈昊 wrote: > I tried to attach Android mobile data interface (rmnet0) to OVS datapath > However, there was an error that said rmnet0 is invalid argument. I check > the interface rmnet0 whose encapsulation type is UNSPEC. > > Does anyone have the idea to sol

Re: [ovs-discuss] "protected mode" for openvswitch ports (layer 2 forwarding) ?

2016-10-31 Thread Ben Pfaff
nipulated? > in ovs-vsctl? ovs-ofctl has a mod-port command, but I'm not really > aware of port specific configuration in ovs-vsctl? Should I be asking > this on the dev mailing list instead? > > Cheers, > Ben > > On Thu, Oct 27, 2016 at 1:09 AM, Ben Pfaff wrote: &

Re: [ovs-discuss] Preserve register/metadata info across OVS bridges?

2016-10-31 Thread Ben Pfaff
On Fri, Oct 28, 2016 at 04:31:35PM -0700, Ray Li wrote: > Is there a way to preserve register/metadata values when I output a packet > through a patch port to another OVS bridge? OVS doesn't provide a way to do that in general. A few pieces of metadata are preserved, though, such as pkt_mark. ___

Re: [ovs-discuss] OVS2.6 OFPBAC_BAD_TYPE Error

2016-10-31 Thread Ben Pfaff
On Sun, Oct 30, 2016 at 01:50:44PM -0700, Kevin Lin wrote: > Hi, > > We're trying to upgrade to OVS2.6 from OVS2.5, but we're getting an error > in the logs in ovs-vswitchd: > > 2016-10-30T00:23:19Z|01208|vconn|DBG|unix: received: OFPT_FLOW_MOD (OF1.3) > (xid=0x45): ADD table:22 priority=1001,tcp

Re: [ovs-discuss] Help me about OVS SSL configuring

2016-10-27 Thread Ben Pfaff
On Wed, Oct 26, 2016 at 02:05:50PM +0800, Jeson Zhang wrote: > I resently wanted to configure OVS for SSL. But I was puzzled by the > tutorial from > http://openvswitch.org/support/dist-docs/INSTALL.SSL.md.html: You mean "recently", not "resently". You should probably look up the word "resent" an

Re: [ovs-discuss] Bundle properties in ADD/CONTROL msgs

2016-10-26 Thread Ben Pfaff
On Tue, Oct 25, 2016 at 07:41:28AM +, Andrej Leitner wrote: > In specification for OF bundles (extension #230 for v1.3) there is the field > struct onf_bundle_prop_header properties[0] in message BUNDLE_CONTROL. > > This field is present also in the second BUNDLE_ADD_MESSAGE however commented

Re: [ovs-discuss] "protected mode" for openvswitch ports (layer 2 forwarding) ?

2016-10-26 Thread Ben Pfaff
On Wed, Oct 26, 2016 at 12:45:48PM +0300, Ben Kelly wrote: > Hi, > > I've been searching for ways to implement something like "protected > mode" for ovs without much luck so far. Hoping someone on the discuss > mailing list might have some suggestions. > > Protected mode is available on some broa

Re: [ovs-discuss] Tuple Space Search implementation in the MegaFlow Cache

2016-10-24 Thread Ben Pfaff
On Mon, Oct 24, 2016 at 04:55:52PM -0400, thibaut stimpfling wrote: > I am looking for implementation details of the Tuple Space Search > algorithm in the MegaFlow Cache. More specifically, I am interested in > how ranges are handled by the tuple space search lookup algorithm. Is > each range conve

Re: [ovs-discuss] packet buffering on OVS

2016-10-20 Thread Ben Pfaff
On Fri, Oct 21, 2016 at 01:08:17AM -0400, Yikai Lin wrote: > 1. What is the latest implementation regarding the packet buffering > behavior in OVS? We removed it. OVS 2.6 and later no longer supports packet buffering. ___ discuss mailing list discuss@op

Re: [ovs-discuss] Question about to set the miss_send_len

2016-10-19 Thread Ben Pfaff
:14AM +, Naoyuki NS Shimizu wrote: > > Thank you for your reply. > > Do you mean that I can't change the value of miss_send_len? > > Can I change it by the other way? For example, by rewriting config file or > changing code and rebuilding. > > > >

Re: [ovs-discuss] Question about to set the miss_send_len

2016-10-19 Thread Ben Pfaff
On Wed, Oct 19, 2016 at 12:30:54AM +, Naoyuki NS Shimizu wrote: > I'd like to change the value of miss_send_len. > > I use trema as Openflow v1.0 controller and trema is not implemented > SetConfig messege. > > So I can't send SetConfig messege from Openflow v1.0 controller. > > Please tell

Re: [ovs-discuss] Static CAM table

2016-10-18 Thread Ben Pfaff
-table and static arp. I > > have it working to the point where I see ICMP echo request make it to > > the VM behind port 13 just not back. > > > > On Tue, Oct 18, 2016 at 11:29 AM, Ben Pfaff wrote: > >> On Tue, Oct 18, 2016 at 10:51:33AM -0700, Tom Gajewski wro

Re: [ovs-discuss] Static CAM table

2016-10-18 Thread Ben Pfaff
On Tue, Oct 18, 2016 at 10:51:33AM -0700, Tom Gajewski wrote: > Yes of course I've opened up the switch again after flushing ;] > Basically I have: > > cookie=0x0, duration=61132.153s, table=0, n_packets=112313104, > n_bytes=18199375313, idle_age=0, priority=0 actions=NORMAL > cookie=0x0, durati

Re: [ovs-discuss] Static CAM table

2016-10-17 Thread Ben Pfaff
, goal is to have a > static table entry like behavior accomplished with this flow. > > Cheers, > > --Tom > > On Mon, Oct 17, 2016 at 9:12 AM, Ben Pfaff wrote: > > On Mon, Oct 17, 2016 at 02:45:06AM -0700, Tom Gajewski wrote: > >> Hi all, > >> > >>

Re: [ovs-discuss] Is there an ovs-ofctl ACTION to evaluate the packet again?

2016-10-17 Thread Ben Pfaff
On Mon, Oct 17, 2016 at 06:09:29PM +0200, Richard Mayers wrote: > Is there a that when a packet MATCHES a rule as an ACTION it checks > the remaining rules but this one that matched. I just want to have a > rule that modifies certain packets but then the remaining rules still > apply. There's no w

Re: [ovs-discuss] Static CAM table

2016-10-17 Thread Ben Pfaff
On Mon, Oct 17, 2016 at 02:45:06AM -0700, Tom Gajewski wrote: > Hi all, > > It is my understanding that one cannot modify the cam (well I guess in > openvswitch land the mac table ;] ) directly. As I'm trying to set up > static entries. Do I need to use flows to accomplish this, is there no > othe

Re: [ovs-discuss] Help for removing unwanted configuration from ovs

2016-10-13 Thread Ben Pfaff
> mechanism_drivers = openvswitch > [ml2_type_flat] > flat_networks = external > [ml2_type_vlan] > [ml2_type_gre] > tunnel_id_ranges = 1:1000 > [ml2_type_vxlan] > [ml2_type_geneve] > [securitygroup] > > > Considering this which ports or bridges must be removed &

Re: [ovs-discuss] Time a packet spends in the switch

2016-10-13 Thread Ben Pfaff
On Thu, Oct 13, 2016 at 12:27:38PM -0400, Danish Sattar wrote: > I'm trying to find out the time a packet spends in the switch only. Time > difference between packet in and out. > > I thought analyzing the time in learning-switch.c would be give me some > info but that didn't work. Most packets d

Re: [ovs-discuss] Help for removing unwanted configuration from ovs

2016-10-13 Thread Ben Pfaff
On Thu, Oct 13, 2016 at 01:44:01PM -0400, Gaurav Goyal wrote: > I am using openvswitch. > Initially i had done some wrong configuration using vxlan. > > Now i am using gre for tunneling. But i could still see vxlan ports in > ovs-vsctl show output. > > Is there any option can can read current con

Re: [ovs-discuss] Fwd: Help for replacing linux bridging with OpenVswitch

2016-10-13 Thread Ben Pfaff
From an OVS perspective, yes. From an OpenStack perspective, you'd be better off asking on an OpenStack mailing list. On Thu, Oct 13, 2016 at 09:54:04AM -0400, Gaurav Goyal wrote: > Awaiting your response please! > > Can i use management interface as tunneling interface? > > > Regards > Gaurav

Re: [ovs-discuss] OpenFlow 1.3+

2016-10-12 Thread Ben Pfaff
On Wed, Oct 12, 2016 at 03:41:45PM -0700, Jarno Rajahalme wrote: > > > On Oct 12, 2016, at 2:57 PM, Jarno Rajahalme wrote: > > > >> > >> On Oct 12, 2016, at 9:10 AM, Ben Pfaff wrote: > >> > >> On Wed, Oct 12, 2016 at 01:27:46PM +, Andre

Re: [ovs-discuss] OpenFlow 1.3+

2016-10-12 Thread Ben Pfaff
On Wed, Oct 12, 2016 at 01:27:46PM +, Andrej Leitner wrote: > - what does it mean OpenFlow 1.3+ in notes here > http://openvswitch.org/releases/NEWS-2.6.0? OpenFlow 1.3 and later. > - there are bundles mentioned in connection with OF 1.3+, is it possible to > communicate with OVS > > in

Re: [ovs-discuss] ovs and tc's ingress qdisc

2016-10-12 Thread Ben Pfaff
On Wed, Oct 12, 2016 at 03:51:33PM +0200, Wolfgang Bumiller wrote: > On October 5, 2016 at 6:55 PM Ben Pfaff wrote: > > I don't know what you're trying to deal with. The autogenerated code > > provides a C view of all of the features that the underlying database > &g

Re: [ovs-discuss] ln: failed to create symbolic link ‘cacert.pem’: File exists

2016-10-12 Thread Ben Pfaff
On Wed, Oct 12, 2016 at 04:10:39PM +0200, Ashish Kurian wrote: > I tried to locate the file and it existed and I removed it. Still after > that process, I get the same error when trying to install a new package > using apt-get. I get the following error when trying to install a new > package using

Re: [ovs-discuss] ln: failed to create symbolic link ‘cacert.pem’: File exists

2016-10-11 Thread Ben Pfaff
On Tue, Oct 11, 2016 at 04:54:00PM +0200, Ashish Kurian wrote: > I am getting the error in subject when giving the command sudo dpkg > --configure -a > > Because of this, I cannot install any other packages. Please help me on how > I can fix this. Is there a file named cacert.pem in /etc/openvswi

Re: [ovs-discuss] remote syslog on ovs

2016-10-10 Thread Ben Pfaff
On Mon, Oct 10, 2016 at 03:53:06PM +0200, Jannis Ohms wrote: > I am currently trying to configure remote logging. > I want to forward my log to a remote syslog server. > I have seen that it is possible to configure syslog as a log target using > ovs-apctl. But where can i specify a remote syslog s

Re: [ovs-discuss] Specifying range for bridge port trunks

2016-10-06 Thread Ben Pfaff
atch as a start. > > BR, > Lucas > > 2016-10-04 3:19 GMT+02:00 Ben Pfaff : > > > This can occupy a lot of space. > > > > If you want to support ranges, you can submit a patch. > > > > On Mon, Oct 03, 2016 at 10:29:53PM +, my_ovs_disc...@yahoo.com wrot

Re: [ovs-discuss] Source file name for flow search function in Open vSwitch

2016-10-05 Thread Ben Pfaff
On Wed, Oct 05, 2016 at 03:05:50PM -0400, Danish Sattar wrote: > I would much appreciate it, if someone can point me to the name and > location of the flow search function in Open vSwitch source files. If there > are more detailed documentation of the source code somewhere, can someone > please pro

Re: [ovs-discuss] ovs and tc's ingress qdisc

2016-10-05 Thread Ben Pfaff
On Mon, Oct 03, 2016 at 04:49:57PM +0200, Wolfgang Bumiller wrote: > > On September 30, 2016 at 5:15 PM Ben Pfaff wrote: > > > > > > On Fri, Sep 30, 2016 at 02:33:21PM +0200, Wolfgang Bumiller wrote: > > > I've noticed openvswitch apparently blindly del

Re: [ovs-discuss] Support for in/out interfaces in IPFIX

2016-10-04 Thread Ben Pfaff
On Wed, Sep 21, 2016 at 10:46:04AM +0200, Ben de Graaff wrote: > I'm currently working on traffic analysis for detecting various security > events on a network and finding flow paths throughout the network. Part > of this work includes tracking/visualizing network flows on a > per-host/per-port bas

Re: [ovs-discuss] Connect two open vswitch

2016-10-04 Thread Ben Pfaff
On Tue, Oct 04, 2016 at 08:08:37PM +0200, Tomasz Łukojko wrote: > I want to ask its some purpose to connect two ovs ? Its like stack with > physical switch? Its more redundant and safty after crush one ? For me > usefull will be when i connect two ovs switch with different sites then > will be like

Re: [ovs-discuss] Specifying range for bridge port trunks

2016-10-03 Thread Ben Pfaff
3,34,35,36,37,38,39,40,41,42,4094]]}},"_comment":" > ovs-vsctl: /bin/ovs-vsctl add port 123456789012345 trunks > 42","Open_vSwitch":{"a0d40d36-fae6-4862-90cf-586bded25ae3":{"next_cfg":66}}} > OVSDB JSON 95 e501f33c436fdc44cbb73c5bf40d8527

Re: [ovs-discuss] Specifying range for bridge port trunks

2016-10-03 Thread Ben Pfaff
On Mon, Oct 03, 2016 at 09:23:59PM +, my_ovs_disc...@yahoo.com wrote: > Hi, We are using openvswitch-2.5.0 > Is there a way to specify a range for trunks under bridge port, like > vsctl add port port1 trunks 100-250 > It could be for add/set. > In the conf.db, these trunks seem to be getting st

Re: [ovs-discuss] L3 gre tunnel setup question

2016-10-03 Thread Ben Pfaff
On Wed, Sep 28, 2016 at 10:03:44AM +0200, Roberto Gil wrote: > Scenario: I am trying to setup a L3 gre tunnel between two linux boxes with > OVS. I am using l3/vpn branch, which seems to have the patches to support > this funcionality. I've never heard of this fork of OVS. Perhaps you are running

Re: [ovs-discuss] [openvswitch 2.6.0] testsuite: 7 8 111 113 119 121 125 381 761 1859 1860 1861 1862 1863 1864 1868 1870 2247 failed

2016-09-30 Thread Ben Pfaff
ldd is called (& is why > valgrind shows '???' for > > /lib/ld-musl-x86_64.so.1) > > Stuart. > > > On 09/30/2016 06:26 PM, Ben Pfaff wrote: > > On Fri, Sep 30, 2016 at 03:07:17AM +0100, Stuart Cardall wrote: > >> The patches improved the

Re: [ovs-discuss] [openvswitch 2.6.0] testsuite: 7 8 111 113 119 121 125 381 761 1859 1860 1861 1862 1863 1864 1868 1870 2247 failed

2016-09-30 Thread Ben Pfaff
On Fri, Sep 30, 2016 at 03:07:17AM +0100, Stuart Cardall wrote: > The patches improved the failures to 11: > > _testsuite: 7 8 761 1859 1860 1861 1862 1863 1864 1868 1870 failed:_ > > 7: vsctl-bashcomp - basic verification FAILED > (completion.at:352) > 8: vsctl-bashcomp - argument co

Re: [ovs-discuss] Regarding IP Options Field

2016-09-30 Thread Ben Pfaff
Hadem wrote: > Thanks Ben, > Can you pls indicate the main files in openvswitch, which we need to > incorporate the required changes for achieving the same?. > ThanksHadem > > On Thursday, 29 September 2016 8:28 PM, Ben Pfaff wrote: > > > On Thu, Sep 29, 201

Re: [ovs-discuss] Request: Debugging/troubleshooting OVN+Docker

2016-09-30 Thread Ben Pfaff
On Thu, Sep 29, 2016 at 11:56:14PM -0600, Scott Lowe wrote: > Please see my response below. > > > > On Sep 29, 2016, at 11:27 PM, Ben Pfaff wrote: > > > > On Thu, Sep 29, 2016 at 10:19:18PM -0600, Scott Lowe wrote: > >> Hi all, I was wondering if someone h

Re: [ovs-discuss] ovs and tc's ingress qdisc

2016-09-30 Thread Ben Pfaff
On Fri, Sep 30, 2016 at 02:33:21PM +0200, Wolfgang Bumiller wrote: > I've noticed openvswitch apparently blindly deletes the ingress qdisc > of bridge ports even if no ingress policing is configured. > This also prevents the use of this qdisc for purposes other than the > in OVS implemented ingress

Re: [ovs-discuss] Request: Debugging/troubleshooting OVN+Docker

2016-09-29 Thread Ben Pfaff
On Thu, Sep 29, 2016 at 10:19:18PM -0600, Scott Lowe wrote: > Hi all, I was wondering if someone here could help me debug/troubleshoot an > OVN+Docker environment that I've built for a demo in late October. I have > three Ubuntu 14.04 nodes running Docker 1.11.2 and OVN 2.6 (built from > source,

Re: [ovs-discuss] OVS Installation error

2016-09-29 Thread Ben Pfaff
uck on this for two days and need to do some > research work using OVS. > > On Thu, Sep 29, 2016 at 10:34 PM, Ben Pfaff wrote: > > > On Thu, Sep 29, 2016 at 03:54:44PM -0700, Joe Stringer wrote: > > > On 29 September 2016 at 14:51, Ben Pfaff wrote: >

Re: [ovs-discuss] OVS Installation error

2016-09-29 Thread Ben Pfaff
On Thu, Sep 29, 2016 at 03:54:44PM -0700, Joe Stringer wrote: > On 29 September 2016 at 14:51, Ben Pfaff wrote: > > Please don't drop the mailing list. > > > > This is some kind of problem with your kernel configuration. It's not > > OVS-specific, you'd

Re: [ovs-discuss] OVS Installation error

2016-09-29 Thread Ben Pfaff
at 01:49:52PM -0500, Anas Saeed wrote: > The command was make modules_install ( after ./configure and make). > Also in the attached file (which is a script for management of OVS which my > friend sent me if you run _ovs_make_and_install. You get the same error. > On Sep 29, 2016 1:33 P

Re: [ovs-discuss] [openvswitch 2.6.0] testsuite: 7 8 111 113 119 121 125 381 761 1859 1860 1861 1862 1863 1864 1868 1870 2247 failed

2016-09-29 Thread Ben Pfaff
On Wed, Sep 28, 2016 at 08:44:28PM +0100, Stuart Cardall wrote: > I'm the Package Maintainer for ovs in Alpine Linux. The attached test > failures are most probably related to the use of Musl C (& not Glibc). > > If I can help test the errors please let me know. Some of these were pretty easy to

Re: [ovs-discuss] OVS Installation error

2016-09-29 Thread Ben Pfaff
On Thu, Sep 29, 2016 at 11:13:41AM -0500, Anas Saeed wrote: > While making OVS ( after configuration) I get the following error. > > At main.c:222: > - SSL error:02001002:system library:fopen:No such file or directory: > bss_file.c:175 > - SSL error:2006D080:BIO routines:BIO_new_file:no such file:

Re: [ovs-discuss] OVS 2.6.90 & ODL Beryllium

2016-09-29 Thread Ben Pfaff
On Thu, Sep 29, 2016 at 01:54:22PM +0100, Richard Renwick wrote: > I have upgraded a vSwitch to v2.6.90 of OVS which brings with it new > functionality - specifically the nat and ct actions in this case. Do > I have to do anything with OVS to allow these new features to be used > by the NBI in ODL

Re: [ovs-discuss] Regarding IP Options Field

2016-09-29 Thread Ben Pfaff
On Thu, Sep 29, 2016 at 11:50:10AM +, Pynbiang Hadem wrote: > Dear All,I want to use the ipv4 "options" field.  Kindly suggest how > to incorporate features in openvswitch to set values for ip_options > field using the set_field action. ThanksHadem One natural way to do it would be to add a f

Re: [ovs-discuss] Open vSwitch 2.6.0 and 2.5.1 Available

2016-09-28 Thread Ben Pfaff
On Wed, Sep 28, 2016 at 11:36:01AM +0100, Markos Chandras wrote: > On 09/28/2016 08:01 AM, Justin Pettit wrote: > > The Open vSwitch team is pleased to announce the release of Open vSwitch > > 2.6.0: > > [...] > > In addition to the 2.6.0 release, we've also released 2.5.1: > > > > http://ope

Re: [ovs-discuss] Question regarding adding flow already residing in the requested table

2016-09-27 Thread Ben Pfaff
t; > BR > Andreas > > 2016-09-26 17:02 GMT+02:00 Ben Pfaff : > > > On Mon, Sep 26, 2016 at 10:07:11AM +0200, Andreas Gilbert wrote: > > > From OpenFlow Specification 1.3: > > > > > > "If a flow entry with identical match fields and prior

Re: [ovs-discuss] Question regarding adding flow already residing in the requested table

2016-09-26 Thread Ben Pfaff
On Mon, Sep 26, 2016 at 10:07:11AM +0200, Andreas Gilbert wrote: > From OpenFlow Specification 1.3: > > "If a flow entry with identical match fields and priority already resides > in the requested table, > then that entry, including its duration, must be cleared from the table, > and the new flow

Re: [ovs-discuss] an automated rig for testing ovsdb upgrades

2016-09-25 Thread Ben Pfaff
On Sat, Sep 24, 2016 at 04:59:40PM -0400, Flavio Fernandes wrote: > As mentioned in the last OVN meeting [1], I've completed my first round in > creating an automated way of checking if OVS+OVN config will survive the > schema changes between any 2 OVS builds. That's really great! We'll need that

Re: [ovs-discuss] ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)

2016-09-23 Thread Ben Pfaff
; Best Regards, > Ashish Kurian > > On Thu, Sep 22, 2016 at 5:00 PM, Ben Pfaff wrote: > > > On Thu, Sep 22, 2016 at 10:21:04AM +0200, Ashish Kurian wrote: > > > After I installed OVS 2.5 on my machine and reboot it, I get this error > > > when I try to start OVS

Re: [ovs-discuss] ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)

2016-09-22 Thread Ben Pfaff
On Thu, Sep 22, 2016 at 10:21:04AM +0200, Ashish Kurian wrote: > After I installed OVS 2.5 on my machine and reboot it, I get this error > when I try to start OVS. I could fix this by doing the following steps > after every reboot, but I want to know if I can fix this permanently. > > sudo ovsdb-s

Re: [ovs-discuss] Other actions using learn rules?

2016-09-21 Thread Ben Pfaff
On Wed, Sep 21, 2016 at 05:20:28PM -0700, Ray Li wrote: > Is there anyway to specify other action types for a learn rule? For example > > learn(,normal) or > learn(,resubmit(,10)) The FAQ says: ### Q: The "learn" action can't learn the action I want, can you improve it? A: By itself, the "learn

Re: [ovs-discuss] Multiple sFlow instances in Open vSwitch

2016-09-20 Thread Ben Pfaff
On Tue, Sep 20, 2016 at 08:06:19PM +0200, Syed Faraz Ali wrote: > Is there a way to configure multiple sFlow instances running on the OVS? > I configured an instance below: > > *ovs-vsctl -- --id=@sflow create sflow agent=eth0 target=\"192.168.1.1:6343 > \" header=128 samp

Re: [ovs-discuss] ovs-vswitchd is sucking every cycle (100% CPU usage).

2016-09-19 Thread Ben Pfaff
On Fri, Sep 16, 2016 at 12:06:00AM +0200, John Chludzinski wrote: > I created a bond-port (and enabled LACP): > > ~# ovs-vsctl add-br b1 > ~# ovs-vsctl add-bond b1 bd1 enp8s0 enp0s26u1u3u1 > ~# ovs-vsctl set port bd1 lacp=active > > On a CISCO router I connected interfaces: enp8s0 & enp0s26u1u3u1

Re: [ovs-discuss] Roadmap for DPDK usespace NAT

2016-09-19 Thread Ben Pfaff
nted, can we expect it be released with first 2.6 release? > > I tried to googling, however does not find some existing patch for the > feature. > > 2016-09-19 0:23 GMT+08:00 Ben Pfaff : > > > On Sun, Sep 18, 2016 at 08:24:57PM +0800, 张东亚 wrote: > > > From ovs 2.6 b

Re: [ovs-discuss] Does ovs send FlowRemoved message to controller?

2016-09-19 Thread Ben Pfaff
On Mon, Sep 19, 2016 at 10:39:28PM +0800, Zhao Jun wrote: > I installed a flow rule with idle_time=60, and I want to receive FlowRemoved > message from ovs, but I did not. > So I want to ask if the ovs sends FlowRemoved message to controller by > default? If not, which command can enable this? O

Re: [ovs-discuss] Roadmap for DPDK usespace NAT

2016-09-18 Thread Ben Pfaff
On Sun, Sep 18, 2016 at 08:24:57PM +0800, 张东亚 wrote: > From ovs 2.6 branch NEWS file, it have stated the following sentence: > > Basic connection tracking for the userspace datapath (no ALG, > fragmentation or NAT support yet) > > I am wonder what's the developmenent schedule for userspace NAT ba

Re: [ovs-discuss] Weird problem with openvswitch module

2016-09-16 Thread Ben Pfaff
On Fri, Sep 16, 2016 at 11:26:07AM +0100, Markos Chandras wrote: > Well it's been a while but I was wondering if you managed to find the > root for this problem. I've never heard of this problem and it doesn't make much sense. Probably, you should investigate it yourself. _

Re: [ovs-discuss] Failed to add port

2016-09-16 Thread Ben Pfaff
On Fri, Sep 16, 2016 at 10:00:33AM +, Randolph Hill wrote: > I would like to understand the following error when adding a port > > > > root@Ipnu-Nesia:/var/log/openvswitch# ovs-vsctl add-port ovsbr0 eno1 > ovs-vsctl: Error detected while setting up 'eno1'.  See ovs-vswitchd log for > detail

Re: [ovs-discuss] mirror ports on multiple bridges - egress problem

2016-09-16 Thread Ben Pfaff
Best regards, > Zoltán > > > -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Thursday, September 15, 2016 8:44 PM > To: Zoltán Balogh > Cc: discuss@openvswitch.org > Subject: Re: [ovs-discuss] mirror ports on multiple bridges - egress proble

Re: [ovs-discuss] Using OVSDB to configure flow rules

2016-09-15 Thread Ben Pfaff
On Fri, Sep 16, 2016 at 04:31:24AM +, Purnendu Ghosh wrote: > Is it possible to use the OVSDB interface to configure flow rules? No. ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] vswitchd restart and bond interfaces

2016-09-15 Thread Ben Pfaff
On Fri, Sep 16, 2016 at 12:02:57AM +, my_ovs_disc...@yahoo.com wrote: > Hi, > I am seeing this strange behavior of slaves getting disabled on bond > interfaces upon restart of vswitchd.This bond is static LAG, no LACP. > > openvswitch-2.5.0 on Centos-6.2 based Linux > > This is the sequence

Re: [ovs-discuss] mirror ports on multiple bridges - egress problem

2016-09-15 Thread Ben Pfaff
On Thu, Sep 15, 2016 at 11:05:58AM -0700, Ben Pfaff wrote: > On Thu, Sep 15, 2016 at 07:52:03AM +, Zoltán Balogh wrote: > > It seems that for each datapath flow rule, there can be only one mirror > > port. > > I presume the chosen port could depend on the proce

Re: [ovs-discuss] mirror ports on multiple bridges - egress problem

2016-09-15 Thread Ben Pfaff
On Thu, Sep 15, 2016 at 07:52:03AM +, Zoltán Balogh wrote: > It seems that for each datapath flow rule, there can be only one mirror port. > I presume the chosen port could depend on the processing order of output > ports > when the datapath flow is constructed. > Is this a planned limitatio

Re: [ovs-discuss] bug: cannot create /etc/openvswitch/system-id.conf: Directory nonexistent

2016-09-14 Thread Ben Pfaff
On Tue, Sep 13, 2016 at 12:30:13PM -0400, Flavio Fernandes wrote: > Dear OVS gurus, > > While tweaking the dbdir param in OVS build, I hit an issue [bug] that > affects how OVS start > scripts handle the creation of file system-id.conf. > > The issue is that ovs-ctl script is assuming that the d

Re: [ovs-discuss] native ovs for windows?

2016-09-14 Thread Ben Pfaff
On Wed, Sep 14, 2016 at 02:27:12PM +0300, Itamar Ofek wrote: > Currently OVS under windows is based on hyper-v, > Has anybody tried to implement OVS as a native windows driver? I've heard some discussion, but I don't know of anyone working on it. ___ dis

Re: [ovs-discuss] Id shown for openvswitch in odl

2016-09-12 Thread Ben Pfaff
On Mon, Sep 12, 2016 at 04:04:14PM +0530, madhu wrote: > I have openvswitch in compute and controller node. Both are controlled by > opendaylight controller. > > In ODL these switches are shown in DLUX gui as *openflow:217997698421066 > *and***openflow:274949178594639. > > *How does ODL assigns t

Re: [ovs-discuss] ingress_policing_rate rule taking too long to kick in

2016-09-11 Thread Ben Pfaff
pt it still takes some 5 to 10 seconds until I see > any effect. Also, the documentation doesn't say anything about any > delay regarding ingress policies. > > 2016-09-11 1:01 GMT-03:00 Ben Pfaff : > > On Sat, Sep 10, 2016 at 03:14:37PM -0300, Frederico wrote: > >> I a

Re: [ovs-discuss] Datapath is not compiled

2016-09-11 Thread Ben Pfaff
On Sun, Sep 11, 2016 at 12:59:32AM -0700, Justin Pettit wrote: > > > On Sep 10, 2016, at 10:48 PM, Nomad Esst wrote: > > > > Hi > > > > I'm trying to compile OVS from source in FreeBSD 10.3 AMD64 but it seems > > that datapath is not compiled when I try to compile the source code. I have > >

Re: [ovs-discuss] ingress_policing_rate rule taking too long to kick in

2016-09-10 Thread Ben Pfaff
On Sat, Sep 10, 2016 at 03:14:37PM -0300, Frederico wrote: > I am successfully applying the following speed limiting rules: > > ovs-vsctl set interface s0-eth1 ingress_policing_rate=1024 > ovs-vsctl set interface s0-eth1 ingress_policing_burst=0 > > However, it takes some seconds (between 5 and 1

Re: [ovs-discuss] openvswitch - What is the use of NICIRA extensions

2016-09-09 Thread Ben Pfaff
ster. > > What I am not able to understand is in what scenarios one may use NXM > register to store values. > > Any explanation about the use of NXM registers will be helpfull. > > Thanks, > Madhu Chakravarthy. > > On 09-09-2016 21:20, Ben Pfaff wrote: > >On

Re: [ovs-discuss] openvswitch - What is the use of NICIRA extensions

2016-09-09 Thread Ben Pfaff
On Fri, Sep 09, 2016 at 05:54:41PM +0530, madhu wrote: > I am trying to understand the open flow rules written to the openvswitch. > > I am using openvswitch with openflow version 1.3. In that I see flow rules > like below > > cookie=0x0, duration=133278.833s, table=0, n_packets=37283, > n_bytes=

Re: [ovs-discuss] applying a patch

2016-09-08 Thread Ben Pfaff
On Thu, Sep 08, 2016 at 01:21:46PM +0200, Ashish Kurian wrote: > Dear Team, > > I have installed the ovs through debian packages by following > install.debian.md and the install was successful. > > Then I applied the ovs gtp u patch manually using the patch command. Now I > need to build new debi

Re: [ovs-discuss] OVS 2.5.0 support on Ubuntu 16

2016-09-07 Thread Ben Pfaff
On Wed, Sep 07, 2016 at 10:59:34AM +0200, Ashish Kurian wrote: > I just wanted to know if the tar ball release of OVS 2.5.0 is supported on > ubuntu 16 Sure. ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] definition of ³struck ovsrec_bridge²

2016-09-07 Thread Ben Pfaff
e edit your Subject line so it is more specific > >than "Re: Contents of discuss digest..." > > > > > >Today's Topics: > > > > 1. Implementing a custom packet scheduler (Sergio Gutierrez) > > 2. Re: Implementing a custom packet scheduler (Ben Pfaff) &

Re: [ovs-discuss] ovs-vsctl: Error detected while setting up 'br0'. See ovs-vswitchd log for details.

2016-09-07 Thread Ben Pfaff
Yes. On Wed, Sep 07, 2016 at 09:18:51AM +0200, Ashish Kurian wrote: > Dear Ben, > > You mean the debian packages? > > Best Regards, > Ashish Kurian > > On Tue, Sep 6, 2016 at 11:44 PM, Ben Pfaff wrote: > > > Perhaps you should install from packages. Then yo

Re: [ovs-discuss] Select Group still does not work

2016-09-07 Thread Ben Pfaff
All ICMP packets between two destinations will go through the same bucket. On Wed, Sep 07, 2016 at 07:53:31AM +0800, AY wrote: > I run ICMP traffic , > I monitor the traffic with TCPdump . > > On Tuesday, 6 September 2016, Ben Pfaff wrote: > > > Please don't drop the

Re: [ovs-discuss] ovs-vsctl: Error detected while setting up 'br0'. See ovs-vswitchd log for details.

2016-09-06 Thread Ben Pfaff
> > Best Regards, > Ashish Kurian > > On Tue, Sep 6, 2016 at 9:36 PM, Ben Pfaff wrote: > > > On Tue, Sep 06, 2016 at 08:57:30PM +0200, Ashish Kurian wrote: > > > Dear All, > > > > > > When I give the command ¨sudo ovsdb-tool crea

Re: [ovs-discuss] ovs-vsctl: Error detected while setting up 'br0'. See ovs-vswitchd log for details.

2016-09-06 Thread Ben Pfaff
On Tue, Sep 06, 2016 at 08:57:30PM +0200, Ashish Kurian wrote: > Dear All, > > When I give the command ¨sudo ovsdb-tool create > /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema¨ during the > installation, I am getting the following error. > > ovsdb-tool: I/O error: /usr/local/etc/op

Re: [ovs-discuss] ovs can not forward

2016-09-06 Thread Ben Pfaff
On Tue, Sep 06, 2016 at 05:20:21PM +0800, 张晨 wrote: > BTW, i met something strange, and i don't know whether it is related > to the above problem. So i will list it as follows: When "ovs-vsctl > add-port br1 eth1" is configured, an error "ovs-vsctl: Error detected > while setting up 'eth1'. See ovs

Re: [ovs-discuss] Maximum MPLS labels (FLOW_MAX_MPLS_LABELS)

2016-09-06 Thread Ben Pfaff
On Tue, Sep 06, 2016 at 02:41:19PM +, ma...@lamehost.it wrote: > September 6, 2016 4:33 PM, "Ben Pfaff" wrote: > > > On Mon, Sep 05, 2016 at 02:20:18PM +, ma...@lamehost.it wrote: > > > >> I would like to know if there are plans to augment > &

Re: [ovs-discuss] Allow fdb to be overwritten / Getting carp to work with ovs

2016-09-06 Thread Ben Pfaff
On Tue, Sep 06, 2016 at 11:50:13AM +0200, Fredrik Dahlberg wrote: > On Mon, Sep 5, 2016 at 5:33 AM Ben Pfaff wrote: > > > On Sun, Sep 04, 2016 at 07:12:43PM +, Fredrik Dahlberg wrote: > > > I am trying to get carp to work with ovs(2.5.0, ubuntu 16.04). > > >

Re: [ovs-discuss] ovs-vsctl: Error detected while setting up 'br0'. See ovs-vswitchd log for details.

2016-09-06 Thread Ben Pfaff
On Tue, Sep 06, 2016 at 04:32:09PM +0200, Ashish Kurian wrote: > Some where I also read that I have to install openvswitch-datapath-source > and openvswitch-brcompat. Also in another forum read that I have to update > the database schema. Can you advice if these are necessary and if so, how > to up

Re: [ovs-discuss] Maximum MPLS labels (FLOW_MAX_MPLS_LABELS)

2016-09-06 Thread Ben Pfaff
On Mon, Sep 05, 2016 at 02:20:18PM +, ma...@lamehost.it wrote: > I would like to know if there are plans to augment > FLOW_MAX_MPLS_LABELS (and all the data structures that depend on it) > to larger values. This is the first inquiry I've heard. ___ d

Re: [ovs-discuss] Select Group still does not work

2016-09-06 Thread Ben Pfaff
vs-ofctl -O OpenFlow13 add-flow s5 > eth_type=0x0800,ip_dst=10.0.0.1,actions=output:1 > ovs-ofctl -O OpenFlow13 add-flow s5 > eth_type=0x0806,ip_dst=10.0.0.1,actions=output:1 > > My topology is attached > > On 6 September 2016 at 01:49, Ben Pfaff wrote: > > > On S

Re: [ovs-discuss] Implementing a custom packet scheduler

2016-09-05 Thread Ben Pfaff
On Mon, Sep 05, 2016 at 04:44:09PM -0300, Sergio Gutierrez wrote: > I am new to Openvswitch coding and development. I am interested in > implementing a custom mechanism for packet scheduling. Thus, I would like > to know what would be the right starting point to study the code in order > to impleme

Re: [ovs-discuss] Select Group still does not work

2016-09-05 Thread Ben Pfaff
On Sun, Sep 04, 2016 at 04:44:55PM +0800, AY wrote: > I have tried this configuration with ovs 2.3 and ovs 2.5 : > ovs-ofctl -O OpenFlow13 add-group s1 > group_id=5566,type=select,bucket=weight:33,actions=output:1,bucket=weight:33,actions=output:2,bucket=weight:34,actions=output:3 > > ovs-ofctl -O

Re: [ovs-discuss] Allow fdb to be overwritten / Getting carp to work with ovs

2016-09-04 Thread Ben Pfaff
On Sun, Sep 04, 2016 at 07:12:43PM +, Fredrik Dahlberg wrote: > I am trying to get carp to work with ovs(2.5.0, ubuntu 16.04). > > Carp is set up with the same mac address on the carp interfaces, trying to > determine who is master like this: > 20:55:56.326841 00:00:5e:00:01:19 (oui Unknown) >

Re: [ovs-discuss] Hash quality in select group with weighted buckets‏

2016-09-01 Thread Ben Pfaff
I don't see how this changes my answer. It's still interesting. If you find that some changes improve the accuracy of the split, please report your results. On Thu, Sep 01, 2016 at 11:53:37AM +0200, ibrahim menem wrote: > Hi Ben, > > I did more tests, using different subsets of fields(nw_src, n

Re: [ovs-discuss] Error while adding a port to the bridge

2016-09-01 Thread Ben Pfaff
ue with the > latest version of the Ubuntu? > > Thanks and regards, > Ashish Kurian > > Best Regards, > Ashish Kurian > > On Wed, Aug 31, 2016 at 6:14 PM, Ben Pfaff wrote: > > > On Wed, Aug 31, 2016 at 02:53:00PM +0200, Ashish Kurian wrote: > > > I a

Re: [ovs-discuss] Error while adding a port to the bridge

2016-08-31 Thread Ben Pfaff
On Wed, Aug 31, 2016 at 02:53:00PM +0200, Ashish Kurian wrote: > I am getting an error when I am trying to add a port to the bridge that I > created. The following is the error. > > ovs-vsctl: Error detected while setting up 'eth0'. See ovs-vswitchd log > for details. > > when I use the command

Re: [ovs-discuss] Indicate 2 or more nw_src= ranges in one rule

2016-08-30 Thread Ben Pfaff
On Tue, Aug 30, 2016 at 05:21:06PM -0600, Sterdnot Shaken wrote: > Is there any way to indicate more then one ip subnet in a single rule? Say > I wanted a rule to match any source from both 10.0.0.0/24 and 192.168.0.0/24 > ip ranges... Can that be done in one rule? No. Use two rules.

Re: [ovs-discuss] OVS - How to add stdio.h library to datapath

2016-08-30 Thread Ben Pfaff
On Tue, Aug 30, 2016 at 03:08:22PM +1000, Dzuy Pham wrote: > I'm looking to add some features to the datapath.c module in ovs and was > wondering how I can add the stdio.h library to it and successfully compile > it. You can't. The Linux kernel doesn't support . __

Re: [ovs-discuss] Active-Backup Bond options

2016-08-30 Thread Ben Pfaff
On Tue, Aug 30, 2016 at 10:42:34AM +, Michael Schobel-Thoma wrote: > I´m currently configuring my virtual infrastructure with OVS. I try to > connect 2 network interfaces (one with 10G and one with 1G) to different > switches and bond them in active-backup mode, to get a failover > functionalit

  1   2   3   4   5   6   7   8   9   10   >