OpenStack Networking (Neutron)
Go to file
Ihar Hrachyshka da8d5b4770 Allow to disable DVR api extension loading
A lot of clouds using the router service plugin don't configure for DVR,
but the service plugin still loads the extension, and exposes it via
API. Which will break if api consumers (admins with default policy.json)
attempt to create new style routers based on the information passed
through /extensions/ api.

This change introduces a new config option that allows to avoid loading
the extension. For complatibility sake, it requires an opt-in from ops
side to disable it, otherwise the extension is still loaded as before.

This is helpful for automation matters. It may also be useful when
preparing tempest.conf api_extensions=, when you could actually pass the
result of /extensions/ request into tempest and expect the test suite to
pass without yanking dvr off the list for non-dvr setups.

We could go further and try to check if the controller is configured
properly. That is complicated by the fact that f.e. such validation may
require talking to ml2 drivers, or even agents, which is not feasible
during api startup.

Change-Id: I84be9be93862fe71a2d5b5322d7ebd476c784163
Related-Bug: #1450067
2017-04-16 17:44:31 -07: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 Move NEUTRON_* definitions from plugin.sh into settings file 2017-03-21 10:16:00 +00:00
doc Merge "DocFix: sriov_nic_agent supports qos" 2017-04-16 03:08:46 +00:00
etc Port data plane status extension implementation 2017-04-11 19:56:13 +00:00
neutron Allow to disable DVR api extension loading 2017-04-16 17:44:31 -07:00
rally-jobs Fixed validation of create_and_list_trunk_subports rally scenario 2017-04-06 12:30:15 -07:00
releasenotes Allow to disable DVR api extension loading 2017-04-16 17:44:31 -07:00
tools Fix bashate warnings 2017-03-07 13:32:04 -05:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Automatically generate neutron core configuration files 2015-11-27 15:22:59 +00:00
.gitreview Fix .gitreview to not point at a branch 2015-08-17 13:51:51 -06:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Fix typo in .pylintrc file 2017-02-09 01:07:07 +00:00
.testr.conf Allow more time for DB migration tests 2016-09-21 20:54:41 -04:00
CONTRIBUTING.rst Make crystal clear how to contribute/approach the neutron community 2016-10-28 11:49:44 -07:00
HACKING.rst Merge "Replace assertEqual(None, *) with assertIsNone in tests" 2016-11-22 02:15:19 +00: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 Show team and repo badges on README 2016-11-25 15:35:21 +01:00
TESTING.rst docs: Update TESTING.rst with gate information about ovs 2017-04-12 16:31:31 +00:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Switch ns-metadata-proxy to haproxy 2017-03-08 15:20:50 +00:00
requirements.txt Updated from global requirements 2017-04-14 11:48:13 +00:00
run_tests.sh Add bashate support 2017-02-25 06:29:55 +00:00
setup.cfg Merge "Port data plane status extension implementation" 2017-04-16 04:15:17 +00:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Updated from global requirements 2017-03-04 11:19:58 +00:00
tox.ini Fix bashate warnings 2017-03-07 13:32:04 -05: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