Re: [ovs-discuss] OVN: Any objections for making logical router and logical switches tables indexed by name?

2021-08-14 Thread Flaviof
[cc + Dave and Terry] On Thu, Aug 12, 2021 at 2:19 PM Han Zhou wrote: > > > On Tue, Aug 10, 2021 at 9:32 AM Flavio Fernandes > wrote: > > > > [cc: Ben + Dmitry] > > > > Hi folks, > > > > I'm looking at some conversion code in ovn-org/ovn-kubernetes where we > replace the ovn-nbctl wrapper with

Re: [ovs-discuss] OVN: Any objections for making logical router and logical switches tables indexed by name?

2021-08-12 Thread Han Zhou
On Tue, Aug 10, 2021 at 9:32 AM Flavio Fernandes wrote: > > [cc: Ben + Dmitry] > > Hi folks, > > I'm looking at some conversion code in ovn-org/ovn-kubernetes where we replace the ovn-nbctl wrapper with the libovsdb library ( ovn-org/libovsdb ). Since we are mostly doing this to make it faster

Re: [ovs-discuss] OVN: Any objections for making logical router and logical switches tables indexed by name?

2021-08-12 Thread Ben Pfaff
On Tue, Aug 10, 2021 at 12:22:01PM -0400, Flavio Fernandes wrote: > After listening to episode 72 of OVS Orbit [4], I would like to ask: > does anyone have objections to adding "indexes": [["name"]], to the > logical-router [2] and logical-switch [3] tables? I understand Ben's > point on making

[ovs-discuss] OVN: Any objections for making logical router and logical switches tables indexed by name?

2021-08-10 Thread Flavio Fernandes
[cc: Ben + Dmitry] Hi folks, I'm looking at some conversion code in ovn-org/ovn-kubernetes where we replace the ovn-nbctl wrapper with the libovsdb library ( ovn-org/libovsdb ). Since we are mostly doing this to make it faster (besides reducing the memory footprint), using the "Where" syntax