]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add vhost-user support via ovs capabilities/datapath_type
authorTerry Wilson <twilson@redhat.com>
Thu, 15 Oct 2015 23:50:40 +0000 (18:50 -0500)
committerTerry Wilson <twilson@redhat.com>
Wed, 18 Nov 2015 20:04:06 +0000 (14:04 -0600)
commit34d4d46c40b5204ffaf8c8a3e2464a19f9d8b2cd
tree2ef1b2f76431df0d6f11bdf726ae80492710e60a
parent755013615c2dcdea400cbbf2bad50ed2f08feedc
Add vhost-user support via ovs capabilities/datapath_type

Adds the ovs 'config' property which returns the contents of the
single row of the Open_vSwitch table. This gives access to certain
OVS capabilities such as datapath_types and iface_types.

Using this information in concert with the datapath_type config
option, vif details are calculated by the OVS mech driver. If
datapath_type == 'netdev' and OVS on the agent host is capable of
supporting dpdkvhostuser, then it is used.

Authored-By: Terry Wilson <twilson@redhat.com>
Co-Authored-By: Sean Mooney <sean.k.mooney@intel.com>
Closes-Bug: #1506127
Change-Id: I5047f1d1276e2f52ff02a0cba136e222779d059c
doc/source/devref/ovs_vhostuser.rst [new file with mode: 0644]
etc/neutron/plugins/ml2/openvswitch_agent.ini
neutron/agent/common/ovs_lib.py
neutron/common/constants.py
neutron/plugins/ml2/drivers/openvswitch/agent/common/config.py
neutron/plugins/ml2/drivers/openvswitch/agent/common/constants.py
neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py
neutron/plugins/ml2/drivers/openvswitch/mech_driver/mech_openvswitch.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_tunnel.py