OpenStack Networking (Neutron)
Go to file
Moshe Levi f6d956c1f5 ovs mech: bind only if user request switchdev
In I77650be5f04775a72e2bdf694f93988825a84b72 we added
vnic_type direct to the ovs mechanism drivers supported
vnic_types. This cause problems when working with ovs and sriovnicswitch
mechanism drivers in that order.  In this case the ovs will bind
the direct port instead of the sriovnicswitch.

This change make ovs mech driver to bind the direct port only
if user requested --binding-profile '{"capabilities": ["switchdev"]}'
in the direct port if a user don't request this capability the SR-IOV
legacy NIC mode is used.

When enable-sriov-nic-features will be implemented in nova and
libvirt will expose the switchdev capability then nova will be
able to select a host which supports SR-IOV nic with switchdev
mode.

[1] - https://review.openstack.org/#/c/435954/11/specs/pike/approved/enable-sriov-nic-features.rst
[2] - https://www.redhat.com/archives/libvir-list/2017-August/msg00583.html

Closes-Bug: #1713590

Change-Id: I0b5f062bcbf02381bdf4f694fc039f9bb17a2db5
(cherry picked from commit b184558ab6)
2017-09-20 05:11:55 +00:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
bin Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00
devstack Add API test for port dns_domain 2017-08-22 17:10:37 +00:00
doc Update link for API extensions 2017-09-18 09:37:23 +00:00
etc linuxbridge-agent: add missing sysctl rootwrap entry 2017-09-06 06:22:18 +00:00
neutron ovs mech: bind only if user request switchdev 2017-09-20 05:11:55 +00:00
rally-jobs Reduce rally sub-port count 2017-08-10 11:21:03 -07:00
releasenotes Merge "Add port dns_domain processing logic" into stable/pike 2017-08-21 05:07:48 +00:00
tools Prioritize tox environment executables for fullstack/functional tests 2017-08-30 20:28:46 +00:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Add auto-generated config reference 2017-07-30 21:14:40 +00:00
.gitreview Update .gitreview for stable/pike 2017-08-11 08:59:13 +00:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Update pylint disable list to pass pylint 1.7.1 checks 2017-06-08 09:49:46 +00:00
.testr.conf Allow more time for DB migration tests 2016-09-21 20:54:41 -04:00
CONTRIBUTING.rst Update the documentation link for doc migration 2017-07-22 18:46:13 +09:00
HACKING.rst Update the documentation link for doc migration 2017-07-22 18:46:13 +09:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
README.rst Optimize the link address 2017-04-07 09:55:12 +08:00
TESTING.rst docs: clarify wording about how to use advanced glance image 2017-08-01 08:56:45 -07:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Add libffi-dev to bindep.txt 2017-06-13 19:26:49 +00:00
requirements.txt Updated from global requirements 2017-09-12 16:22:23 +00:00
run_tests.sh Add bashate support 2017-02-25 06:29:55 +00:00
setup.cfg Update the documentation link for doc migration 2017-07-22 18:46:13 +09:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Updated from global requirements 2017-08-03 00:34:17 +00:00
tox.ini Merge "Hook bandit security linter to pep8 target" into stable/pike 2017-08-18 23:56:41 +00:00

README.rst

Team and repository tags

image

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst