[ovs-discuss] [ovn] API related questions

Ben Pfaff blp at nicira.com
Mon Oct 12 15:23:10 UTC 2015


On Mon, Oct 12, 2015 at 12:46:31AM -0500, Murali R wrote:
> - There are external_ids associated with lport in ovn-nbctl. Is there any
> requirement that this must be NULL right now? Does it matter if there is a
> name (for instance port name in neutron).

external-ids is for use by the CMS, which can populate it or leave
unpopulated.

> - Is there any relationship between external_ids defined in lport in nb-db
> and the Interface based external_ids such as iface_id ? 

No.

> Meaning can I have a name defined in nb-db for neutron port-name that
> may not be in any way related to iface_id or any name parameter in
> ovsdb port / Interface?

Yes.

> - Is there any requirement for mac_id to be same between iface in ovsdb and
> lport? I see just second nibble differs fa vs fe in openstack based
> deployment, not sure if that is a neutron/nova quirk or an ovn requirement.

I would ordinarily expect them to be the same.

> - I don't see dedicated api for modifying logical flows? Do we need to use
> ovn-sbctl set Pipeline <field>=<value>.... ?

You shouldn't modify logical flows!  ovn-northd populates them.



More information about the discuss mailing list