Make DbPlugin accept status in create_network().

This commit makes NeutronDbPluginV2 get network status from input at
create_network() to allow other plugins to set network status while
creating DB entry.

Now plugins can create network with any status in a single DB commit.
(e.g. Set network status to 'DOWN' when admin_state_up is False.)

This commit also changes NeutronDbPluginV2TestCase() to make default
network status configurable in each plugin test case.

Fixes: bug #1207167
Change-Id: Id3ad26719036c631e4b268150407a2c69919203f
LBaaS: pass the complete healthmonitor object to driver

Fixes bug: #1208372

Change-Id: I72198446f4de3907d92fc9c2bbdb403cf2e87341
Externalize error messages in the API

This patch does more internationalization for the REST API error
messages that don't currently have it to take advantage of the new
support added by bp user-locale-api to show error messages in the locale
requested by the user through the Accept-Language HTTP header.

Partially implements bp user-locale-api

Change-Id: I92780b42c125a91ab4916b7a31e4b71d306a89a1
Fix H102, H103 Apache 2.0 license hacking check error

Closes-Bug: #1209070

This commit addresses H102 and H103 hacking check.
  H102  Apache 2.0 license header not found
  H103  Header does not match Apache 2.0 License notice

Also ignores H233 hacking check in tox.ini.
  H233  Python 3.x incompatible use of print operator

Change-Id: I081964bf0b9e21614da2f146bd3ba8d28e211024
Imported Translations from Transifex

Change-Id: I94106b16c4f1bfb6ed7f7cb9d085d55f1ac42da7
Remove unused *AlreadyAttached exceptions

This patch simply removes two exceptions which are not being used.

Closes-Bug: #1210276

Change-Id: I5a3412160f49f6e37f3d9182ce4d4a59b1d7bc09
Ignore pbr*.egg directory

Change-Id: I8a143a20947fef1d1d6a28e53893efe01f49884c
Fixes: Bug #1210306
Merge "Externalize error messages in the API"
Merge "Remove unused *AlreadyAttached exceptions"
Make SubnetMismatchForPort extend BadRequest rather than Conflict

Nova is trying to do a better job of mapping Neutron exceptions and
change I4c087684ef77988e5f463d7f2f50fc2a04f37db0 is trying to map 409 to
the proper nova exception. In looking at what raises a 409 exception in
Neutron, the SubnetMismatchForPort exception seemed like a candidate for
changing from Conflict (409) to BadRequest (400) to ease that mapping.

Note that the only thing currently using this exception is the L3 router
extension when removing a router interface and the 400 response code is
already listed in the API docs as a possible response code:

http://docs.openstack.org/api/openstack-network/2.0/content/router_remove_interface.html

Also note that it's generally OK to change APIs for a more accurate
response code:

https://wiki.openstack.org/wiki/APIChangeGuidelines#Generally_Considered_OK

Related-Bug: #1209446

Change-Id: I4507e1db69d738ec0f943f1b8b1209f269d5aebf
Merge "Ignore pbr*.egg directory"
Add support for service plugins to the migration framework

Implements blueprint migrations-for-service-plugins
Fixes bug 1209151

Change-Id: If7fc7a4488352e9b65b6973d8ea631e0d9ed8b68
Merge "Fix H102, H103 Apache 2.0 license hacking check error"
Merge "LBaaS: pass the complete healthmonitor object to driver"
Fix broken database migration for Cisco plugin

Remove migration for a table that was never used.
Correct table drop order due to foreignkey dependency.

Closes bug: #1210219

Change-Id: I38bcedf7a84967bea2c1679a6a6ab51a9451b33a
Merge "Add support for service plugins to the migration framework"
Merge "Make DbPlugin accept status in create_network()."
Imported Translations from Transifex

Change-Id: I60c32ce8269362f707bdfd5d0952f808c449a666
Merge "Fix broken database migration for Cisco plugin"
Merge "Imported Translations from Transifex"