refactor port binding codes

Bug #1195047

This patch:
1. removes the iteration in get_ports to call extend_dict_binding
2. uses a unified way for plugins to do this kind of stuff

ml2 will enhance the binding so that it can have different binding
for port according to port's host.
mlnx and bigswitch are also exceptions due to the dynamic binding info.

Change-Id: I5a77eb7395e14482a856e033f536f72a1bf82e06
Delete useless and wrong comments in NEC Plugin

This commit deletes useless and wrong comments in NEC Plugin, and adds
_clean_nec_ini() to Cleanup to make sure it is called.

Fixes: bug #1208716
Change-Id: I5c7950617cdf5d66f5f5cf3334bf2d5e617148eb
Remove openstack.common.exception usage

This file is deprecated, stop using it.

Change-Id: I5d79b8c0134bb5f4021487542d4d0a964281b8bf
Fixes-Bug: #1208734
Cisco plugin db code cleanup, part II

Remove an unused table.
Prefix Cisco tablenames with cisco_.
Make full use of neutron model base class.
DRY out the nexusport binding queries.
Follow coding guidelines for imports.
Improve cisco/db/network_db_v2.py test coverage.
Improve cisco/db/nexus_db_v2.py test coverage.

Change-Id: I8ea110de37552176f2d9bcbff4ca3e0b65dfacdc
Closes-bug: #1202687
Partial-bug: #1190619
Do not alter test_config global in test_extension_ext_gw_mode

Bug 1199557

Instead, allow subclasses to instruct the base test class which
API extension manager they should use as it is already done with
the plugin name.

Change-Id: If4e53ffca3bdeb4fb218918358437aca41489de4
Change decorator to webob as doesn't need to be wsgi

This patch changes the decorates in the metadata agents to webob.Request
as they don't need to go through wsgi. Note: wsgi.Request's base class
is webob.Request.

Fixes bug: 1208907

Change-Id: I069635eb67812136d314fc260cebf65886a95597
Fix BigSwitch plugin to handle device_id re-use in porttracker code

Updates the BigSwitch port_tracker code to use the sqlalchemy merge method
instead of the add method for the port location tracking code to avoid primary
 key constraint errors if device-ids are moved or re-used

Fixes: bug #1208990
Change-Id: I06065ac888873b00f445d4356b17f084ee38c1ea
Sync oslo gettextutils

Change-Id: Id347e157ca2ccefe510b3328ea0047c87f25b3e4
Imported Translations from Transifex

Change-Id: I9fd1c6211c108e110b4d299af62677e6dc0889fc
Fix wrong column name in db migration script of ryu plugin

Fixes bug #1209172

A column name of tunnelkeys table which db migration script of ryu
plugin creates is wrong.
This patch fixes the column name.

Change-Id: Ic3a445ea200111c0d7db93951804e7c4570420f2
Fix lbaas_pool_scheduler db migration

Fixes bug 1209263

Change-Id: I98b05a1a7dde4bcddfcc37e36c57d47465633e6e
Merge "refactor port binding codes"
Merge "Delete useless and wrong comments in NEC Plugin"
Merge "Cisco plugin db code cleanup, part II"
Merge "Do not alter test_config global in test_extension_ext_gw_mode"
Correct NVP license header files

Note: Pointed out by Akihiro but pushed by me as I was the one who
push these files originally so I have to change the license.

Fixes bug: 1209359

Change-Id: I57d0fc588983e1934ad9321d54e642b72bdbdc9c
Merge "Remove openstack.common.exception usage"
Imported Translations from Transifex

Change-Id: I63533a673e63caebbf65ad87e71004082066195f
Fix path for the linuxbridge plugin in folsom initial DB structure

Fixes bug# 1209377

Change-Id: I5c543bed1798a93f69951d5c37cbc654cf23b062
Fix two typos in routing table configuration

Fixes bug # 1209389

Change-Id: I56bca9fa8cae9e78d1de980640256bf18fef1787