Re: [ovs-discuss] bond-rebalance-interval

2018-03-08 Thread Ben Pfaff
On Thu, Mar 08, 2018 at 08:57:45PM -0500, Chris Boley wrote: > bond-rebalance-interval=1 > > If I set this option to any other setting such as 5000 for example it > always shows 1 on the output of an sudo ovs-vsctl list port vbond0 > command. That is an unusual behavior, which surprises m

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

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

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

2018-03-08 Thread Ben Pfaff
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 more comfortable, let's make that change. ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/lis

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 wrote

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 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 long time ago to

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

2018-03-07 Thread Ben Pfaff
; > > 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 with it. > &

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-> 4.4.

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 manual

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

2018-03-07 Thread Ben Pfaff
On Wed, Mar 07, 2018 at 12:56:49PM +, Miguel Angel Ajo Pelayo wrote: > As OVN started implementing L3HA with the use of BFD monitoring, after > discussing with the people who is doing QA and thinking about future > troubleshooting of the feature, they proposed something the thing on > $subject.

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

2018-03-07 Thread Ben Pfaff
"_uuid" > ], > "select": { > "initial": true, > "insert": true, > "delete": true, > "modify": true > } > }, > { >

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

2018-03-07 Thread Ben Pfaff
ts once the test finishes. > Daniel > > On Wed, Mar 7, 2018 at 7:03 PM, Ben Pfaff 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. > > > For some

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 onl

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 match

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 v

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 p

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 p

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 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 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 see.

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 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 that was > > > b

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
lds nor > 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 : > > > On Mon, Feb 19, 2018 at 06:15:30PM +0100, Alan Kayahan wrote: > > > I have a custom v6 extension header, in whic

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

2018-02-21 Thread Ben Pfaff
On Mon, Feb 19, 2018 at 06:15:30PM +0100, Alan Kayahan wrote: > I have a custom v6 extension header, in which I would like to perform an > LPM match on only one 32bit field. > > Since an extension header is technically not a new field, do I still need > to introduce anything in the struct flow? W

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' point

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 wrote: > > > > On Thu, Feb 15, 2018 at 06:50:15PM +, Lucas Alvares Gomes wrote: > > > Hi all, > > > > > > We currently have a probl

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 se

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 a

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 i

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 inste

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 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 wrote: > > > > > > > &g

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 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 wrote: > > > > > > > &g

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 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 > R*P > > &g

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 of

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

2018-02-14 Thread Ben Pfaff
ce is really important so maybe 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 Tu

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] Have to write whole path for using utilities

2018-02-08 Thread Ben Pfaff
from this link " > http://docs.openvswitch.org/en/latest/faq/releases/";. > Please help. > > Thanks and regards > Att > > On Thu, Feb 8, 2018 at 2:35 AM, Ben Pfaff wrote: > > > On Wed, Feb 07, 2018 at 02:27:20PM +0800, Attitude Killer wrote: > > >

Re: [ovs-discuss] A bug on openswitch

2018-02-07 Thread Ben Pfaff
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, "Ben P

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 i

Re: [ovs-discuss] A bug on openswitch

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

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 wrote: > > > Nice finding! > > > > I don't think it's necessary to inline this into the header file to get

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 you

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 packe

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

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

2018-02-01 Thread Ben Pfaff
idge but it's not reasonable when I have several OVSs. > > Do you have any suggestion in this case? > > Is there any other way to trace the packets in OVS? > > > > > > On Wed, Jan 31, 2018 at 4:15 PM, Ben Pfaff wrote: > > > On Wed, Jan 31, 2018

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-

