[ovs-git] [openvswitch/ovs] 5236c7: ovn-controller: Add datapath-type and iface-types ...

GitHub noreply at github.com
Sat Aug 13 16:20:46 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 5236c73a1ef4cbee104050b6cddd423f9ff8f54d
      https://github.com/openvswitch/ovs/commit/5236c73a1ef4cbee104050b6cddd423f9ff8f54d
  Author: Numan Siddique <nusiddiq at redhat.com>
  Date:   2016-08-13 (Sat, 13 Aug 2016)

  Changed paths:
    M ovn/controller/chassis.c
    M ovn/controller/chassis.h
    M ovn/controller/ovn-controller.8.xml
    M ovn/controller/ovn-controller.c
    M ovn/ovn-sb.xml
    M tests/ovn-controller.at

  Log Message:
  -----------
  ovn-controller: Add datapath-type and iface-types in chassis:external_ids

This patch reads the 'Bridge.datapath_type' column value of the integration
bridge and 'Open_vSwitch.iface_types' column value and sets these in the
external_ids:datapath-type and external_ids:iface-types of Chassis table.

This will provide hints to the CMS or clients monitoring OVN SB DB to
determine the datapath type (DPDK or non-DPDK) configured and take some
actions based on it.

One usecase is, OVN neutron plugin can use this information to set the
vif_type (ovs or vhostuser) during the port binding.

Signed-off-by: Numan Siddique <nusiddiq at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Ryan Moats <rmoats at us.ibm.com>




More information about the git mailing list