Remove race condition (in InstanceTypeProjects)

Soft delete all duplicate rows with the same (project_id, instance_type_id)
except one with the biggest value in `id` column.

Create UC on columns (project_id, instance_type_id, deleted)

Add tests for migration

Fix instance_type_access_add method
	Replace Select then Insert -> Try to Insert.

blueprint db-enforce-unique-keys

Change-Id: Id70509337e78f3bf778501f2c77aa03263580ef0
Add missing tests for instance_type_extra_specs_* methods

There was no tests in test_db_api for instance_type_extra_specs_*
methods.

Add tests to ensure that all works.

blueprint db-api-tests

Change-Id: Ie88aa776574c5ddf37a1adcf7cc2c9e70c6eb810
Cannot boot vm if quantum plugin does not support L3 api

Fixes bug 1163670

Change-Id: I87f0b73e5040b5f9cf7d8c30aa16a2a33faca14f
Correct network uuid field for os-network extension 

"nova net-list" does not return network uuid even when the uuid is
available, and instead returns only the id. This is because the
"network_dict" function in the extension improperly uses "in" to check
for a Network model object. This also reduces compatibility in the API.

Fixes bug: 1162409

Change-Id: I30d4c8bfa37d89123f35ee8cc7c67f0e819262a7
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
Merge "Correct network uuid field for os-network extension "
Merge "Cannot boot vm if quantum plugin does not support L3 api"
nova-consoleauth start failed by consoleauth_manager option missing 

Miss onsoleauth_manager option importing caused nova-consoleauth service
start failure: "NoSuchOptError: no such option: consoleauth_manager".

Fixes bug: 1164845

Change-Id: I59a15a423f49ee6c28401f905b4973c2231faaa6
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
Imported Translations from Transifex

Change-Id: Ie8f1609f82471ffc0da4594c590aaf763189edf8
Add reset function to nova coverage.

Now nova coverage is standardized to accumulate coverage data.
It enables user to get combined coverage data of several tests.
In addition to it, we need to restart nova services when measuring
coverage of each test because there is no function to reset data.
This adds reset coverage data API.

Fixes bug: 1164331

Change-Id: Idd16cf3849b6510e7c620ed3bf16d507ed44c328
Merge "Remove race condition (in InstanceTypeProjects)"
Merge "Add missing tests for instance_type_extra_specs_* methods"
Add an extension to show the network id of a virtual interface

This extension adds the OS-EXT-VIF-NET:net_id param
so that users can determine vif plunged into which network now.

DocImpact

Change-Id: I56bef5c45f7f545aa5e9b13760dff1c802da0f8f
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
Merge "nova-consoleauth start failed by consoleauth_manager option missing "
Merge "Add an extension to show the network id of a virtual interface"
Merge "Add reset function to nova coverage."