Re: [ovs-discuss] Why executing eth0 down and up causes OVS CPU utilization very high?

2018-06-04 Thread Ben Pfaff
On Mon, Jun 04, 2018 at 05:05:39PM +0800, Brandon Cheng wrote: > I uses ovs 2.1.2. > > Why executing " #ifconfig eth0 down; ifconfig eth0 up " command causes OVS > cpu utilization very high. > Although OVS runs normally. > > How to resolve this problem? OVS 2.1.2 is over 4 years old. Probably y

Re: [ovs-discuss] Viewing action set in e.g. ovs-ofctl

2018-06-04 Thread Ben Pfaff
On Mon, Jun 04, 2018 at 01:57:13PM +, Kyle Simpson wrote: > I've been looking into making the action set visible as part of > ovs-ofctl dump-flows (since, at present, it is reported as > "actions=drop"). I've followed the logic around the vconn, where > OpenFlow seems not to have considered thi

Re: [ovs-discuss] Condition in flow rules

2018-05-31 Thread Ben Pfaff
On Thu, May 31, 2018 at 07:05:26PM -0400, M_ Sh wrote: > Is there any way to define a flow rule that says " if *dl_dst!=* ...or > *nw_src!=**.*.. , actions =..."? ovs_fields(7) talks about this. Search for "inequality match". ___ discuss mailing list

Re: [ovs-discuss] GRE key rules

2018-05-30 Thread Ben Pfaff
Yes. For more information, see the section titled TUNNEL FIELDS in ovs-fields(7). On Wed, May 30, 2018 at 11:04:38PM +, Paul Greenberg wrote: > Bilal, > > Regarding n^2 interfaces, I think you can have a single GRE interface without > remote_ip set. Instead, the interface is "flow" type int

Re: [ovs-discuss] [openvswitch 2.9.2] testsuite: 1826 2364 failed

2018-05-29 Thread Ben Pfaff
On Tue, May 29, 2018 at 08:36:19PM +0530, Sanket Sudake wrote: > Hi Opevswitch Devs, > > I am trying to build Openvswitch on Centos 7.5.1804. Two tests are failing > from testsuite. I have attached testsuite.log and packaged testsuite.dir in > attached gzip. I don't see an attachment. ___

Re: [ovs-discuss] Cannot find definition of rule_collection_add

2018-05-28 Thread Ben Pfaff
On Mon, May 28, 2018 at 02:05:05PM +0300, Sara Gittlin wrote: > I cannot find the definition of the function rule_collection_add - used in > ofproto.c > is it a dynamic library function ? It's defined by a set of macros, see the invocation of DECL_OFPROTO_COLLECTION (struct rule *, rule) in ofprot

Re: [ovs-discuss] Pisces in the mainline OVS

2018-05-25 Thread Ben Pfaff
On Fri, May 25, 2018 at 01:26:33PM +0530, Shailja Pandey via discuss wrote: > Some time back there was a discussion about integrating PISCES into > mainstream OVS branch. Please provide an update on the same . > > Is PISCES already integrated in the mainline OVS, if not, what is the > expected tim

Re: [ovs-discuss] 答复: 答复: Question: why ovs flush all datapath flows when destroying br/ofproto?

2018-05-25 Thread Ben Pfaff
When deleting the ovs bridge br-plyXXX, we can flush per br-plyXXX's port > related datapath flows instead of flush all datapath flows. > >Is that ok? > >Thanks. > > -邮件原件- > 发件人: Ben Pfaff [mailto:b...@ovn.org] > 发送时间: 2018年5月25

Re: [ovs-discuss] 答复: Question: why ovs flush all datapath flows when destroying br/ofproto?

2018-05-24 Thread Ben Pfaff
ng) > 发送时间: 2018年5月18日 11:02 > 收件人: d...@openvswitch.org; 'Ben Pfaff' ; > ovs-discuss@openvswitch.org > 抄送: liucheng (J) ; lixiao (H) > 主题: Question: why ovs flush all datapath flows when destroying br/ofproto? > > Hi all, > > In my test, there are many VM

[ovs-discuss] OVS on CoreOS?

2018-05-24 Thread Ben Pfaff
I'm talking to an acquaintance who wants to use OVS on CoreOS. Is anyone doing this at the moment? He's particularly concerned about making sure that OVS can be upgraded gracefully along with the rest of the system and that it is well integrated. Any thoughts? Thanks, Ben.

Re: [ovs-discuss] OVS 2.9.0: priority=0 actions=CONTROLLER flow counts but doesn't output packets to the controller

2018-05-17 Thread Ben Pfaff
rrow that down. > > I also tried setting miss length to various values and that made no > difference. > > > > On Sat, Apr 7, 2018 at 4:42 AM Ben Pfaff wrote: > > > On Tue, Mar 06, 2018 at 11:20:40AM -0800, Ben Pfaff wrote: > > > On Tue, Mar 06, 2018 at

Re: [ovs-discuss] flow_mod and packet_out

