Remove __init__.py from bin/ and tools/.

To avoid installation into .../site-packages/quantum via
packages=setuptools.find_packages('.') in setup.py. Both directories
are not Python modules.

Change-Id: I794ad047a5ed52cb040490eb1be54c513c9d1e7c
plugin/ryu: make live-migration work with Ryu plugin

Fixes bug 1085861

Live-migration with Ryu plugin doesn't work because the unique constraint of
PortBinding table is violated as follows.
Now Ryu can handle those informations itself, so remove the table itself and
simplify Ryu plugin.

> ERROR [quantum.api.v2.resource] update failed
> Traceback (most recent call last):
>   File "/quantum/api/v2/resource.py", line 95, in resource
>     result = method(request=request, **args)
>   File "/quantum/api/v2/base.py", line 397, in update
>     obj = obj_updater(request.context, id, **kwargs)
>   File "/quantum/plugins/ryu/ryu_quantum_plugin.py", line 226, in update_port
>     port_binding.dpid, port_binding.port_no))
> InvalidInput: Invalid input for operation: invalid (datapath_id, port_no) requested (00002eab88ec5140, 4), but (0000c2f19014c74a, 1).

Change-Id: I7d993fd01125a27f6bf8e1b3fcac79ddcb8cb361
add state_path sample back to l3_agent.ini file

fixes bug 1086012

A prior change incorrectly removed the sample state_path from the
l3_agent config file.  This change adds the correct sample value to the
file.

Change-Id: I10455706442c004e5d0337834b5baa3b794af5e7
Merge "add state_path sample back to l3_agent.ini file"
Fix rootwrap cfg for src installed metadata proxy.

 * The metadata proxy script will be installed to /usr/local/bin
   if installed from source, rather than the default /usr/bin.
   The filter config needs to be updated to reflect this or
   invacation of the proxy by the l3 agent will fail.

Change-Id: Iccb4133b1ac33a1b9b232c1d68979fe646e1b977
l3 agent rpc

On one hand, we sync router data (including routers,
their gw ports, interfaces and floatingips) from l3_agent
to quantum server periodically if needed.

On the other hand, we notify l3 agent from quantum server when
we delete or update a router's stuff, such as floating IP,
interface and gwport and router itself.

blueprint rpc-for-l3-agent
bug #1080286

Change-Id: I60f3081975fc7164b22f9e9fa941e702a3f4c663
Refactor resources listing testcase for test_db_plugin.py

Fixes bug 1083502
Add common function '_test_list_resources' for resource listing.

Change-Id: I5b144ff3924cbc623174172f3f74b2d33d24229b
Merge "Remove __init__.py from bin/ and tools/."
Merge "plugin/ryu: make live-migration work with Ryu plugin"
Merge "l3 agent rpc"
Sort router testcases as group for L3NatDBTestCase

Sort order of testcases as group for readability.

Change-Id: I5f74145b8a84cf837b97a03aa38583111ff80fab
Add VIF binding extensions

The is part of the blueprint vif-plugging-improvements.

The patch adds an extension to Quantum that enables the plugin to
return VIF details.

At the moment it supports openvswitch and linuxbridge.

Change-Id: Ib9b4d34e668e2ddc61c152c2c4cd4a01f2d0de40
Returns more appropriate error when address pool is exhausted

Fixes bug 1086226

Change-Id: I97a73151a1ed42877116238a6a741c68c75e199a
Drop duplicated port_id check in remove_router_interface()

Fixes bug 1075157

In addition exceptions used in remove_router_intreface are defined
and gettextized.

Change-Id: I30b1561f3d4be12e485c506e5c3828b41ab226ef
Releasing resources of context manager functions if exceptions occur

The functions using decorator @contextlib.contextmanager in files below
has potential resorce leaks when exceptions occur.
 - quantum/tests/unit/test_policy.py
 - quantum/tests/unit/test_db_plugin.py
 - quantum/tests/unit/test_l3_plugin.py
 - quantum/tests/unit/test_extension_security_group.py

This patch let them releasing resources correctly.

Fixes bug #1083045

Change-Id: I66266b7afa4977537caabafc82d8c294730188ba
Add router testcases that missing in L3NatDBTestCase

Fixes bug 1083504
Add router testcases in L3NatDBTestCase
Correct router testcases name. Use the same naming rule as test_db_plugin

Change-Id: Icfbef5ec7861aee07df3d451c09f06265fbafe21
Merge "Drop duplicated port_id check in remove_router_interface()"
Merge "Releasing resources of context manager functions if exceptions occur"
Correct i18n message for linuxbridge plugin

part of bp make-string-localizable

Change-Id: Ie5c42e71084d376eca1edc750467b8498a4d8dc4
Prevent unnecessary database read by l3 agent

Fixes bug 1088129

Change-Id: I887facf321f3267c16c101a1448827f6c046bb2c