[ovs-discuss] Interface Type in Interface Table of OVS DB

Paul Greenberg greenpau at outlook.com
Sun Nov 11 15:54:55 UTC 2018


Hi Ben,

The ovsdb transaction log indeed shows geneve and vxlan interfaces being specified with “type” field. Perhaps the “type” coming out empty is just a cosmetic issue of “ovs-vsctl list” command.

Best Regards,
Paul Greenberg

________________________________
From: Ben Pfaff <blp at ovn.org>
Sent: Saturday, November 10, 2018 3:27 PM
To: Paul Greenberg
Cc: ovs-discuss at openvswitch.org
Subject: Re: Interface Type in Interface Table of OVS DB

There's no way that ovs-vswitchd can know to create a geneve or vxlan
interface unless the database tells it to do so.

Can you provide a copy of your ovs-vswitchd.conf.db, and the output of
ovs-appctl dpif/show?

Thanks,

Ben.

On Sat, Nov 10, 2018 at 07:56:08PM +0000, Paul Greenberg wrote:
> Ben,
>
> It is 100% like that. In my case ovn-controller creates these geneve and vxlan interfaces, but it looks like that information never gets to Interface table, because “type” is empty there.
>
> Best Regards,
> Paul Greenberg
>
> ________________________________
> From: Ben Pfaff <blp at ovn.org>
> Sent: Saturday, November 10, 2018 2:29 PM
> To: Paul Greenberg
> Cc: ovs-discuss at openvswitch.org
> Subject: Re: Interface Type in Interface Table of OVS DB
>
> On Sat, Nov 10, 2018 at 07:15:02PM +0000, Paul Greenberg wrote:
> > Hi Ben,
> >
> > Noticed the following behavior.
> >
> > When I run "ovs-vsctl list Interface", I get:
> >
> > > type : internal
> >
> > only for the bridge interface. The rest of the interface types are empty:
> >
> > > type : ""
> >
> > When I run "ovs-appctl dpif/show", the types are showing up properly, i.e. system, geneve, vxlan.
> >
> > ovs_version: "2.10.90"
> >
> > Do you think this is a cosmetic bug?
>
> I don't know any way you can have vxlan or geneve ports without setting
> the interface type to vxlan or geneve. Please check again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20181111/6a88d341/attachment.html>


More information about the discuss mailing list