[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 bel

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

2018-01-28 Thread Ben Pfaff
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 below two macro definitions. > > #define OFPPC10_ALL (OFPPC_PORT_DOWN | OFPPC10

Re: [ovs-discuss] vlan id inequality matching

2018-01-24 Thread Ben Pfaff
On Wed, Jan 24, 2018 at 01:54:32PM -0500, John Lester wrote: > What would be the way to express in a flow: match all vlans except vlan > 405. Would it be vlan_vid=0/405 or perhaps another way? That approach won't work. The simplest way is to use two flows: one with a high priority that matches VL

Re: [ovs-discuss] Lost in translation! OFP to DPDK datapath OVS actions?

2018-01-24 Thread Ben Pfaff
fragmentation header, then appending > the header and readjusting the L4 offset. In this case, does it make sense > to immediately emit ODP action via "nl_msg_put_u16(ctx->odp_actions, > OVS_ACTION_ATTR_PUSH_EXTH, ofpact_get_PUSH_EXTH(a)->arg);" in > ofproto-dpif-xlate? > &

Re: [ovs-discuss] OVS delete port by itself

2018-01-23 Thread Ben Pfaff
On Tue, Jan 23, 2018 at 10:41:21AM +0800, netsurfed wrote: > Hi all, > > > When I created a virtual machine using libvirt, with virtualport type was > openvswitch, and virtual machine creation failed. The Domain XML file the > section like this: > > > I looked at the system log and it looked

Re: [ovs-discuss] Windows test: 1077. ofproto-dpif.at:1663: testing ofproto-dpif - controller action without megaflows

2018-01-22 Thread Ben Pfaff
Certainly these are odd results showing that on Windows an extra packet passes through the rate limiter. Do you have any leads on a possible solution? Does timing work somehow different on Windows? On Sun, Jan 14, 2018 at 05:11:00PM +, Alin Serdean wrote: > ofproto-dpif > > 1077. ofproto-dp

Re: [ovs-discuss] Lost in translation! OFP to DPDK datapath OVS actions?

2018-01-22 Thread Ben Pfaff
does the > actuator know what OVS actions to actuate? > 3) Can we say that do_xlate_actions() is currently being used outside the > purpose that its name implies, because all it does is to set the fields of > the struct flow to those set in ofpact struct? > > Thanks > > 2018

Re: [ovs-discuss] vPort state

2018-01-22 Thread Ben Pfaff
On Thu, Jan 18, 2018 at 11:37:57AM +, Nitin Katiyar wrote: > Can someone help in understanding the reason for not allowing the > vport state to DOWN. Presently, if we try to bring down tunnel ports > (or vPorts) using "ovs-ofctl mod-port" command then OVS rejects it as > "not supported". I th

Re: [ovs-discuss] Linking of OFPROTO and NETDEV libraries to OVS

2018-01-22 Thread Ben Pfaff
On Mon, Jan 22, 2018 at 07:06:59AM +0530, Aravind Prasad wrote: > Hi Ben, > > > I don't understand the question. These are always linked together. > > I want to write a new ofproto provider and netdev provider and have them as > dynamic libraries. The requirement is to have the implementation of

Re: [ovs-discuss] Regarding adding flows on a remote switch using ovs-ofctl

2018-01-21 Thread Ben Pfaff
the switch should have an > additional port listening for openflow connections using ptcp (in addition > to the port listening to controller connections)? > > I guess this should be a ovs-vsctl command on the lines of > > ovs-vsctl --db=tcp:: > > Is that right? > &

Re: [ovs-discuss] Regarding adding flows on a remote switch using ovs-ofctl

2018-01-21 Thread Ben Pfaff
On Sun, Jan 21, 2018 at 02:17:56PM -0600, Ashish Kashinath wrote: > Hi everyone, we were trying to add flows to a switch remotely via tcp. But > are not able to do so. The command we used is: > > *ak7@ubuntu:~/Repositories/qos_synthesis/src/experiments$ ovs-ofctl > add-flow tcp:192.168.1.101 actio

Re: [ovs-discuss] Linking of OFPROTO and NETDEV libraries to OVS

2018-01-19 Thread Ben Pfaff
On Fri, Jan 19, 2018 at 10:15:46AM +0530, Aravind Prasad wrote: > Is there a way to link OFPROTO and NETDEV libraries directly to OVS binary > without recompiling the OVS codebase. Like, downloading the OVS debian > binary directly and link the ofproto and netdev dynamic libraries to it. I don't u

Re: [ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2018-01-18 Thread Ben Pfaff
is probably fine), but yes, being able to set those > 64 bytes will be quite useful with say with an extra "payload=0xC0FEFE" > argument on ofproto/trace. > > Brad > > On 18 January 2018 at 07:17, Ben Pfaff wrote: > > > OK, sounds good. > > > > D

Re: [ovs-discuss] OVS port name differ from interface name

