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

2018-03-08 Thread Justin Pettit
Can you provide the command and options that you used? I assume it was ovs-vsctl. --Justin > On Mar 8, 2018, at 8:11 PM, Chris Boley wrote: > > Justin I set the value at 5000 > I tried it via my interfaces file stanza and also by way of the > extra-options: in a live command. > It produced

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

2018-03-08 Thread Chris Boley
Ben if you could suggest how I can assist you in reproduction of the unusual behavior I’d be happy to share anything I can with you or help out in any way that I can. On Thu, Mar 8, 2018 at 9:17 PM Ben Pfaff wrote: > On Thu, Mar 08, 2018 at 08:57:45PM -0500, Chris Boley wrote: > > bond-rebalance

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

2018-03-08 Thread Chris Boley
Justin I set the value at 5000 I tried it via my interfaces file stanza and also by way of the extra-options: in a live command. It produced no errors in either method but when I look at the bridge, there it is.. 1 every time. On Thu, Mar 8, 2018 at 9:06 PM Justin Pettit wrote: > It should w

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] bond-rebalance-interval

2018-03-08 Thread Justin Pettit
It should work. How are you setting it? --Justin > On Mar 8, 2018, at 5:57 PM, 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. >

[ovs-discuss] bond-rebalance-interval

2018-03-08 Thread Chris Boley
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. My version is 2.5.2. Is this rebalance interval negotiated between the Cisco etherchannel that I am peering with happ

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

2018-03-08 Thread Xiao Liang
Hi Ben and Bill, Thanks for your reply. Controller-to-switch messages can be handled by maintaining a cache of outstanding xid mappings. Controller state and async messages handling is a problem. I think the proxy can maintain an internal state for each controller, remain ROLE_EQUAL to switches,

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

2018-03-08 Thread Daniel Alvarez Sanchez
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. > > On Thu, Mar 08, 2018 at 10:11:11PM +0100, Daniel Alvarez Sanchez wrote: > > Thanks Ben and Mark. I'd be oka

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

2018-03-08 Thread Mark Michelson
On 03/08/2018 02:54 PM, Daniel Alvarez Sanchez wrote: I agree with you Mark. I tried to check how much it would shrink with 1800 ports in the system: [stack@ovn ovs]$ sudo ovn-nbctl list Logical_Switch_Port | grep uuid | wc -l 1809 [stack@ovn ovs]$ sudo ovn-sbctl list Logical_Flow | grep uuid |

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

2018-03-08 Thread Ben Pfaff
I guess I wouldn't object. On Thu, Mar 08, 2018 at 10:11:11PM +0100, Daniel Alvarez Sanchez wrote: > Thanks Ben and Mark. I'd be okay with 2x. > Don't you think that apart from that it can still be good to compact after > a > certain amount of time (like 1 day) if the number of transactions is > 0

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

2018-03-08 Thread Daniel Alvarez Sanchez
Thanks Ben and Mark. I'd be okay with 2x. Don't you think that apart from that it can still be good to compact after a certain amount of time (like 1 day) if the 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 chang

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] OVN Database sizes - Auto compact feature

2018-03-08 Thread Daniel Alvarez Sanchez
I agree with you Mark. I tried to check how much it would shrink with 1800 ports in the system: [stack@ovn ovs]$ sudo ovn-nbctl list Logical_Switch_Port | grep uuid | wc -l 1809 [stack@ovn ovs]$ sudo ovn-sbctl list Logical_Flow | grep uuid | wc -l 50780 [stack@ovn ovs]$ ls -alh ovn*.db -rw-r--

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

2018-03-08 Thread Mark Michelson
Most of the data in this thread has been pretty easily explainable based on what I've seen in the code compared with the nature of the data in the southbound database. The southbound database tends to have more data in it than other databases in OVS, due especially to the Logical_Flow table. T

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

