[ovs-dev] [PATCH] [RFC] ovn: add start of ovn-nbctl
Ben Pfaff
blp at nicira.com
Mon Mar 16 21:35:57 UTC 2015
On Mon, Mar 16, 2015 at 02:24:38PM -0700, Gurucharan Shetty wrote:
> On Mon, Mar 16, 2015 at 2:21 PM, Ben Pfaff <blp at nicira.com> wrote:
> > On Mon, Mar 16, 2015 at 04:34:15PM -0400, Russell Bryant wrote:
> >> On 03/16/2015 12:08 PM, Russell Bryant wrote:
> >> > +Commands:\n\
> >> > + add-lswitch Create a logical switch\n\
> >> > + list-lswitch List configured logical switches\n\
> >>
> >> I ran into odd thing with "add-lswitch". There isn't a friendly way to
> >> refer to logical switches you've created. Perhaps it would make sense
> >> to just add a "name" to the schema for a logical switch. Thoughts?
> >
> > I think that's reasonable. We designed the schema with use by
> > programs in mind, not use by humans, and programs are happy enough
> > with UUIDs and so on, so we left out names. But it doesn't cost much
> > to add a "name" column, so I guess we might as well do it.
>
> If names are added, is there a requirement that the name be unique? If
> that is the case, would it not be hard for Neutron to maintain unique
> names across tenants?
I'm thinking of this new column as analogous to the name column in the
Mirror table in the main Open vSwitch database. It's a similar
situation, because there's no need there, either, for a name except to
assist humans. We don't require that column to be unique, so I don't
think we need this new one to be unique either.
More information about the dev
mailing list