2018-01-18 Thread Ben Pfaff
witch port and not a real existing interface? > > > __ > > > On 15 January 2018 at 20:19, Ben Pfaff wrote: > > > On Mon, Jan 15, 2018 at 09:50:52AM -0800, Fred Licht wrote: > > >Is it possible to have an OVS port ‘name’ differ from the interface >

Re: [ovs-discuss] DB operations in a OVSDB request and Batched requests.

2018-01-17 Thread Ben Pfaff
On Sun, Jan 14, 2018 at 01:41:36PM -0800, Anil Jangam wrote: > Hi, > > The "transact" method of OVSDB protocol mandates the sequential processing > of the transaction. It is specificed in section 4.1.3 as follows. > >The database server executes each of the specified operations in > the speci

Re: [ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2018-01-17 Thread Ben Pfaff
at > moving our test suite to using ofproto/trace to generate packets (instead > of scapy) for throwing at test scenarios because it's considerably more > lightweight and we are already using openvswitch as the core of our test > suite. > > Brad > > On 9 January

Re: [ovs-discuss] clustered OVSDB in 2.9 or 2.10?

2018-01-17 Thread Ben Pfaff
On Mon, Jan 15, 2018 at 08:46:50AM -0500, Russell Bryant wrote: > On Mon, Jan 15, 2018 at 2:30 AM, Numan Siddique wrote: > > > > > > On Fri, Jan 12, 2018 at 1:28 AM, Ben Pfaff wrote: > >> > >> I posted the patches to add clustering support to OVSDB at t

Re: [ovs-discuss] OVS port name differ from interface name

2018-01-15 Thread Ben Pfaff
On Mon, Jan 15, 2018 at 09:50:52AM -0800, Fred Licht wrote: >Is it possible to have an OVS port ‘name’ differ from the interface name? > > Bridge ovs-ha-sw > Port ovs-ha-sw > Interface ovs-ha-sw > type: internal > Port "bond1" > Inter

Re: [ovs-discuss] Lost in translation! OFP to DPDK datapath OVS actions?

2018-01-12 Thread Ben Pfaff
On Fri, Jan 12, 2018 at 11:39:44AM +0100, Alan Kayahan wrote: > Hello, > > Per my understanding from /ovs-discuss/2015-May/037313.html, > ofproto-dpif-xlate translates OFP actions into Netlink format, which is > useful for datapath actions implemented in the kernel module. Does that > hold for OFP

[ovs-discuss] clustered OVSDB in 2.9 or 2.10?

2018-01-11 Thread Ben Pfaff
I posted the patches to add clustering support to OVSDB at the end of last year so that it was technically qualified to make it into OVS 2.9. At least in OVS 2.9, it will be marked "experimental", since it's a major change that might need work to be suitable for production (we simply don't know yet

Re: [ovs-discuss] how to add an interface to exists bonding port?

2018-01-09 Thread Ben Pfaff
On Tue, Jan 09, 2018 at 02:59:33PM +0800, cokabug wrote: > I have a bonding port : bond0 that contain two interface : eth0 eth1, > now i want to add eth2 to bond0 without network interrupt, how can i do > this, > i try the command : > ovs-vsctl --may-exist add-bond br-f2b0711 bond

Re: [ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2018-01-08 Thread Ben Pfaff
[dropping OP, who probably doesn't care] On Sat, Jan 06, 2018 at 12:07:09PM +1300, Brad Cowie wrote: > What happened is that in faucet 1.6.12 we added a bunch of new packet > handling sanity checks to help improve security of faucet's packet > handling. Packets made by ofproto/trace -generate will

Re: [ovs-discuss] Any timeline on PISCES in the mainline OVS?

2018-01-04 Thread Ben Pfaff
On Wed, Jan 03, 2018 at 08:54:25PM +0100, Alan Kayahan wrote: > I read about PISCES and watched its presentation. The presenter mentioned > that the PISCES is expected to be in the mainline OVS. Is there any news > regarding that, or regarding any kind of P4 integration? It's a goal of mine for 2.

Re: [ovs-discuss] ovn-controller consuming lots of CPU

2017-12-20 Thread Ben Pfaff
On Tue, Dec 12, 2017 at 01:26:33PM -0800, Kevin Lin wrote: > Hi again, > > We’re trying to scale up our OVN deployment and we’re seeing some worrying > log messages. > The topology is 32 containers connected to another 32 containers on 10 > different ports. This is running on 17 machines (one m

Re: [ovs-discuss] How to find GRE Tunnel ID in OVS ?

2017-12-15 Thread Ben Pfaff
> I need to set the tunnel id to the actual id of the GRE tunnel present in > the topology. That's I need to know a way to extract the tunnel id and set > that value in the flow indicated earlier. > > -regards > > > On Dec 14, 2017 5:27 PM, "Ben Pfaff"

Re: [ovs-discuss] Is it normal that userspace datapath(without dpdk) have a pool perfermance ?

2017-12-15 Thread Ben Pfaff
On Fri, Dec 15, 2017 at 02:27:18PM +, Nacht Z wrote: > I have install ovs in a server and try to test it’s > performance. I found that user space datapath(without dpdk) have > a poor performance (6MB/s). The kernel datapath works much > better(110M/s). I feel puzzle about th

Re: [ovs-discuss] How to find GRE Tunnel ID in OVS ?

2017-12-14 Thread Ben Pfaff
add-flow ovsprx1 > table=0,in_port=4,dl_dst=52:54:00:78:59:82,dl_type=0x0800,nw_dst=10.0.35.12,actions=mod_dl_dst:52:54:00:6c:11:95, > set_tunnel:0x0,goto_table:10 > > So, I need to know the tunnel id to set it. > Appreciate your help. > > On Thu, Dec 14, 2017 at 5:06 PM, Ben Pfa

Re: [ovs-discuss] How to find GRE Tunnel ID in OVS ?

2017-12-14 Thread Ben Pfaff
On Thu, Dec 14, 2017 at 04:54:48PM -0500, Vasu S wrote: > Does any one know any command to find out the GRE tunnel id in OVS. > I need this to configure flows on OF , but don't know how to extract the > tunnel id. OVS calls this the tun_id field. See ovs-fields(7). ___

Re: [ovs-discuss] Cannot install meter

2017-12-14 Thread Ben Pfaff
On Thu, Dec 14, 2017 at 04:23:58PM +0100, Cédric MORIN wrote: > Hi, > > thank you for your reply. > > Actually I didn't need to use dpdk, I just had to set datapath to netdev - as > you said. > > However I'm facing another problem now. > > I tried to setup a drop meter with the following comma

Re: [ovs-discuss] Issue with OVS Patch port

2017-12-13 Thread Ben Pfaff
On Wed, Dec 13, 2017 at 09:24:49PM -0500, Vasu S wrote: > I'm trying to connect two OVS bridges via patch ports, however, as soon as > I add the ports as type=patch, they disappear from the ifconfig and I'm > unable to check any traffic hits on either of the patch interfaces. Patch ports aren't r

Re: [ovs-discuss] OVS 2.8.1 changes the rates of data packets!

2017-12-08 Thread Ben Pfaff
he wireless interfaces to the bridge, the > problem shows up. So, it seems OVS (at least) is a part of the problem. > > On Fri, Dec 8, 2017 at 5:55 PM, Ben Pfaff wrote: > > > On December 8, 2017 5:53:44 PM PST, Dawood Sajjadi > > wrote: > >> > >> I created

Re: [ovs-discuss] OVS 2.8.1 changes the rates of data packets!

2017-12-08 Thread Ben Pfaff
On December 8, 2017 5:53:44 PM PST, Dawood Sajjadi wrote: >I created a bridge using OVS 2.8.1 in Ubuntu 14.04. The bridge contains >4 >physical ports including one ethernet and three wireless ports. The >ethernet port is connected to a laptop that generated dummy traffic >using >Iperf. So, the et

Re: [ovs-discuss] Failed assertion in ovs-vswitchd when running OVN

2017-12-08 Thread Ben Pfaff
gt; On Dec 7, 2017, at 3:54 PM, Ben Pfaff wrote: > > > > On Thu, Dec 07, 2017 at 02:44:36PM -0800, Kevin Lin wrote: > >> Hi Ben, > >> > >> I’ve included the traces for an ARP request, and a ping. ovs-vswitchd also > >> logs errors for the

Re: [ovs-discuss] Failed assertion in ovs-vswitchd when running OVN

2017-12-07 Thread Ben Pfaff
On Thu, Dec 07, 2017 at 02:44:36PM -0800, Kevin Lin wrote: > Hi Ben, > > I’ve included the traces for an ARP request, and a ping. ovs-vswitchd also > logs errors for the return traffic, but I didn’t include that as it seems > redundant. > > root@ip-172-31-2-45:/# ovs-appctl ofproto/trace kelda-

Re: [ovs-discuss] (no subject)

2017-12-07 Thread Ben Pfaff
On Thu, Dec 07, 2017 at 11:39:23AM +0530, shivani dommeti wrote: > I am using OVS version 2.8.2 > I have a problem when executing "insert-buckets".I created a group of > type select and when i try to insert a bucket using "insert-bucket" > command supported by OpenFlow1.5 the group type gets change

Re: [ovs-discuss] Failed assertion in ovs-vswitchd when running OVN

2017-12-07 Thread Ben Pfaff
On Thu, Dec 07, 2017 at 09:26:14AM -0800, Kevin Lin wrote: > Hi, > > I work on Kelda (kelda.io ) with Ethan Jackson. We run a > containerized, distributed version of OVN. The master branch of > openvswitch/ovs (commit 07754b23ee5027508d64804d445e617b017cc2d1) fails with > the

Re: [ovs-discuss] OVSDB connection keep-alive vs. echo RPC

2017-12-07 Thread Ben Pfaff
On Thu, Dec 07, 2017 at 01:59:45PM -0500, Matt Layher via discuss wrote: > But that leads me to another question: does ovsdb-server send echo RPCs to > its clients at all?  If so, I can implement something to reply in my receive > loop.  If not, I won't bother. Yes, it does (unless configured not

Re: [ovs-discuss] OVSDB connection keep-alive vs. echo RPC

2017-12-07 Thread Ben Pfaff
On Thu, Dec 07, 2017 at 12:24:51PM -0500, Matt Layher via discuss wrote: > I'm working on implementing an OVSDB client in Go > (https://godoc.org/github.com/digitalocean/go-openvswitch/ovsdb) and > recently implemented the Echo RPC. > > https://tools.ietf.org/html/rfc7047#section-4.1.11 > > Accor

Re: [ovs-discuss] ovs_assert(classifier_is_empty(&table->cls)) failed when restart openvswitch service.

2017-12-06 Thread Ben Pfaff
On Wed, Dec 06, 2017 at 08:28:30PM +, Zhanghaibo (Euler) wrote: > Hello all, > > I run into abort issue when restart openvswitch service, the coredump file > shows that ovs_assert() failed in function oftable_destroy()/ofproto.c. > > The problem is pretty hard to reproduce, Do you have any i

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

2017-12-06 Thread Ben Pfaff
OK. In the meantime, you can add "eth()" to the flows you're tracing to get the expected results. On Wed, Dec 06, 2017 at 07:02:42PM +, Amar Padmanabhan wrote: > Thanks Ben for taking a look, > Regards, > - Amar > > On 12/6/17, 10:17 AM, "Ben Pfaff"

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

2017-12-06 Thread Ben Pfaff
+, Amar Padmanabhan wrote: > oh, I think I remember that output to slow_path doesn’t show up in the > ofproto/trace. Don’t remember why though > - Amar > > From: on behalf of Amar Padmanabhan > > Date: Tuesday, December 5, 2017 at 9:59 PM > To: "ovs-discuss@ope

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

2017-12-06 Thread Ben Pfaff
On Wed, Dec 06, 2017 at 05:58:41AM +, Amar Padmanabhan wrote: > We are debugging a setup and are seeing something that we are finding it hard > to explain. > > 1 - Here is the ovs-dpctl dump-flows output. > recirc_id(0),in_port(3),eth_type(0x0800),ipv4(dst=192.168.128.0/255.255.255.0,frag=no)

Re: [ovs-discuss] L2 messages with proprietary ethertype dropped

2017-12-06 Thread Ben Pfaff
On Tue, Dec 05, 2017 at 07:24:10PM -0500, Raghavendra Hegde wrote: > I am using a 3rd party application that runs on two VMs and uses L2 > messages for health checking between the VMs. The L2 messages use a > proprietary ethertype (0x8e9f) for messaging. I see the L2 message going > out of the VM.

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