2018-03-08 Thread William Fisher
Hi Xiao, You are proposing an OpenFlow proxy that passively accepts connections from OF switches, and feeds them upwards to multiple active/passive controller clients C1 and C2. You want to use ovs-ofctl as one of these clients. ovs-ofctl would make an active connection to the proxy to get access

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

2018-03-08 Thread Anil Jangam
Ok, that answers my question. Thank you. On Thu, Mar 8, 2018, 11:13 AM Ben Pfaff wrote: > 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

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: > > > is a

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

2018-03-08 Thread Anil Jangam
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: > is a JSON object. A JSON object maps from keys to > values, so we only need one. > > Your specification for is wrong because it

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

2018-03-08 Thread Ben Pfaff
is a JSON object. A JSON object maps from keys to values, so we only need one. Your specification for is wrong because it says that it is a JSON array. It is not. On Wed, Mar 07, 2018 at 09:32:06PM -0800, Anil Jangam wrote: > Hello Ben, > > I have one more observation. I request you to pleas

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] Facing issues while using OVS-DPDK based vhostuser interface.

2018-03-08 Thread Anirudh Chanagiri
Hi Ian, We are using libvirt. I just checked by following the steps. But still we are facing the same issue. Attaching the XML. Thank you. Regards Anirudh From: "Stokes, Ian" mailto:ian.sto...@intel.com>> Date: Thursday, March 8, 2018 at 8:02 PM To: Anirudh Chanagiri mailto:anirudh.chanag...@rive

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

2018-03-08 Thread Miguel Angel Ajo Pelayo
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 @@ -1018,7 +1018,9 @@ static struct cmd_show_table cmd_show_tables[] = { &ovsre

Re: [ovs-discuss] Facing issues while using OVS-DPDK based vhostuser interface.

2018-03-08 Thread Stokes, Ian
Thanks, I didn't spot anything out of place in the logs. Are you using QEMU or Libvirt to start the VM? If Qemu could you share the command used to launch the VM, if it's libvirt can you confirm you've followed the steps for http://docs.openvswitch.org/en/latest/topics/dpdk/vhost-user/#adding-

Re: [ovs-discuss] segmentation fault when adding a VF in DPDK to a switch

2018-03-08 Thread Stokes, Ian
Hi Riccardo, So the issue you are seeing is not related to the VSI queue setup as previously mentioned. The issue you see is specific to the use of the i350 VF with OVS it seems. Specifically, OVS attempts to set the MTU of a given device (in this case the SRIOV VF from an i350 interface known

[ovs-discuss] OVS DPDK performance

2018-03-08 Thread Ceco
Hi all I have a question about a performance in a specific use case, and any suggestions how to improve it. Use case: Host runs Fedora 23, with kernel 4.4, ovs 2.7.2 and dpdk 16.11. There are few interfaces: first one does not support DPDK, all others support it. Tested topology: port 1 ---> ovs

[ovs-discuss] Passive openflow proxy

2018-03-08 Thread Xiao Liang
Hi all, 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 responsible for accepting and maintaining connections from

[ovs-discuss] latest 2.9 geneve/stt tunnel adds a drop flow for src and dst

2018-03-08 Thread aginwala
When setting up central node on a BM with latest ovs 2.9 on ubuntu 16.04 with any tunnel type(stt/geneve), there is tunnel port not found warning on the central node along with drop flows for the guest vms due to which vms cannot ping each other via tunnel. ovn-nbctl show switch a4ff74cb-540f-4347

Re: [ovs-discuss] Problem on OpenVSwitch 2.9

2018-03-08 Thread woz woz
Dear Ben, thanks for the support! I receive the error on two servers C & D, below the command outputs: [root@C ~]# ovs-dpctl show system@ovs-system: lookups: hit:283639 missed:348 lost:0 flows: 14 masks: hit:1027059 total:3 hit/pkt:3.62 port 0: ovs-system (internal) port 1: ovsbr0 (internal) por