Add InvalidExternalNetwork exception to display correct error

Fixes bug 1075089

The message in the BadRequest exception raised in file
quantum/tests/unit/test_l3_plugin.py is
being muted in the logfile  since the BadRequest is
catched and writes its own log message.

Change-Id: Ia0140620205a80dd4b3637b2d41562adb7992b5c
Make MidoNet plugin code more testable

Refactor plugin.py and midonet_lib.py to improve unit testing of
the MidoNet plugin.  Make all the tests pass in the plugin except
those that test features that are not currently supported by the
plugin, which are IPv6 and multiple subnets per network.
Consolidate the mocking code in mock_lib.py to be shared by
plugin.py and midonet_lib.py.

Change-Id: Idcdfc3d90d5ec9e0be29bb6833d336af596fe363
Fixes: bug #1133215
Signed-off-by: Ryu Ishimoto <ryu@midokura.com>
Signed-off-by: Tomoe Sugihara <tomoe@midokura.com>
Control resource extension process defining required extensions

Blueprint l3-ext-gw-modes

The resource extension process is slightly altered so that an
API extension can specify which extensions should be processed before
its attributes can be processed. This is needed to ensure the
l3-ext-gw-mode API extension sets up correctly validators and other
attributes for the external_gateway_info attribute

Change-Id: I7c05746e67b1324a73082dde8b5c862d631c083c
Reduce plugin accesses from policy engine

Bug 1179745

This patch introduces a new type of check whose aim is to fetch
the parent resource's owner only when a rule that explicitly needs
it needs to be checked.

Change-Id: I1ff429eb3f92b35bcb9b4c4e01b65f8c0a595f48
DbQuotaDriver allows negative quotas to be set.

Bug 1178886

Change-Id: I06ece65c2d77b8258bb871bb396edc5c145c383a
Fix typo

Change-Id: I83bdbd5d58a217d616bb2bb68f82ef6586d7b715
Fix pool update error in lbaas

fixes bug 1185687

Do not notify namespace agent of modified pool
if pool doesn't have vip

Change-Id: Ibe3399aaa145d19fc758f08adb51c7ffefa5bb3a
Imported Translations from Transifex

Change-Id: I1927741396e5f4ab237267fd2cc72d19acc0481e
Align default value notation in configuration files

Fixes bug 1185712

Change-Id: Id17779f8f464fcaf36bbab9f84c29e35d86214b7
Fix Cisco nexus plugin failure for first VLAN on phy interface

Fixes bug 1174852

This fix changes the command being sent to the Nexus switch for
enabling a VLAN on an interface such that the 'add' keyword is
included only when there are prior VLANs already enabled on that
interface.

Change-Id: I466bcb839912b164b84be0e6721d87206c0e53eb
Rename requires files to standard names.

Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files, and tools in the
general world are growing intelligence about them.

Fixes: bug #1179008
Change-Id: I6f8a11988982133249d443403f63b4f8724e156e
Merge "Imported Translations from Transifex"
Add L3 resources to policy.json

This patch adds the l3 resources to policy.json. I tested changing the
rule to rule:admin_only for all the resources added and they were
enforced as expected.

Fixes bug 1186077

Change-Id: Ib5e2879165d9dc6416be4c96c62d6e49452d3be5
Merge "Rename requires files to standard names."
Merge "Fix pool update error in lbaas"
Merge "Fix Cisco nexus plugin failure for first VLAN on phy interface"
Merge "Control resource extension process defining required extensions"
Imported Translations from Transifex

Change-Id: I9ad53953b1902c2538fe6888773ea0d7811371d3
Sphinx-ify QuantumPluginBaseV2 docstrings

The quantum.quantum_plugin_base_v2 module had some good docstrings,
but there was no corresponding sphinx code that would generate
docs from them. There were also some syntax issues with the
sphinx markup in the docstrings.

This change adds sphinx directives so these docs will be auto-
generated. It also modifies the docstrings in the QuantumPluginBaseV2
methods so they are parsed by the Sphinx documentation generator
without any errors.

If this patch is accepted, a "Plugin API" link to these docs
will appear at

http://docs.openstack.org/developer/quantum/

Fixes bug 1186255

Change-Id: I96eddcc516d109766d7f4c52edd595748696b595
Merge "Fix typo"