[ovs-dev] [PATCH] ovs-vsctl: Add datapath_type column to show command.

Ben Pfaff blp at ovn.org
Fri Mar 22 21:07:38 UTC 2019


On Thu, Mar 21, 2019 at 01:56:47PM +0300, Ilya Maximets wrote:
> Sometimes it's unclear which datapath type is in use by particular
> bridge. For example, if all the interfaces supported by both system
> and netdev datapaths it needs a DB query or log analysis to find out
> which 'datapath_type' is in use.
> Another case is that it's hard to figure out if patch ports are really
> connected to each other. They are definitely not connected if datapath
> types of their bridges differs.
> 
> With this change non-default 'datapath_type's will be exposed to
> 'ovs-vsctl show' command, so it'll be easier to spot misconfiguration.
> 
>   $ ovs-vsctl show
>   ...
>       Bridge "br0"
>           datapath_type: netdev
>           Port "br0"
>               Interface "br0"
>                   type: internal
>   ...
> 
> Signed-off-by: Ilya Maximets <i.maximets at samsung.com>

Thanks, applied to master.


More information about the dev mailing list