2018-05-15 Thread Ben Pfaff
On Tue, May 15, 2018 at 01:39:14PM -0400, Sh j wrote: > I have a question about packetOut and Flow_mod messages between the > controller and OVSs. > > In the SDN concept, do we need both packetOut and Flow_mod messages to be > sent to the switches? is it correct to only use Flow_mod (in case we n

Re: [ovs-discuss] Ryu library discussion in the comming OpenStack Summit

2018-05-15 Thread Ben Pfaff
On Tue, May 15, 2018 at 10:19:48AM +0900, IWAMOTO Toshihiro wrote: > OpenStack Neutron relies heavily on the ryu python library to > communicate with ovs. As future maintenance state of ryu is unclear > and would likely to be a volunteer based effort, the Neutron team will > discuss on sustainable

Re: [ovs-discuss] How to monitor OVS GRE Tunnels

2018-05-14 Thread Ben Pfaff
On Mon, May 14, 2018 at 03:15:37PM +0200, Klaus Darilion wrote: > Hi! > > I have such a setup: > > Host1 Host2 > ovs <---GRE Tunnel---> ovs > ^ ^ > | | > | | > 1G Ethernet1G Ethernet > |

Re: [ovs-discuss] Using --ovs with ovn-sbctl lflow-list

2018-05-11 Thread Ben Pfaff
t as soon as > sbctl sends OFPT_HELLO, server sends a FIN back. > > So far, we could not figure how we can enable openflow on ovsdv-server (if at > all it is possible). > > Appreciate your help. > > Regards, > Ankur > > > -Original Message- > From:

Re: [ovs-discuss] Geneve and IPv6

2018-05-10 Thread Ben Pfaff
On Thu, May 10, 2018 at 05:54:30PM -0700, Gregory Rose wrote: > On 5/1/2018 6:53 PM, Ben Pfaff wrote: > >Hi Greg. > > > >We've had multiple reports now that Geneve kernel-based tunnels do not > >work in Open vSwitch if IPv6 is not enabled. Do you have an idea >

Re: [ovs-discuss] Flow rule to punt packets to local host kernel/application

2018-05-10 Thread Ben Pfaff
On Thu, May 10, 2018 at 11:17:38AM -0700, Harish Patil wrote: > On Wed, May 9, 2018 at 1:21 PM, Harish Patil wrote: > > > > > > > On Wed, May 9, 2018 at 1:05 PM, Ben Pfaff wrote: > > > >> On Wed, May 09, 2018 at 11:42:19AM -0700, Harish Patil wrote:

Re: [ovs-discuss] Using --ovs with ovn-sbctl lflow-list

2018-05-10 Thread Ben Pfaff
> > Regards, > Ankur > > > -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Wednesday, May 9, 2018 8:31 AM > To: Ankur Sharma > Cc: ovs-discuss@openvswitch.org > Subject: Re: [ovs-discuss] Using --ovs with ovn-sbctl lflow-list > > On Tue,

Re: [ovs-discuss] libnuma missing FreeBSD 11.1

2018-05-09 Thread Ben Pfaff
On Wed, Apr 25, 2018 at 12:17:54PM -0400, fpostic--- via discuss wrote: > Hello, > > I'm trying to build Open vSwitch by following this guide : > > http://docs.openvswitch.org/en/latest/intro/install/dpdk/ > > uname -a gives : > > FreeBSD 11.1-RELEASE-p9 > > In the guide I skipped the part for

Re: [ovs-discuss] Github Services deprecation warning

2018-05-09 Thread Ben Pfaff
On Wed, May 09, 2018 at 05:21:29PM -0400, Mark Michelson wrote: > I noticed that e-mails sent to the ovs-git list since the beginning of May > have had the following: > > **NOTE:** This service been marked for deprecation: > https://developer.github.com/changes/2018-04-25-github-services-dep

Re: [ovs-discuss] OVN Database sizes - Auto compact feature

2018-05-09 Thread Ben Pfaff
> > > Ok, I've just sent a patch and if you're not convinced we can > > just do the 2x change. Thanks a lot! > > Daniel > > > > On Thu, Mar 8, 2018 at 10:19 PM, Ben Pfaff wrote: > > > >> I guess I wouldn't object. > >> >

Re: [ovs-discuss] Multiple dpdk-netdev datapath with OVS 2.9

2018-05-09 Thread Ben Pfaff
dd rules if more packets are going to the OF > classifier? > > -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Monday, May 7, 2018 9:36 PM > To: alp.ars...@xflowresearch.com > Cc: disc...@openvswitch.org > Subject: Re: [ovs-discuss] Multiple dpdk-netdev data

Re: [ovs-discuss] ovs-dpctl-top: KeyError: 'src'

2018-05-09 Thread Ben Pfaff
Paul, thanks for the report. Hi Zak. This might be a simple project to look over when you have a few minutes free. Thanks, Ben. On Sun, May 06, 2018 at 06:05:20PM +, Paul Greenberg wrote: > Hi All, > > Encountered the following bug with OVS/OVN 2.9.0: > > ```bash > # ovs-dpctl-top > Trac

Re: [ovs-discuss] openvswitch database save

2018-05-09 Thread Ben Pfaff
OVS can be set up so that it clears the OVS database at boot time, because sometimes this is appropriate. Maybe this is how your system is set up. You can see the history of the configuration database by running "ovsdb-tool -mm show-log" on it. This might reveal what is happening, too. ___

Re: [ovs-discuss] Flow rule to punt packets to local host kernel/application

2018-05-09 Thread Ben Pfaff
On Wed, May 09, 2018 at 11:42:19AM -0700, Harish Patil wrote: > Hi, > > We have an OVS bridge where in a physical interface and a TAP interface > (for VM connectivity) attached to OVS bridge. > Currently all packets are correctly sent to the VM based on dest ip addr. > > ovs-ofctl show br-fwd3 >

Re: [ovs-discuss] ovs-vswitch with dpdk and non dpdk bridge.

2018-05-09 Thread Ben Pfaff
On Wed, May 09, 2018 at 11:12:18AM -0700, Pradeep K.S wrote: > I have installed OVS DPDK, I created 2 bridges one with dpdk (datapath = > netdev) and other regular ovs bridge. > > I am able to create it , but is it supported scenario ? I mean can > ovs-vswitchd works with 2 different types of b

Re: [ovs-discuss] Using --ovs with ovn-sbctl lflow-list

2018-05-09 Thread Ben Pfaff
On Tue, May 08, 2018 at 11:44:44PM +, Ankur Sharma wrote: > Hi, > > We are trying to use "--ovs" option with ovn-sbctl lflow-list command > (https://github.com/openvswitch/ovs/commit/c2f4c39be4e288e7a08974aea53b18627a1ef9ef) > Running it on remote controller always fails with connection refu

Re: [ovs-discuss] [openvswitch 2.9.0] testsuite: 787 1011 failed

2018-05-08 Thread Ben Pfaff
On Mon, May 07, 2018 at 03:46:11PM +0200, Natanael Copa wrote: > I have attached tests/testsuite.log > > > musl libc (x86_64) > Version 1.1.19 > Dynamic Program Loader > Usage: /lib/ld-musl-x86_64.so.1 [options] [--] pathname [args] > ## - ## > ## openvswitch 2.9.0 tes

Re: [ovs-discuss] Fwd: Fast Failover Group is not working

2018-05-08 Thread Ben Pfaff
I have modified > it such that all possible paths from one source to a destination are stored > as a bucket. > > I have assigned the action output port also as the watch_port. > > > > > On Tue, May 8, 2018 at 5:46 PM, Ben Pfaff wrote: > > > On Mon, May 07, 20

Re: [ovs-discuss] Fwd: Fast Failover Group is not working

2018-05-08 Thread Ben Pfaff
On Mon, May 07, 2018 at 02:30:26PM -0700, dikiciber...@gmail.com wrote: > I have a problem with the fast failover group. For further details please > see ONOS-Discuss > (https://groups.google.com/a/onosproject.org/forum/#!msg/onos-discuss/hkKABMjByAY/-vCWwNYdAgAJ) > On Tuesday, May 1, 2018 at 9:4

Re: [ovs-discuss] openvswitch handling of Validation port of hyperv

2018-05-08 Thread Ben Pfaff
On Tue, May 08, 2018 at 01:49:47PM +, Vamsimohan Kommana -X (vakomman - WIPRO LIMITED at Cisco) wrote: > Is it expected to discard validation port handling? I am seeing > a build up of validation ports over a long period of time. > > Can somebody give understandin

Re: [ovs-discuss] RSTP Path Costs can not be retrieved

2018-05-08 Thread Ben Pfaff
On Tue, May 08, 2018 at 09:51:14AM +, Klaus Darilion wrote: > Hi! > > I consider this as bug as it it makes spanning tree debugging quite > complicated. > > Problem: It is not possible to retrieve the current path costs (default value > or manually configured) of a Port. > > There is infor

Re: [ovs-discuss] Multiple dpdk-netdev datapath with OVS 2.9

2018-05-07 Thread Ben Pfaff
inside the OVS-DPDK. > > One thing that I would like to ask is, is there a way to persist the OVS > flows? > > Can OVN help me do that? I don't have any virtual networks, just in > > and out ports. > > > > -Original Message- > > Fro

Re: [ovs-discuss] Multiple dpdk-netdev datapath with OVS 2.9

2018-05-07 Thread Ben Pfaff
ter understand what's happening inside the OVS-DPDK. One > thing that I would like to ask is, is there a way to persist the OVS flows? > Can OVN help me do that? I don't have any virtual networks, just in and out > ports. > > -Original Message- > From: Ben Pfaff [mai

Re: [ovs-discuss] Multiple dpdk-netdev datapath with OVS 2.9

2018-05-03 Thread Ben Pfaff
of them. And when I create them I cannot use them. I am > stuck in a loop :) . > > -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Thursday, May 3, 2018 4:41 PM > To: alp.ars...@xflowresearch.com > Cc: disc...@openvswitch.org > Subject: Re: [

Re: [ovs-discuss] Multiple dpdk-netdev datapath with OVS 2.9

2018-05-03 Thread Ben Pfaff
On Wed, May 02, 2018 at 10:02:04PM +0500, alp.ars...@xflowresearch.com wrote: > I am trying to create multiple dpdk-netdev based data paths with OVS 2.9 and > DPDK 16.11 running on CentOS 7.4. I am able to create multiple data paths > using "ovs-appctl dpctl/add-dp netdev@netdev1" and I can see a n

Re: [ovs-discuss] ovs-vswitchd 2.7.3 crash

2018-05-01 Thread Ben Pfaff
On Tue, May 01, 2018 at 03:41:56PM -0400, Nicolas Bouliane via discuss wrote: > Hi, > > We experienced a crash and we generated the backtrace from the core dump > with that command: gdb -se "ovs-vswitchd" -ex "bt full" -ex "thread apply > all bt" --batch -c /core > /tmp/backtrace.txt > > The file

[ovs-discuss] Geneve and IPv6 (was: Re: could not add network device ovn-xxxxxx-0 to ofproto (Address family not supported by protocol))

2018-05-01 Thread Ben Pfaff
Hi Greg. We've had multiple reports now that Geneve kernel-based tunnels do not work in Open vSwitch if IPv6 is not enabled. Do you have an idea whether we should consider this a bug in OVS or a bug in the documentation? That is, should we plan to fix it (when we can) or should we plan to docume

Re: [ovs-discuss] OVS as a destination

2018-05-01 Thread Ben Pfaff
On Tue, May 01, 2018 at 01:25:40PM -0700, Justin Pettit wrote: > > > On May 1, 2018, at 11:21 AM, Sh j wrote: > > > > If the destination of a packet be an OVS, is there any way to set the OVS > > to get the packet without sending any packet_in messages to the controller > > for handling this p

Re: [ovs-discuss] interface mac setting

2018-04-30 Thread Ben Pfaff
On Tue, Apr 24, 2018 at 10:55:36AM +0800, Tonghao Zhang wrote: > One question, why now ovs can only set the mac of internal interface, > for example: > > ovs-vsctl set Interface p1 type=internal mac=\"00:11:22:33:44:55\" > ovs-vsctl get Interface p1 mac_in_use > > And the doc about 'mac' is not e

Re: [ovs-discuss] Query regarding packet_in reason sent from OvS for “Table-miss” rule.

2018-04-30 Thread Ben Pfaff
On Tue, Apr 24, 2018 at 04:48:19AM +, Rohith Basavaraja wrote: > Hi, > > Currently in OvS if we hit "Table-miss" rules (associated with Controller > action) then we send > PACKET_IN message to controller with reason as OFPR_NO_MATCH. > > “Table-miss” rule is one whose priority is 0 and its c

Re: [ovs-discuss] Set register from Group bucket action

2018-04-30 Thread Ben Pfaff
It's because group buckets are applied to a copy of the current flow state, not to the active flow state. You can get the effect you want by putting the resubmit into the group bucket itself. On Sun, Apr 29, 2018 at 06:40:06PM -0700, Manoj Sharma wrote: > Is it possible to load a register from gr

Re: [ovs-discuss] Can I add a manual bonded interface as a ovs port ?

2018-04-28 Thread Ben Pfaff
On Fri, Apr 27, 2018 at 11:44:46AM +0800, netsurfed wrote: > There is a "balance-alb" bond0 in my linux host, like this: > > > Can I add this as a port to ovs bridge? like this: > ovs-vsctl add-br ovsbr0 > ovs-vsctl add-port ovsbr0 bond0 > > > I know ovs can create bond using "ovs-vsctl add-bon

Re: [ovs-discuss] OVS VXLAN local_ip does not seem to function - Bug

2018-04-28 Thread Ben Pfaff
Greg, if you have a moment, would you mind taking a look at this sometime? I am curious why there would be a difference between GRE and VXLAN here. Marcus, 2.5.2 is pretty old, even within the 2.5.x branch. I don't, however, see a commit that obviously would fix it within that branch. Still, if

Re: [ovs-discuss] execute failed (Numerical result out of range) when trying to flood

2018-04-28 Thread Ben Pfaff
<#secure method=pgpmime mode=encrypt> On Sat, Apr 28, 2018 at 07:27:33AM +, Lifan Su wrote: > Hello, > > I am attempting to make an example using RYU and Openvswitch following > http://ryu.readthedocs.io/en/latest/writing_ryu_app.html > In this example, all packets are flooded to all other p

Re: [ovs-discuss] "could not add network device ethX to ofproto (File exists)"

2018-04-25 Thread Ben Pfaff
On Fri, Apr 20, 2018 at 04:35:27PM +0200, Riccardo Ravaioli wrote: > Hi all, > > I bumped into a configuration error while trying to add a physical network > interface to a switch: > $ ovs-vsctl add-br myswitch > $ ovs-vsctl add-port myswitch eth9 > ovs-vsctl: Error detected while setting up 'eth9

Re: [ovs-discuss] Questions about modified ofproto.c

2018-04-25 Thread Ben Pfaff
Please don't drop the mailing list. On Thu, Apr 26, 2018 at 12:12:58AM +0800, 林志仁 wrote: > 2018-04-26 0:02 GMT+08:00 Ben Pfaff : > > > On Mon, Apr 23, 2018 at 10:56:19PM +0800, 林志仁 wrote: > > > I modified ofproto.c "handle_flow_stats_request" function

Re: [ovs-discuss] Questions about modified ofproto.c

2018-04-25 Thread Ben Pfaff
On Mon, Apr 23, 2018 at 10:56:19PM +0800, 林志仁 wrote: > I modified ofproto.c "handle_flow_stats_request" function. I added a > while loop to check the flow table every 2 seconds. > > I want to ask "handle_openflow_" can handle other request, like packet - > in? If you make handle_flow_stats

Re: [ovs-discuss] OVN vm on vlan network using geneve tunnel for external traffic

2018-04-16 Thread Ben Pfaff
On Fri, Apr 13, 2018 at 09:22:44PM -0400, Russell Bryant wrote: > On Fri, Apr 13, 2018 at 9:01 PM, Russell Bryant wrote: > > On Fri, Apr 13, 2018 at 5:27 PM, Ben Pfaff wrote: > >> On Wed, Apr 11, 2018 at 07:44:25PM +0530, Anil Venkata wrote: > >>> vm created on

Re: [ovs-discuss] Questions about creating new controller request and switching reply

2018-04-16 Thread Ben Pfaff
ot; ofproto set threads()" means that ovs can handle multiple > requests at the same time? > > > > 2018-04-17 2:16 GMT+08:00 Ben Pfaff : > > > On Tue, Apr 17, 2018 at 01:53:15AM +0800, 林志仁 wrote: > > > I want to create a request. When the switch receives this re

Re: [ovs-discuss] OVS sends ARP request to the controller also broadcasts ARP request

2018-04-16 Thread Ben Pfaff
emulator to emulate this network. So I think I should check > the Linux Kernel. Could you let me know if you have any suggestion about > the configuration? > > Thank you > > On Tue, Apr 10, 2018 at 6:27 PM, Ben Pfaff wrote: > > > I think there's some confusion her

Re: [ovs-discuss] Questions about creating new controller request and switching reply

2018-04-16 Thread Ben Pfaff
On Tue, Apr 17, 2018 at 01:53:15AM +0800, 林志仁 wrote: > I want to create a request. When the switch receives this request, it will > continuously monitor the flow table until the flow table has an exception. > For example, one flow has a large number of packets count in few seconds, > then switch wi

Re: [ovs-discuss] Questions about creating new controller request and switching reply

2018-04-16 Thread Ben Pfaff
On Sun, Apr 15, 2018 at 08:35:23PM +0800, 林志仁 wrote: > I want to create a request. When the switch receives this request, it will > continuously monitor the flow table until it has the behavior I set, What kind of behavior do you mean? > and it will send a reply to the controller. > > Would lik

Re: [ovs-discuss] OVN vm on vlan network using geneve tunnel for external traffic

2018-04-13 Thread Ben Pfaff
On Wed, Apr 11, 2018 at 07:44:25PM +0530, Anil Venkata wrote: > vm created on a vlan tenant network is using geneve tunnel(between compute > and gateway nodes) to reach external network. Because of this, we need to > consider tunnelling overhead while assigning MTU for vlan network. Can we > improv

[ovs-discuss] OVN meetup at VMware, May 15

2018-04-13 Thread Ben Pfaff
In the OVN meeting this week, we discussed doing an in-person meetup of OVN developers and other interested people on May 15. I volunteered to host at VMware. I suggest 2pm to 4pm. If you're interested in attending, please reply to me or to the thread. If people want to attend remotely, we can c

Re: [ovs-discuss] [openvswitch 2.9.90] Unable to use literal in nested output of learn action

2018-04-11 Thread Ben Pfaff
On Wed, Apr 11, 2018 at 08:14:07PM -0400, Flavio Fernandes wrote: > > > > On Apr 7, 2018, at 1:53 PM, Ben Pfaff wrote: > > > > On Fri, Apr 06, 2018 at 04:18:31PM -0400, Flavio Fernandes wrote: > >> Dear OVS Gurus: > >> > >> I came across some

Re: [ovs-discuss] ovs-vswitchd high CPU when there is no load

2018-04-10 Thread Ben Pfaff
: > cookie=0xb5b43b868c9fcb5f, duration=671.350s, table=0, n_packets=4, > n_bytes=198, idle_age=800, priority=4,in_port=2,dl_vlan=3 > actions=strip_vlan,NORMAL > cookie=0xb5b43b868c9fcb5f, duration=678.397s, table=0, n_packets=977, > n_bytes=41160, idle_age=2, priority=2,in_port=2 actions=drop >

Re: [ovs-discuss] [openvswitch 2.9.0] run subsets of tests (to stop Travis timeouts)

2018-04-10 Thread Ben Pfaff
On Sun, Apr 08, 2018 at 12:56:40PM +0100, Stuart Cardall wrote: > Hello, > > Travis has a global timeout of 50 minutes per job & ovs takes just over > 5 minutes to build + 52 minutes for unit tests: > > https://github.com/alpinelinux/aports/pull/3928 > > Is there a way to run the tests in sectio

Re: [ovs-discuss] OVS sends ARP request to the controller also broadcasts ARP request

2018-04-10 Thread Ben Pfaff
ommand line? > > > > -Original Message- > From: ovs-discuss-boun...@openvswitch.org > On Behalf Of Ben Pfaff > Sent: Tuesday, April 10, 2018 18:28 > To: Sh j > Cc: ovs-discuss@openvswitch.org > Subject: Re: [ovs-discuss] OVS sends ARP request to the control

Re: [ovs-discuss] OVS sends ARP request to the controller also broadcasts ARP request

2018-04-10 Thread Ben Pfaff
o the controller in the first place, after > that based on the packet_out, node1 is supposed to send the ARP request for > the next hop. I do not know why OVS sends this ARP requests. > > In this case, which part of the network needs to change? should I change > the configuration of

Re: [ovs-discuss] OVS sends ARP request to the controller also broadcasts ARP request

2018-04-10 Thread Ben Pfaff
On Mon, Apr 09, 2018 at 01:09:37PM -0400, Sh j wrote: > Hello, > > I have the following topology: > > host1 openvswitch1 openvswitch2host2 > > and both openvswitches are connected to the ONOS controller. > > The problem is that when host1 ping host2, openvswitch1 sends the ARP > req

Re: [ovs-discuss] Reg IPv6 Neighbor Advertisement Message fields

2018-04-08 Thread Ben Pfaff
On Sun, Apr 08, 2018 at 04:34:16PM +, Vishal Deep Ajmera wrote: > Hi, > > We are trying to setup Neighbor Solicitation Responder using OpenFlow > pipeline in OVS however it seems some of the fields in Neighbor Advertisement > Message Format cannot be set using OpenFlow set actions. Following

Re: [ovs-discuss] [openvswitch 2.9.90] Unable to use literal in nested output of learn action

2018-04-07 Thread Ben Pfaff
On Fri, Apr 06, 2018 at 04:18:31PM -0400, Flavio Fernandes wrote: > Dear OVS Gurus: > > I came across something simple and silly, which is making me think it is > actually a bug. > > In a nutshell, I'm trying to use a literal with the action output nested in a > learn(). > If I use a fancier (a

Re: [ovs-discuss] [openvswitch 2.9.90] Unable to use literal in nested output of learn action

2018-04-06 Thread Ben Pfaff
The binary encoding of the "learn" action just doesn't support an "output to immediate" action, so some kind of different approach is needed. On Fri, Apr 06, 2018 at 05:57:14PM -0400, Flavio Fernandes wrote: > > Heh, after sending that msg, I did a little digging in the code [1] and doc > and it

Re: [ovs-discuss] OVS 2.9.0: priority=0 actions=CONTROLLER flow counts but doesn't output packets to the controller

2018-04-06 Thread Ben Pfaff
On Tue, Mar 06, 2018 at 11:20:40AM -0800, Ben Pfaff wrote: > On Tue, Mar 06, 2018 at 06:54:30AM +, Josh Bailey via discuss wrote: > > Hoping I'm missing something obvious! > > > > I have a flow like this: > > > > $ grep CONTROLLER sab-dump-flows.log &g

Re: [ovs-discuss] Is there an option to disable metadata propagation on patch ports?

2018-04-06 Thread Ben Pfaff
Yes. On Fri, Apr 06, 2018 at 12:49:21PM +0200, Alan Kayahan wrote: > Thanks Ben. So then the flow struct, along with its members excluding > metadata, tunnel and regs propagate, correct? > > > 2018-04-05 21:30 GMT+02:00 Ben Pfaff : > > > compose_output_action__(),

Re: [ovs-discuss] Is there an option to disable metadata propagation on patch ports?

2018-04-05 Thread Ben Pfaff
flow->regs, 0, sizeof flow->regs); On Thu, Apr 05, 2018 at 08:52:31PM +0200, Alan Kayahan wrote: > Thatis my question and theory :) How can I see that? Can you point me > to the code where such decision is taken? > > 2018-04-05 20:39 GMT+02:00 Ben Pfaff : > > > What

Re: [ovs-discuss] Is there an option to disable metadata propagation on patch ports?

2018-04-05 Thread Ben Pfaff
mits the data-plane action. Eliminates > TLVs iteration per packet at the dataplane. > > But just to save the day, do you have a trick to stop this propagation? Or > do you think the problem might be something else? > > Thanks! > > 2018-04-05 19:41 GMT+02:00 Ben Pfaff : > &g

Re: [ovs-discuss] Is there an option to disable metadata propagation on patch ports?

2018-04-05 Thread Ben Pfaff
On Thu, Apr 05, 2018 at 07:31:35PM +0200, Alan Kayahan wrote: > OVS patch ports allow the propagation of the metadata (e.g. flow context) > across the connected switches. > > Is there an option to disable the metadata propagation feature? I need this > for my research to benchmark certain behavior

Re: [ovs-discuss] raft ovsdb clustering

2018-04-04 Thread Ben Pfaff
Oh, I see, from reading further in the thread, that this was indeed a misunderstanding. Well, in any case that new option to ovs-sandbox can be useful. On Wed, Apr 04, 2018 at 04:00:20PM -0700, Ben Pfaff wrote: > I would like to support cluster-wide locks. They require extra work and >

Re: [ovs-discuss] raft ovsdb clustering

2018-04-04 Thread Ben Pfaff
I would like to support cluster-wide locks. They require extra work and they require new OVSDB JSON-RPC protocol design (because locks are currently per-server, not per-database). I do not currently have a schedule for designing and implementing them. However, I am surprised that this is an issu

Re: [ovs-discuss] Write to arbitrary packet location in OVS

2018-04-04 Thread Ben Pfaff
On Wed, Apr 04, 2018 at 06:51:05AM +, Vishal Deep Ajmera wrote: > Is there a way in OVS today, wherein we can set OpenFlow pipeline > actions to write (copy) from a register to arbitrary location in the > packet. The start offset for read (from register) & write (to packet) > along with size of

Re: [ovs-discuss] ovs-vswitchd high CPU when there is no load

2018-04-04 Thread Ben Pfaff
On Wed, Apr 04, 2018 at 06:19:32PM +0300, michael me wrote: > The setup i am working with is ovs-dpdk and i have a the PMD mask on core > 1, but i see that the service of ovs-vswitchd is almost at 100% both on > core zero and one. > in the setup i have an openstack VM running and it is pinned to co

Re: [ovs-discuss] ovs open issues

2018-04-04 Thread Ben Pfaff
On Wed, Apr 04, 2018 at 07:40:56PM +0530, Rajasekhar Pulluru wrote: > Hi, > I would like to contribute to ovs. Is there a bug-tracker to see the > current list of open issues in ovs? > As per this page http://docs.openvswitch.org/en/latest/internals/bugs/ > bugs can be reported by sending email to

Re: [ovs-discuss] [openvswitch 2.9.0] testsuite: 787 1011 1932 1933 1934 1935 1936 1937 1941 1943 failed

2018-04-02 Thread Ben Pfaff
On Sun, Apr 01, 2018 at 11:17:55PM +0100, Stuart Cardall wrote: > The majority of the failures were due to Busybox's diff. With the patch > & _without_ diffutils: Thanks for testing. I sent a patch that skips those tests if "normal" diff is unavailable: https://patchwork.ozlabs.org/patch/

Re: [ovs-discuss] [openvswitch 2.9.0] testsuite: 787 1011 1932 1933 1934 1935 1936 1937 1941 1943 failed

2018-04-01 Thread Ben Pfaff
On Sun, Mar 25, 2018 at 10:30:44PM +0100, Stuart Cardall wrote: > Test results for 2.9.0 under Alpine Linux (fails mainly from the > ovsdb-server replication sections). > > Anything I can do to help test - please let me know. Thanks for the report. The failure of test 787 is hard to explain. I

Re: [ovs-discuss] Controller to Switch distance (milli-second) limits

2018-04-01 Thread Ben Pfaff
On Sun, Apr 01, 2018 at 08:45:05AM -0400, ravimalhot . wrote: > I am working on a topology where the Controller is separated from its OVS > instances by over 30 milliseconds. I imagine that the performance of the > Controller will begin to degrade as its distance to OVS instances increases > since

Re: [ovs-discuss] [openvswitch 2.9.0] testsuite: 2419 failed

2018-03-31 Thread Ben Pfaff
On Fri, Mar 16, 2018 at 03:13:35PM +0100, Timothy Redaelli wrote: > Hi, > I found that this test (ptap - recirculate after packet_type change) > fails (both on 2.9.0 and master), on Linux, if you have a tun device on > your system (in my case it was an OpenVPN VPN). > > Simple way to replicate it:

Re: [ovs-discuss] ovs-git list

2018-03-31 Thread Ben Pfaff
On Mon, Mar 26, 2018 at 05:06:52PM -0500, Mark Michelson wrote: > I'm subscribed to the ovs-git list but have not received any new messages on > that list since 24 March (commit f70b61d3 log: Add async commit support.). > The archives appear to stop there as well. Is there an issue with the list?

Re: [ovs-discuss] Hash function

2018-03-31 Thread Ben Pfaff
On Tue, Mar 27, 2018 at 12:02:00AM +0200, Slavica Tomovic wrote: > Hi, > > I have a problem when trying to do equal load balancing with OVS switches. > For example, in one scenario I had three buckets with equal weights (10). I > generated 9 flows that differ in terms of destination IP address (to

Re: [ovs-discuss] queue length of switch's output port

2018-03-31 Thread Ben Pfaff
On Thu, Mar 22, 2018 at 11:08:17AM +0100, Maiass Zaher wrote: > is there a way to check the length of switches' port queue, and if there > isn't an obvious way for that, could you please provide any guidance about > how can a one propose new functions into source code ovs switch. I don't know of a

Re: [ovs-discuss] SELECT groups - hash

2018-03-24 Thread Ben Pfaff
umentation, I found this: > > fields(field[=mask]...) > > Does this mean that I should specify the fields like this: > fields(nw_src nw_dst udp..)? > > > Thanks in advance, > Slavica > > 2018-03-24 19:10 GMT+01:00 Ben Pfaff : > > > On Sat, Mar 24, 2018

Re: [ovs-discuss] SELECT groups - hash

2018-03-24 Thread Ben Pfaff
od-group command takes at most two > > arguments. > > I am using OVS 2.5.2. > > > > Also, how should I specify the fields? In the documentation, I found > > this: > > > > fields(field[=mask]...) > > > > Does this mean that I should specify the field

Re: [ovs-discuss] SELECT groups - hash

2018-03-24 Thread Ben Pfaff
On Sat, Mar 24, 2018 at 06:45:50PM +0100, Slavica Tomovic wrote: > Hi, > > I am using SELECT Group tables for load balancing purposes in OpenFlow > network. However, I found that OVS by default performs hashing only on IP > addresses, MAC addresses, VLAN IDs, TCP ports and EthType fields. Is it >

Re: [ovs-discuss] (no subject)

2018-03-22 Thread Ben Pfaff
On Thu, Mar 22, 2018 at 12:51:44PM +0530, Roja Guru wrote: > hellowhat is the OVS maximum number of flow entries Flow entries are limited only by the available memory. ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mail

Re: [ovs-discuss] ovs-ofctl memory consumption is large compared to flow bundle size [formatting correction]

2018-03-20 Thread Ben Pfaff
On Mon, Mar 19, 2018 at 10:04:00PM -0700, Ben Pfaff wrote: > On Mon, Mar 12, 2018 at 03:47:16PM -0400, Michael Ben-Ami via discuss wrote: > > We found that when we add a flow bundle of about 25MB of textual flows, > > ovs-ofctl ballooned in resident memory to around 563MB.

Re: [ovs-discuss] Turn bridge into a HUB

2018-03-20 Thread Ben Pfaff
preserve them? Or should I set a "native > vlan" for both in and out ports? > > There is no "regular vlan" on this bridge. It is for flooding only. > > Em seg, 19 de mar de 2018 às 17:31, Ben Pfaff escreveu: > > > On Mon, Mar 19, 2018 at 07:5

Re: [ovs-discuss] ovs-ofctl memory consumption is large compared to flow bundle size [formatting correction]

2018-03-19 Thread Ben Pfaff
On Mon, Mar 12, 2018 at 03:47:16PM -0400, Michael Ben-Ami via discuss wrote: > We found that when we add a flow bundle of about 25MB of textual flows, > ovs-ofctl ballooned in resident memory to around 563MB. Similarly for a > bundle about half the size at 12.4MB, ovs-ofctl hit 285MB. I have a bra

Re: [ovs-discuss] Turn bridge into a HUB

2018-03-19 Thread Ben Pfaff
On Mon, Mar 19, 2018 at 07:58:40PM +, Luiz Angelo Daros de Luca wrote: > Hello, > > I have a physical port receives traffic from mirrored ports in a physical > (core) switch. I would like to pass these packets to multiple VMs (xen), > replicating vlan tags when existing. > > With linux bridge

Re: [ovs-discuss] Controller recognizes bridges as hosts!!!

2018-03-19 Thread Ben Pfaff
unning OVS2). > I want to have the second the scenario. Could you help me with > this configuration? > > Thank you > > > > > On Sun, Mar 18, 2018 at 8:31 PM, Ben Pfaff wrote: > > > On Sat, Mar 17, 2018 at 08:11:48PM -0400, Sh j wrote: > > > Hell

Re: [ovs-discuss] Controller recognizes bridges as hosts!!!

2018-03-18 Thread Ben Pfaff
On Sat, Mar 17, 2018 at 08:11:48PM -0400, Sh j wrote: > Hello everyone, > > I configured two OVSs as follows, > > OVS1(eth0) --- (eth0)OVS2 > > ovs-vsctl add-br brx > ovs-vsctl add-port brx ethx > ip addr flush dev ethx > ip addr add 10.0.0.x/16 dev brx > ip link set brx up > > Then I set t

Re: [ovs-discuss] ping loss of first packet with OVN l3 logical router.

2018-03-17 Thread Ben Pfaff
The issue is just the lack of packet buffering. To fix it, we need to implement packet buffering somehow. On Sat, Mar 17, 2018 at 08:15:17AM +0800, Guoshuai Li wrote: > What about add an incomplete(only ip, no mac) Mac_binding when configuring > the route's nexthop? > > Similar to the linux syst

Re: [ovs-discuss] Issue with setting ovs in a vm

2018-03-16 Thread Ben Pfaff
For what it's worth, "local" and "random" usually mean the same thing. On Thu, Mar 15, 2018 at 12:34:33PM +0530, Neelakantam Gaddam wrote: > Hi Ashish, > > > The bridge mac address is not picked-up from its ports if the port mac > address is multicast, reserved, local or zero. > Please check the

Re: [ovs-discuss] ping loss of first packet with OVN l3 logical router.

2018-03-16 Thread Ben Pfaff
It's currently part of the design but it's not great for users, so it'd be nice to fix it someday and I'd be pleased to hear proposals if anyone wants to work on this. On Fri, Mar 16, 2018 at 04:39:35PM +0530, Numan Siddique wrote: > Hi Jai, > > This is by design. For any IP packet which goes thr

Re: [ovs-discuss] some question about ovs-ofctl

2018-03-16 Thread Ben Pfaff
On Fri, Mar 16, 2018 at 05:14:28PM +0800,车东洋。 wrote: > hi,bro.when i use 'ovs-ofctl' to add a few of flows into my ovs flow table > from a file.A question has happened: > 1.i use th vi to create a file ovs-flows-add,just like this: > add "in_port=1,actions=output:2" > add "in_port=3,action

Re: [ovs-discuss] Discrepancy between ofproto/trace output and dpctl dump-flows output

2018-03-14 Thread Ben Pfaff
I finally fixed this upstream in Git, and the fix will be in the next releases on the 2.8 and 2.9 branches. On Thu, Dec 07, 2017 at 06:06:22AM +, Amar Padmanabhan wrote: > Yup thanks we are unblocked! > - Amar > > On 12/6/17, 12:36 PM, "Ben Pfaff" wrote: > >

Re: [ovs-discuss] ovn-controller periodically reporting status

2018-03-14 Thread Ben Pfaff
On Tue, Mar 13, 2018 at 05:46:41PM +0530, Anil Venkata wrote: > In Openstack neutron reference implementation, all agents will be > periodically reporting their status to neutron server. Similarly in > Openstack OVN based deployment, we want ovn-controller to periodically > report its status to neu

Re: [ovs-discuss] ovs route refresh problem

2018-03-09 Thread Ben Pfaff
On Thu, Mar 01, 2018 at 10:21:38AM -0800, Ben Pfaff wrote: > On Fri, Feb 23, 2018 at 03:30:59AM +, Yinpeijun wrote: > > > > >>On Sun, Feb 11, 2018 at 07:27:34AM +, Yinpeijun wrote: > > >> Hi all > > >> Recently , I run a test tw

Re: [ovs-discuss] OVN load balancing on same subnet failing

2018-03-09 Thread Ben Pfaff
On Fri, Mar 02, 2018 at 09:40:07AM -0800, Guru Shetty wrote: > On 1 March 2018 at 21:09, Anil Venkata wrote: > > > > > > > On Fri, Mar 2, 2018 at 7:23 AM, Guru Shetty wrote: > > > >> > >> > >> On 27 February 2018 at 03:13, Anil Venkata > >> wrote: > >> > >>> For example, I have a 10.1.0.0/24 ne

Re: [ovs-discuss] Including bfd status for tunnel endpoints on ovs-vsctl show

2018-03-09 Thread Ben Pfaff
options: > {peer="patch-provnet-b47ffac1-1704-4e97-85ef-f4fb478e18c4-to-br-int"} > Port "ovn-9f2335-0" > Interface "ovn-9f2335-0" > type: geneve > options: {csum="true", key=flow, remote_ip=&qu

<    3   4   5   6   7   8   9   10   11   12   >