[ovs-git] [openvswitch/ovs] 6ca889: ovs-vsctl: Add datapath_type column to show command.

Ben Pfaff noreply at github.com
Fri Mar 22 21:07:30 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 6ca88964d27ae95f9e60bf05fdefd163e039bc36
      https://github.com/openvswitch/ovs/commit/6ca88964d27ae95f9e60bf05fdefd163e039bc36
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2019-03-22 (Fri, 22 Mar 2019)

  Changed paths:
    M utilities/ovs-vsctl.c

  Log Message:
  -----------
  ovs-vsctl: Add datapath_type column to show command.

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
  ...

Acked-by: Eelco Chaudron <echaudro at redhat.com>
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list