Fix scheduler prep_resize deprecated comments

The scheduler prep_resize RPC method is still used by the compute
manager for scheduler retries on prep_resize failures.  It is not
deprecated yet despite the comments saying so.  This removes the
comments for now.

Change-Id: I858abff1bf08c7ecf50333b8776b18fc08730145
Merge "Support networks without gateway"
Merge "VMware: Ensure Neutron networking works with VMware drivers"
Remove docstrings in tests

Remove docstrings introduced in Change
Ie0406c1d4b47a51473979910c0908b153497d503

Change-Id: I60677fb585b7ef436ac655ba1bc8f04cd1f99833
Add jsonschema to Nova requirements.txt

jsonschema is requested for validate the whitelist and alias
definition.

Change-Id: Iec3c14bb407cce88fd5af54a3930d83c53033293
Remove redundant _create_instance method from test_compute

The _create_instance method in test_compute.BaseTestCase simply calls
through to _create_fake_instance, so it's redundant. Furthermore, the
docstring was wrong, it said it returned a UUID when it really returned
the instance reference. This patch simply removes _create_instance and
replaces it's usage with _create_fake_instance.

Fixes bug 1206993

Change-Id: I3fc42c94691cd0d046f19cdf2110a95b9a125edd
Remove legacy network model in tests and compute manager

Update unit tests to use current network info model, remove
old legacy "network, mapping" model. This patch also removes
code for compatible with Folsom vif db info cache in compute
manager.

Partly implement blueprint nova-network-legacy

Change-Id: I3c18d786fb3eb7105be89ccac96c6fd3d078853d
[v3] Show detail of an quota in API os-quota-sets

nova-manage shows `in_use`, `reserved` including `limit` of a quota.
So create a new API named `detail` to do the same with nova-manage.

The new URL is like :/v3/os-quota-sets/1234/detail.

Fix bug: #1183870

DocImpact

Change-Id: Ic53a68acf0f3f3184c7a900360343bb576560f46
Adds missing V3 API scheduler hints testcase

Adds a testcase for the V3 API scheduler hints extension
which was missed in the initial port

Partially implements blueprint v3-api-unittests

Change-Id: I21fe5f25c806310395bbcd41e6ca84d2c0c02569
enhance description of share_dhcp_address option

It is easier to understand how the option works.

related to bug #1092347.

Change-Id: I843c36c24e82ee26054430e4bd3bdcf4110e4f90
Merge "Enforce flavor access during instance boot"
Merge "Adding support for iSER transport protocol"
Remove duplicate variable _host_state

* The variable _host_state is initialized twice in __init__() method of libvirt driver.
This patch removes the second occurrence.

Fixes bug #1214431

Change-Id: I13f175abcbce7752afb0d8c69ee209928afa1eb3
Merge "Search filters for get_all_system_metadata should use lists"
Fix a typo in test_migrations for migration 209

Happened to see that typo asserFalse and fix it.

Change-Id: I3aab9f1f7f5d253ca72a907d12eecfdbeeeaf981
Signed-off-by: Shane Wang <shane.wang@intel.com>
Add unique constraint to AggregateMetadata

Added unique constraint
'uniq_aggregate_metadata0aggregate_id0key0deleted'
('aggregate_id', 'key', 'deleted') to
AggregateMetadata model and migrate
scripts.

Exception from UC violation used in method
aggregate_metadata_add() for race condition check.

blueprint db-enforce-unique-keys

Change-Id: I793706964ce76340c87e536af35a2dfa37408869
Add flag to make IsolatedHostsFilter less restrictive

This patch allows to run 'isolated' and 'non isolated'
images on isolated hosts by adding a flag
'restrict_isolated_hosts_to_isolated_images'.

If the flag is set to True then 'non isolated' images
can't be run on isolated hosts (same behaviour as the
current filter) otherwise they can be run on isolated
hosts.

DocImpact

blueprint improve-isolatedhostsfilter

Change-Id: I8c092caf32c05be88a547a7e8cb0530cc4925080
Added test case in test_migrations for migration 208

This patch is to add test case in test_migrations.py for migration 208.
Migration 208 was brought by commit 74b024f75403c168b5c69ee67a16d1053965e5db
(Change-Id: I72371260159c9fdffcdb57209095fc103b6dd79e)

Change-Id: I153abf260716c8af61d7ccf554d91ba80f559e60
Signed-off-by: Shane Wang <shane.wang@intel.com>
libvirt: fix {attach,detach}_interface()

* The get_config() method now takes 6 arguments, instead of 5
  previously. This change has been introduced by commit 08f8773b.

* LibvirtConnTestCase: add the test_attach_interface_get_config() and
  test_detach_interface_get_config() methods to prevent future
  failures.

This fixes bug #1212565.

Change-Id: I4e874f59595c3afe820103a27036519df1a126ff
Merge "Fix migration 210 tests for PostgreSQL"