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

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

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

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] 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 <b...@ovn.org>: > > > On Mon, Apr 23, 2018 at 10:56:19PM +0800, 林志仁 wrote: > > > I modified ofproto.c "handle_flow_sta

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 <russ...@ovn.org> wrote: > > On Fri, Apr 13, 2018 at 5:27 PM, Ben Pfaff <b...@ovn.org> wrote: > >> On Wed, Apr 11, 2018 at 07:44:25PM +0530, Anil V

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

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

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 <b...@ovn.org> wrote: > > > I think there's

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

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

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 >

[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

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 <b...@ovn.org> wrote: > > > > On Fri, Apr 06, 2018 at 04:18:31PM -0400, Flavio Fernandes wrote: > >> Dear OVS Gurus: > >> >

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

2018-04-10 Thread Ben Pfaff
okie=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

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

2018-04-10 Thread Ben Pfaff
d line? > > > > -Original Message- > From: ovs-discuss-boun...@openvswitch.org > <ovs-discuss-boun...@openvswitch.org> On Behalf Of Ben Pfaff > Sent: Tuesday, April 10, 2018 18:28 > To: Sh j <segu...@gmail.com> > Cc: ovs-discuss@openvswitch.org >

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

2018-04-10 Thread Ben Pfaff
oller 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 OVS and how

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 >

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.

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

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

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 <b...@ovn.org>: > > > compose

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

2018-04-05 Thread Ben Pfaff
egs, 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 <b...@ovn.org>: > >

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

2018-04-05 Thread Ben Pfaff
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 <b...@o

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

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 w

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

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

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

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:

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 >

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

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

Re: [ovs-discuss] SELECT groups - hash

2018-03-24 Thread Ben Pfaff
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 <b...@ovn.org>: > > > >> On Sat, Mar 24, 2018 at 06:45:50PM +0100, Sl

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

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

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 <b...@ovn.org> wrote: > > > On Sat, Mar 17, 2018 at 08:11:48PM -0400, Sh j

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

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

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

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" <b...@ov

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

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

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

2018-03-09 Thread Ben Pfaff
ons: > {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="

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

2018-03-08 Thread Ben Pfaff
transactions is > 0 > regardless of the size? > > On Thu, Mar 8, 2018 at 10:00 PM, Ben Pfaff <b...@ovn.org> wrote: > > > It would be trivial to change 4x to 2x. 4x was just the suggestion in > > the Raft thesis. If 2x would make everyone a little

Re: [ovs-discuss] The discrepancy in the Monitor request composition.

2018-03-08 Thread Ben Pfaff
No. A JSON object can have any number of members. On Thu, Mar 08, 2018 at 11:06:21AM -0800, Anil Jangam wrote: > Thanks Ben for clarification. So it means one Monitor request can request > for only one Table monitoring, correct? > > On Thu, Mar 8, 2018 at 10:36 AM, Ben Pfaff &

Re: [ovs-discuss] The discrepancy in the Monitor request composition.

2018-03-08 Thread Ben Pfaff
or" > > o "params": [, , *] > > o "id": > > > For completeness, I am also specifying the syntax for . > > monitor-requests : [, *] > > > Let me know if this would be correct or if you think otherwise. > > /anil.

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

2018-03-08 Thread Ben Pfaff
On Thu, Mar 08, 2018 at 04:43:50PM +, Miguel Angel Ajo Pelayo wrote: > Ok, looking at the code, it seems like we may only need to do this? > > diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c > index 21fa18d..2ac60bf 100644 > --- a/utilities/ovs-vsctl.c > +++ b/utilities/ovs-vsctl.c

Re: [ovs-discuss] [ovs-dev] Passive openflow proxy

2018-03-08 Thread Ben Pfaff
On Thu, Mar 08, 2018 at 07:51:23PM +0800, Xiao Liang wrote: > In my experience, one thing I feel inconvenient is that some switches > don't support controller-initiated connections. It would be helpful > for testing and debugging if ovs-ofctl could be used. > I'd propose an openflow proxy which is

Re: [ovs-discuss] The discrepancy in the Monitor request composition.

2018-03-07 Thread Ben Pfaff
urther action item on me? > > /anil. > > > On Wed, Mar 7, 2018 at 10:27 AM, Ben Pfaff <b...@ovn.org> wrote: > > > Ah, OK, you're saying that there's a missing [] around the > > . This goes back to a change that we made to the > > ovsdb-server protocol a lon

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

2018-03-07 Thread Ben Pfaff
too. > > > > I have just sent a patch to fix the timing issue we can see in the traces I > > posted. I applied it and it works, I believe it's good to fix as it gives > > us > > an idea of how frequent the compact is, and also to backport if you > > agree wit

Re: [ovs-discuss] Problem on OpenVSwitch 2.9

2018-03-07 Thread Ben Pfaff
On Wed, Mar 07, 2018 at 11:47:48AM +0100, woz woz wrote: > Dear support, > I’m testing OpenVSwitch version 2.9. on my infrastructure using CentOS7, > but I’m having any problem, below my config: > I have 4 servers with the public IP address, e.g. > A-> 1.1.1.1 > B-> 2.2.2.2 > C-> 3.3.3.3 > D->

Re: [ovs-discuss] openvswitch userspace mode can not use iperf send packet,whatever tcp and udp

2018-03-07 Thread Ben Pfaff
On Tue, Mar 06, 2018 at 09:22:48AM +0800, ♂漢唐峻傑♀ wrote: > ovs userspace mode how to install in centos7, datapath-type=netdev , > What does “netdev” stand for? "network device" > as well as with the meter table relation I don't understand this question.

Re: [ovs-discuss] tap ports...

2018-03-07 Thread Ben Pfaff
On Mon, Mar 05, 2018 at 10:31:30PM -0700, Grant Taylor via discuss wrote: > Can OVS create tap ports like OpenVPN or KVM (Qemu) or User Mode Linux use? > I.e. an Ethernet interface inside OVS and a socket that applications can > glom onto and use. > > I think I can create the tap interfaces

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

2018-03-07 Thread Ben Pfaff
e test finishes. > Daniel > > On Wed, Mar 7, 2018 at 7:03 PM, Ben Pfaff <b...@ovn.org> wrote: > > > On Wed, Mar 07, 2018 at 05:53:15PM +0100, Daniel Alvarez Sanchez wrote: > > > Repeated the test with 1000 ports this time. See attached image. > > >

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

2018-03-07 Thread Ben Pfaff
On Wed, Mar 07, 2018 at 05:53:15PM +0100, Daniel Alvarez Sanchez wrote: > Repeated the test with 1000 ports this time. See attached image. > For some reason, the sizes grow while deleting the ports (the > deletion task starts at around x=2500). The weird thing is why > they keep growing and the

Re: [ovs-discuss] The discrepancy in the Monitor request composition.

2018-03-06 Thread Ben Pfaff
On Mon, Mar 05, 2018 at 10:03:13PM -0800, Anil Jangam wrote: > Hi, > > The RFC7047 states below about the Monitor request. > > The request object has the > >following members: > >o "method": "monitor" > >o "params": [, , ] > >o "id": > > > The parameter is used to

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

2018-03-06 Thread Ben Pfaff
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 > cookie=0x5adc15c0, duration=63.446s, table=3, n_packets=60, n_bytes=3436, > priority=0 actions=CONTROLLER:96 >

Re: [ovs-discuss] mtu_request

2018-03-05 Thread Ben Pfaff
On Sat, Mar 03, 2018 at 08:32:17AM -0500, Chris Boley wrote: > OVS: > foo@VMHOST:~$ sudo ovs-vsctl show > 126a4b57-4837-42a9-95d6-d818b35e95bd >Bridge "vbridge0" >Port "vnet0" >tag: 2 >Interface "vnet0" >Port "vbond0" >Interface "eth2" >

Re: [ovs-discuss] bond control syntax

2018-03-05 Thread Ben Pfaff
On Sun, Mar 04, 2018 at 12:34:53PM -0500, Chris Boley wrote: > Hi, > I worked on this more and found that this worked. If anyone is actually > interested. > > sudo touch /etc/network/if-up.d/vbond0_tune > sudo nano /etc/network/if-up.d/vbond0_tune > > ##Pasted this in### > > ovs-vsctl set port

Re: [ovs-discuss] ARP request in openvswitch

2018-03-01 Thread Ben Pfaff
On Thu, Mar 01, 2018 at 12:27:07PM -0500, Myra Sh wrote: > Is there any configuration for openvswitch to tells that how to send an ARP > request? > > In some cases, when openvswitch is not a neighbor of another openvswitch, > instead of sending the request to the controller, broadcast ARP request

Re: [ovs-discuss] ovs route refresh problem

2018-03-01 Thread Ben Pfaff
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 two VM commulication with > >> vxlan and ovs+dpdk networking(ovs2.7.2). when I add 200 virtual device > >> on the

Re: [ovs-discuss] Starting up Inband controller

2018-03-01 Thread Ben Pfaff
On Thu, Mar 01, 2018 at 02:16:39PM +, Soliman Awad Alshra´a Abdullah TU Ilmenau wrote: > Hello everyone, > > > I am trying to build my topology with In-band controller, So I started > running some available script > > On the one hand, I have no problem when I use these instructions on >

Re: [ovs-discuss] [OVN] Python IDL: handling modify operations in update2 notifications is slow

2018-02-28 Thread Ben Pfaff
On Tue, Feb 27, 2018 at 03:56:40PM +0100, Daniel Alvarez Sanchez wrote: > Hi all, > > When working on the performance of the OVN OpenStack integration and > following up this thread [0]. > > I went a bit deeper trying to find out the root cause of the linear growth. > It happens that during the

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-26 Thread Ben Pfaff
On Fri, Feb 23, 2018 at 03:51:28PM -0800, Han Zhou wrote: > On Fri, Feb 23, 2018 at 2:17 PM, Ben Pfaff <b...@ovn.org> wrote: > > > > On Tue, Feb 20, 2018 at 08:56:42AM -0800, Han Zhou wrote: > > > On Tue, Feb 20, 2018 at 8:15 AM, Ben Pfaff <b...@ovn.org> wrote:

Re: [ovs-discuss] Cannot change vxlan egress (source) ports

2018-02-23 Thread Ben Pfaff
On Fri, Feb 16, 2018 at 12:50:57AM -0300, José Miguel Guzmán wrote: > Hello > > I need to change the range of source ports for VXLAN tunnels. > > Although I tried with set dst_port to 2000 > # ovs-vsctl add-port br-ovs vxlan3 -- set interface vxlan3 type=vxlan > options:remote_ip=192.168.111.203

Re: [ovs-discuss] invalid Ethertype 0 in flow key

2018-02-23 Thread Ben Pfaff
This is an unusual problem that I haven't seen reported by others. Is there anything special about your machine, your kernel, your build, etc.? Whether you specify dst_port should not make a difference. This is implemented at a low level, so I don't know why it would change the behavior you

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-23 Thread Ben Pfaff
On Tue, Feb 20, 2018 at 08:56:42AM -0800, Han Zhou wrote: > On Tue, Feb 20, 2018 at 8:15 AM, Ben Pfaff <b...@ovn.org> wrote: > > > > On Mon, Feb 19, 2018 at 11:33:11AM +0100, Daniel Alvarez Sanchez wrote: > > > @Han, I can try rebase the patch if you want but tha

Re: [ovs-discuss] Is a new field in flow.h necessary for matching on a custom v6 extension header?

2018-02-23 Thread Ben Pfaff
t; adding every v6 extension header into the struct flow looks elegant to me. > What do you think? > > 2018-02-21 17:10 GMT+01:00 Ben Pfaff <b...@ovn.org>: > > > On Mon, Feb 19, 2018 at 06:15:30PM +0100, Alan Kayahan wrote: > > > I have a custom v6 extension heade

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-20 Thread Ben Pfaff
On Mon, Feb 19, 2018 at 11:33:11AM +0100, Daniel Alvarez Sanchez wrote: > @Han, I can try rebase the patch if you want but that was > basically renaming the Address_Set table and from Ben's > comment, it may be better to keep the name. Not sure, > however, how we can proceed to address Lucas'

Re: [ovs-discuss] OVS doesn't apply action in packet_out message

2018-02-20 Thread Ben Pfaff
On Mon, Feb 19, 2018 at 06:31:20PM -0500, S hj wrote: > I have some OVSs connected to ONOS controller. > OVS1---OVS2OVS3 > > when OVS1 wants to send packets to OVS3, OVS2 sends packet_in messages to > the controller including ARP message and ONOS sends packet_out messages > contain OFPP_FLOOD

Re: [ovs-discuss] dcsp band

2018-02-16 Thread Ben Pfaff
On Fri, Feb 16, 2018 at 04:51:27PM +0100, Mohamed Taj Eddine HAMZA wrote: > I can t use the DSCP remark band with meter, I got an error saying > BAD_BAND!! , is there any solution ? I will be grateful if you help > me, Only "drop" meters are supported.

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-15 Thread Ben Pfaff
On Thu, Feb 15, 2018 at 01:38:04PM -0800, Han Zhou wrote: > On Thu, Feb 15, 2018 at 12:56 PM, Ben Pfaff <b...@ovn.org> wrote: > > > > On Thu, Feb 15, 2018 at 06:50:15PM +, Lucas Alvares Gomes wrote: > > > Hi all, > > > > > > We currently h

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-15 Thread Ben Pfaff
On Thu, Feb 15, 2018 at 06:50:15PM +, Lucas Alvares Gomes wrote: > Hi all, > > We currently have a problem with Address_Set in networking-ovn (and > potentially other technologies using OVN as backend) which *maybe* > could be fixed together with this idea of a new "port set" (a.k.a > macro

Re: [ovs-discuss] OF Metering in ovsswitch

2018-02-15 Thread Ben Pfaff
On Thu, Feb 15, 2018 at 04:21:03PM +0530, AKSHAYA BALAN wrote: > We are trying to explore openflow metering in openvswitch. Most of the > available links in internet figured that metering is not supported in ovs. > But ovs-ofctl have add-meter command. Kindly guide us on how we can use it > > We

Re: [ovs-discuss] ovs route refresh problem

2018-02-14 Thread Ben Pfaff
On Sun, Feb 11, 2018 at 07:27:34AM +, Yinpeijun wrote: > Hi all > Recently , I run a test two VM commulication with vxlan and > ovs+dpdk networking(ovs2.7.2). when I add 200 virtual device on the physical > service of > the commulicate vm then check the ping result, there

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Ben Pfaff
On Thu, Feb 15, 2018 at 12:36:35AM +0100, Daniel Alvarez Sanchez wrote: > If we would have the Port_Set we could simply write the match part as > "outport == $security_group1 && ip4 && ip4.src == 0.0.0.0/0 && tcp && > tcp.dst == 22" > and reduce the number of ACLs to 1 per security group rule

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Ben Pfaff
On Wed, Feb 14, 2018 at 03:45:21PM -0800, Han Zhou wrote: > On Wed, Feb 14, 2018 at 3:39 PM, Ben Pfaff <b...@ovn.org> wrote: > > > > On Wed, Feb 14, 2018 at 03:29:34PM -0800, Han Zhou wrote: > > > On Wed, Feb 14, 2018 at 3:08 PM, Ben Pfaff <b...@ovn.org> wrote:

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Ben Pfaff
On Wed, Feb 14, 2018 at 03:29:34PM -0800, Han Zhou wrote: > On Wed, Feb 14, 2018 at 3:08 PM, Ben Pfaff <b...@ovn.org> wrote: > > > > On Wed, Feb 14, 2018 at 02:25:56PM -0800, Han Zhou wrote: > > > On Wed, Feb 14, 2018 at 1:40 PM, Ben Pfaff <b...@ovn.org> wrote:

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Ben Pfaff
On Wed, Feb 14, 2018 at 02:25:56PM -0800, Han Zhou wrote: > On Wed, Feb 14, 2018 at 1:40 PM, Ben Pfaff <b...@ovn.org> wrote: > > > > On Wed, Feb 14, 2018 at 12:34:19PM -0800, Han Zhou wrote: > > > I remember there was a patch for ACL group in OVN, so that instead of

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Ben Pfaff
On Wed, Feb 14, 2018 at 12:34:19PM -0800, Han Zhou wrote: > I remember there was a patch for ACL group in OVN, so that instead of R*P > rows we will have only R + P rows, but didn't see it went through. I don't remember that. Any chance you could point me to it? > Is this also a good use case

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Ben Pfaff
e the increased complexity is a fair trade. We might also be able to improve performance by using native code for some of the work. Were these tests done with the native code JSON parser that comes with OVS? It is dramatically faster than the Python code. > On Tue, Feb 13, 2018 at 8:32 PM, B

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-13 Thread Ben Pfaff
On Tue, Feb 13, 2018 at 12:39:56PM +0100, Daniel Alvarez Sanchez wrote: > Hi folks, > > As we're doing some performance tests in OpenStack using OVN, > we noticed that as we keep creating ports, the time for creating a > single port increases. Also, ovn-northd CPU consumption is quite > high (see

Re: [ovs-discuss] A bug on openswitch

2018-02-07 Thread Ben Pfaff
129)),set(tcp(src=59765,dst=8080)),2 > The datapath actions output to datapath port 2. > > > > Now can you understand what the problem is? > > > -- > > > 博学之,审问之,慎思之,明辨之,笃行之。 > > Albert Xie > > > > At 2018-02-07 01:39:51, &qu

Re: [ovs-discuss] Have to write whole path for using utilities

2018-02-07 Thread Ben Pfaff
On Wed, Feb 07, 2018 at 02:27:20PM +0800, Attitude Killer wrote: > I cloned ovs from github. When I use this command "ovsdb-tool create > /usr/local/etc/openvswitch/conf.db \ vswitchd/vswitch.ovsschema" > > I get an error saying :* "The program 'ovsdb-tool' is currently not > installed. You can

Re: [ovs-discuss] A bug on openswitch

2018-02-06 Thread Ben Pfaff
eriously, and I want to know how this problem comes into > being. > > > -- > > > 博学之,审问之,慎思之,明辨之,笃行之。 > > Albert Xie > > > > At 2018-02-06 01:04:16, "Ben Pfaff" <b...@ovn.org> wrote: > >I suggest using ofproto

Re: [ovs-discuss] [OVN][RFC] ovn-northd simple optimization converting uuid from string

2018-02-05 Thread Ben Pfaff
On Sat, Feb 03, 2018 at 09:10:16AM +0100, Daniel Alvarez Sanchez wrote: > Thanks Ben, > > > On Sat, Feb 3, 2018 at 12:16 AM, Ben Pfaff <b...@ovn.org> wrote: > > > Nice finding! > > > > I don't think it's necessary to inline this into the header file t

Re: [ovs-discuss] A bug on openswitch

2018-02-05 Thread Ben Pfaff
I suggest using ofproto/trace to figure it out. See ovs-vswitchd(8) for details. On Sat, Feb 03, 2018 at 07:42:10PM +0800, a* wrote: > Hi,all > > > I recently found a bug about OVS, which was supposed to be sent to local but > was sent to eth0! > Can you tell me why? I need help, thank

Re: [ovs-discuss] [OVN][RFC] ovn-northd simple optimization converting uuid from string

2018-02-02 Thread Ben Pfaff
Nice finding! I don't think it's necessary to inline this into the header file to get the speedup, since its caller along the uuid_from_string() call chain is in the same file as hexit_value(). I sent out a patch that does something similar: https://patchwork.ozlabs.org/patch/868826/ On

Re: [ovs-discuss] Running ovs-appctl to trace packet

2018-02-02 Thread Ben Pfaff
On Fri, Feb 02, 2018 at 10:29:24AM -0500, Myra Sh wrote: > Hello, > > I want to use the same idea as the following link: > > https://techandtrains.com/2014/02/08/running-open-vswitch-in-network-namespace/ > > > But I still have a problem to trace packets. Is there any other way to > trace

Re: [ovs-discuss] 答复: conn_key_hash change hash arithmetic

2018-02-01 Thread Ben Pfaff
Darrell, any comment on this? + and ^ are both valid choices of operator here and it's a little odd that one would be better than the other. On Thu, Dec 14, 2017 at 08:25:30AM +, liucheng (J) wrote: > > > 发件人: liucheng (J) > 发送时间: 2017年12月13日 18:01 > 收件人: 'ovs-discuss@openvswitch.org' >

Re: [ovs-discuss] Running ovs-appctl to trace packet

2018-02-01 Thread Ben Pfaff
Oh, and why are you running multiple instances of OVS? It's unusual. On Thu, Feb 01, 2018 at 09:22:31AM -0800, Ben Pfaff wrote: > The rundir for OVS and for ovs-appctl should match. You can do that by > defining OVS_RUNDIR in the environment for each one, otherwise you end > up havin

Re: [ovs-discuss] Running ovs-appctl to trace packet

2018-01-31 Thread Ben Pfaff
On Wed, Jan 31, 2018 at 02:53:25PM -0500, Myra Sh wrote: > Hello, > > I run several instances of OVS and I am using the following command and > path to configure them: > > ovs-vsctl --db=unix:$(pwd)/db.sock add-br br0 > > The problem in having several instances is that when I want to run >

[ovs-discuss] Open vSwitch selected as ACM SOSR Software Systems Award Winner for 2018

2018-01-29 Thread Ben Pfaff
Yesterday, the ACM SOSR awards committee announced that it was granting Open vSwitch its second annual Software Systems Award, which is given to recognize the development of a software system that has had a significant impact on SDN research, implementations, and tools. The award comes along with

Re: [ovs-discuss] Why no-flood is not supported in later openflow versions?

2018-01-29 Thread Ben Pfaff
On Mon, Jan 29, 2018 at 11:52:34AM +0800, Jianfeng Tan wrote: > >On Sun, Jan 28, 2018 at 11:39:29PM +0800, Jianfeng Tan wrote: > >> Hi, > >> > >> In the openflow, we set no-flood PodMod operation through openflow 1.0; > for > >> later openflow versions, no-flood is dropped. > >> We can refer to

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