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
Add SecurityGroups API sample tests

Add sample tests for adding and removing security groups
Fixes bug 1157222

Change-Id: Ib8450fcd6334b720a2199d52e07ae00f78aa6df0
Only call getLogger after configuring logging.

Logging needs to be setup properly before we try to log
something. Fix a test case that loads the code but does
not execute the code that results in the LOG being setup
properly.

Fixes LP# 1161031

Change-Id: I9d5bc6b87cfb25243f00e17b532d4485dc4454e4
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 "Only call getLogger after configuring logging."
Allow describe_instances to use tags for searches

In the EC2 API, the DescribeInstances API call allows for a 'filter'
argument to be passed, consisting of key/value filter pairs.  If the
filter contains tag:<something> or tag-<something>, the search is done
on resource tags.

See
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeInstances.html
for details of the API and

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html for
usage.

Change-Id: If2622c4dacbdd3a53fd6d49242225692da8b741a
Signed-off-by: Stephen Gran <stephen.gran@guardian.co.uk>
Merge "Correct network uuid field for os-network extension "
Merge "Cannot boot vm if quantum plugin does not support L3 api"
Imported Translations from Transifex

Change-Id: Ie8f1609f82471ffc0da4594c590aaf763189edf8
Merge "Remove race condition (in InstanceTypeProjects)"
Merge "Add missing tests for instance_type_extra_specs_* methods"