Re: [ovs-discuss] [ovs-dev] OVN: resync nb-db to sb-db

2020-07-28 Thread Han Zhou
On Tue, Jul 28, 2020 at 2:09 PM Tony Liu wrote: > > Hi, > > When I run a script to create bunch of networks and routers from OpenStack, for whatever reason, > nb-db is fully updated, but sb-db is only partially updated. For example, there are 500 logical routers > in nb-db, but only 218 datapath

Re: [ovs-discuss] [ovs-dev] OVN nb-db and sb-db election timer

2020-07-28 Thread Han Zhou
On Mon, Jul 27, 2020 at 1:40 PM Tony Liu wrote: > > Hi, > > During scaling test, when sb-db is busy, followers believe the leader is dead and started election > request. Some inconsistency happens during such leader switch. Two datapath bindings are created > for the same logical switch. To avoid

[ovs-discuss] max_speed and curr_speed is incorrect

2020-07-28 Thread Ryan Chen
Hi, I want to collect ports’ curr_speed and max_speed from ovs to calculate ports’ bandwidth on Mininet. However, no matter how I set the bandwidth, the value of max_speed is always 0 and value of curr_speed is always 1000. I’m using ovs 2.13.0 in Mininet 2.3.0b6. Could anyone tell me

[ovs-discuss] OVN: resync nb-db to sb-db

2020-07-28 Thread Tony Liu
Hi, When I run a script to create bunch of networks and routers from OpenStack, for whatever reason, nb-db is fully updated, but sb-db is only partially updated. For example, there are 500 logical routers in nb-db, but only 218 datapath bindings in sb-db. In this case, is there any way to

Re: [ovs-discuss] Display OpenFlow port number, interface name and bridge name in single OvS CLI command

2020-07-28 Thread Tony Liu
for p in $(ovs-vsctl list-ports br-int); do \ ovs-vsctl -f table --columns=ofport,name list interface $p; \ done Tony From: discuss on behalf of Matteo Olivi Sent: July 28, 2020 11:14 AM To: ovs-discuss@openvswitch.org Subject: [ovs-discuss] Display

[ovs-discuss] Display OpenFlow port number, interface name and bridge name in single OvS CLI command

2020-07-28 Thread Matteo Olivi
Hello everyone, I have an OvS bridge *X *and some network interfaces connected to it via OpenFlow ports. For each interface connected to *X*, I want to display the name and the number of its OpenFlow port. I've been using the following command: "ovs-vsctl -f table -- --columns=ofport,name list

Re: [ovs-discuss] OVN scale

2020-07-28 Thread Han Zhou
On Mon, Jul 27, 2020 at 10:16 AM Tony Liu wrote: > Hi Han, > > Just some updates here. > > I tried with 4K networks on single router. Configuration was done without > any issues. I checked both > nb-db and sb-db, they all look good. It's just that router configuration > is huge (in Neutron DB,