Add Midonet Port Extension

Fixes MN-2701

Change-Id: I51407f97905858b6162c7e5a9b57b32a6b1f45aa
Merge "Fix API handler generator to support GET appropriately"
Add Midonet chain-rule Extension

Fixes MN-2854

Change-Id: I3559592b38be653224d443f3e1a5e3be52ca08cb
Add Midonet route extension

Fixes MN-2841

Change-Id: I65e7da1b3dcf4e2b2aaf71f429f688c3d3c29966
Add midonet router extension

Fixes MN-2832

Change-Id: I8f37f6b497d65e26e02662526093512ee2f88bd7
Change midonet network extension to bridge

  * This makes bridge a new extension, rather than an extension of the
    network extension.

Change-Id: I1e8db9ba50d2c6d28e67deb7e985750fffab8886
Add Bgp Midonet Extension

Fixes MN-2844

Change-Id: Ib2f76b1668f8d95b9ea1acc15dd21631fc8b86b1
Add Midonet Port Group Extension

Fixes MN-2865

Change-Id: I12eb6d85e1c5df4183a7b350475eaab3dccb2b37
Add Ip Addr Group Midonet extension

Fixes MN-2857

Change-Id: Ida9d878c18213ef783eb0d6ab6579b3d1194bb06
Modify generate_methods to take vargs

This patch modies generate_methods to take vargs instead of the
sequence. Previously you needed to call it as follows:

    @generate_methods([LIST, SHOW, CREATE, UPDATE, DELETE])

But with this patch you can call it like below:

    @generate_methods(LIST, SHOW, CREATE, UPDATE, DELETE)

Signed-off-by: Taku Fukushima <tfukushima@midokura.com>
Modify generete_methods to support nested resources

This patch modifies generate_methods to support the resources to
have their parent. You can specify the parent esource as follow:

    @generate_methods(LIST, SHOW, CREATE, UPDATE, DELETE)
    class FooHandlerMixin(object):
        """API handler mixin for Foo"""

    @generate_methods(LIST, SHOW, CREATE, UPDATE, DELETE)
    class FoobarHandlerMixin(object):
        """API handler mixin for Foobar under Foo"""
        PARENT = FooHandlerMixin.ALIAS

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.

This patch also adds symbols for 'list', 'show', 'create', 'update'
and 'delete'. It'd be too easy to have typos for them and I added
symbols for them to make it easier to detect typos using the static
checker.

Change-Id: Ia652c5afa0e00a358325b80d6c6dab27152ced56
Signed-off-by: Taku Fukushima <tfukushima@midokura.com>
Add methods required for the plugin

Change-Id: Ifca07bf17ac9c7e946101ff665f3aef310949e30
Signed-off-by: Taku Fukushima <tfukushima@midokura.com>
Add tunnelzone extension

This patch adds tunnelzone extension and unit tests for tunnelzone
extension.

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