OpenStack Networking (Neutron)
Go to file
Martin Matyáš 676257cea0 Remove recursion from import_modules_recursively
Since the function already uses os.walk that will iterate through all
subdirectories for us, there is no need to recursively call the
function.

The recursive call was not just redundant, but also had another problem,
where we were passing relative paths to subdirectories, which made the
function to attempt importing modules that are not located under the
topdir. It could crash, or, worse, import a module that is
not under the expected parent directory.

This patch also modifies an existing unit test for the function to
validate that modules from subdirectories are also imported, even
without the recursive call.

Change-Id: I8b3a844460e4987b8a8375b01353d01e57d91604
Closes-Bug: #1634735
2016-09-30 21:48:50 +00:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
bin Close XenAPI sessions in neutron-rootwrap-xen-dom0 2016-03-18 13:05:09 -05:00
devstack Add missing revision number altercations 2016-09-25 02:18:01 -07:00
doc Make Jakub Libosvar contact for ovs-fw tag 2016-10-05 16:34:56 +02:00
etc Add http_proxy_to_wsgi to api-paste 2016-10-14 11:24:03 +03:00
neutron Remove recursion from import_modules_recursively 2016-09-30 21:48:50 +00:00
rally-jobs Merge "Lower concurrency on rally port job" 2016-10-05 02:28:44 +00:00
releasenotes Merge "Add http_proxy_to_wsgi to api-paste" 2016-10-16 12:58:23 +00:00
tools Merge "Make milestone-review-dash script pull all Stadium projects" 2016-09-01 11:37:44 +00: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 pylint: remove 'openstack' from ignore list 2016-09-08 16:39:02 +00:00
.testr.conf Allow more time for DB migration tests 2016-09-21 20:54:41 -04:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:37 +00:00
HACKING.rst Forbid importing neutron.tests.* from outside tests subtree 2016-09-15 18:42:45 +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 corrected the link in README.rst 2016-08-01 23:48:05 +08:00
TESTING.rst Forbid importing neutron.tests.* from outside tests subtree 2016-09-15 18:42:45 +00:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Fix periodic jobs: Add databases to bindep.txt 2016-10-09 06:31:00 +02:00
requirements.txt Updated from global requirements 2016-10-17 15:45:54 +00:00
run_tests.sh Remove check for bash usage 2015-04-07 15:15:33 +00:00
setup.cfg Install dibbler.filters rootwrap file 2016-09-21 16:41:05 +02:00
setup.py Updated from global requirements 2015-09-21 18:56:49 +00:00
test-requirements.txt Updated from global requirements 2016-10-07 19:40:57 +00:00
tox.ini Added bindep.txt to the project 2016-09-26 10:35:50 +00:00

README.rst

Welcome!

You have come across a cloud computing network fabric controller. It has identified itself as "Neutron." It aims to tame your (cloud) networking!

External Resources:

The homepage for Neutron is: http://launchpad.net/neutron. Use this site for asking for help, and filing bugs. Code is available on git.openstack.org at <http://git.openstack.org/cgit/openstack/neutron>.

The latest and most in-depth documentation on how to use Neutron is available at: <http://docs.openstack.org>. This includes:

Neutron Administrator Guide

http://docs.openstack.org/admin-guide/networking.html

Neutron Developer Guide

http://docs.openstack.org/developer/neutron/devref/

Networking Guide

http://docs.openstack.org/networking-guide/

Neutron API Reference:

http://developer.openstack.org/api-ref/networking/v2/

Current Neutron developer documentation is available at:

http://wiki.openstack.org/NeutronDevelopment

For help on usage and hacking of Neutron, please send mail to <mailto:openstack-dev@lists.openstack.org>.

For information on how to contribute to Neutron, please see the contents of the CONTRIBUTING.rst file.