Virtual private network services for OpenStack Neutron.
Go to file
Ryota MIBU bf11f609d0 Refactor unit tests for NEC Plugin
blueprint nec-plugin-test-coverage

This commit refactors the base class of unit tests for NEC Plugin to
make writing new tests easier.

Add fake OFC Manager and change unit tests which use OFC Manager mock
to using this fake.  With this fake, we don't need to set return_value
and side_effect to the mock instance of OFC Manager in each test case.
This fake keeps all resources on OFC, and returns existence of
resources properly.  This fake is attached to OFC Manager mock instance
by setting all side_effects.  We can also set it to raise an exception.

Make NEC Plugin configurable in each test case.  Now we can configure
NEC Plugin by setting string in class value "_nec_ini" which will be
written into a temporal file and loaded by NEC plugin.

Move setup for callbacks into NecPluginV2TestCase() so that other unit
tests can use callbacks.

Change-Id: I3a52423bb5813547345677dc49abfea6563dd6cd
2013-07-12 15:40:33 +09:00
bin Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
contrib Update tox.ini to support RHEL 6.x. 2013-03-08 08:52:25 -05:00
doc Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
etc Merge "Initial Modular L2 Mechanism Driver implementation." 2013-07-11 12:35:27 +00:00
neutron Refactor unit tests for NEC Plugin 2013-07-12 15:40:33 +09:00
quantum Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
tools git remove old non-working packaging files 2013-07-07 22:18:45 -04:00
.coveragerc fix some missing change from quantum to neutron 2013-07-08 12:11:04 +08:00
.gitignore Add cover/ to .gitignore 2013-07-10 13:47:52 +09:00
.gitreview Rename quantum to neutron in .gitreview. 2013-07-06 12:25:09 -04:00
.mailmap update mailmap 2013-05-23 08:47:08 +00:00
.pylintrc Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
.testr.conf Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
HACKING.rst Rename Quantum to Neutron 2013-07-06 15:02:43 -04: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
MANIFEST.in Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
openstack-common.conf Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
README.rst Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
requirements.txt Fix issue with pip installing oslo.config-1.2.0 2013-07-11 20:17:04 +01:00
run_tests.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
run_tests.sh Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
setup.cfg Initial Modular L2 Mechanism Driver implementation. 2013-07-10 18:16:03 -07:00
setup.py Move to pbr. 2013-05-17 08:31:44 -07:00
test-requirements.txt Remove explicit distribute depend. 2013-06-11 11:38:57 -07:00
TESTING Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
tox.ini Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00

# -- 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 github at <http://github.com/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/trunk/openstack-network/admin/content/

Neutron API Reference: http://docs.openstack.org/api/openstack-network/2.0/content/

The start of some developer documentation is available at: http://wiki.openstack.org/NeutronDevelopment

For help using or hacking on Neutron, you can send mail to <mailto:openstack-dev@lists.openstack.org>.