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

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

[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

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

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 >

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

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

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

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

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

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" > Date: Thursday, March 8, 2018 at 8:02 PM To: Anirudh Chanagiri

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[] = {

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)