Configure 'api_extensions_path' in midonet plugin

'api_extensions_path' need to be set before creating the test api and
instantiate the PluginAwareExtensionsManager in the 'test_db_plugin'
module.

Otherwise, the plugin will raise an exception like:

ExtensionsNotFound: Extensions not found: ['extension_name']

when adding new vendor extensions in the 'supported_extension_aliases'
attribute in the MidonetPluginV2 class.

Change-Id: I666bdadb8cef37d54444e9b55aaab923b6ccf717
Merge "Configure 'api_extensions_path' in midonet plugin"
Add host extension

Host extension for midonet exposed as is documented here:
https://github.com/midokura/midonet-docs/blob/master/api/source/api/\
rest-api-specification.rst#host

Host Version has been merged into Host entity.

Host interface read only resource exposed too.

Full tests over exposed endpoints.

Change-Id: I990e4fec04bc853e221c609d6c404cba363284b4
Move utilities in the core plugin to the util module

This patch moves handle_api_error, MidonetApiExcption and
MidonetPluginException to midonet/neutron/common/util.py.

Change-Id: I011140d3f85f9c48e7d5cdbe5c5b85c7e400634f
Signed-off-by: Taku Fukushima <tfukushima@midokura.com>
Midonet Network extension

New Midonet Network (Bridge) extension. Using midonet, the network
creation will show the own bridge inbound and outbound filters.

Change-Id: I65512dde6311a81c5a94a7ebd9d2508df9241510
Add system status extension

Manage and view the Midonet system status from the Neutron API.

Change-Id: Icf30fdd1776bfe914f3ac0020dfb25bdd0a882d1
Add subnet (DHCP Subnet) extension

Add Midonet attributes to Neutron subnet's resource. DHCP hosts endpoint
embedded in the subnet as well.

Change-Id: Idf9a014b08d6c3adc9eed31a09a54fdadd54313d
Use the new MidonetClient object

Old MidonetClient is deprecated in the favor of the new one.

Change-Id: Iba38406066b4ffdddf766490da6441190abf5409
Signed-off-by: Ryu Ishimoto <ryu@midokura.com>
Add a decorator for extensions

This patch adds a decorator that automatically generates the extension
methods required as a Neutron extension for the initial step of the
MidoNet API migration.

Change-Id: I1e9b9fb10f8cc319206884a81a06ed741f3f6f06
Signed-off-by: Taku Fukushima <tfukushima@midokura.com>
Add skeleton of a decorator for API handler mixins

This patch adds a decorator function that generates required methods for
API handler mixins based on the given list of strings represent required
handlers.

Change-Id: I8da516c849d1216201af9e753ab9fd1fe6ce9ddb
Signed-off-by: Taku Fukushima <tfukushima@midokura.com>
Add Tunnel Zone resource to the extension

This patch adds the tunnel zone and tunnel zone host resource extension
and the API handler mixin to our plugin.

Change-Id: Ia652c5afa0e00a358325b80d6c6dab27152ced56
Signed-off-by: Taku Fukushima <tfukushima@midokura.com>
Modify the core plugin to load extensions

Change-Id: Iff53db4754aac857e4dd10a2be1ade975029eb14
Signed-off-by: Taku Fukushima <tfukushima@midokura.com>
Add Tunnel Zone and Tunnel Zone Host API handlers

This patch adds TunnelzoneHandlerMixin and
TunnelzonehostHandlerMixin to the core plugin using
generate_methods decorators.

Change-Id: Ia652c5afa0e00a358325b80d6c6dab27152ced56
Signed-off-by: Taku Fukushima <tfukushima@midokura.com>
Inject tunnel zone API handler mixin to the core plugin

This patch injects TunnelzoneHandlerMixin into MidonetPluginV2 and add
'tunnelzone' to the list of the extensions to be loaded.

Change-Id: I5069404a9149d5b732ff06abf990faf5e99fec10
Signed-off-by: Taku Fukushima <tfukushima@midokura.com>