Include hostname in notification payloads.

Moniker is going to want this in order to autogenerate
certain DNS records.

Change-Id: I3a9a6afb88712a297397493d310d55abcc63897e
'BackupCreate' rotation parameter >= 0

In the extension 'admin-actions' of OpenStack Compute API, the action
create backups should only accept rotation parameter greater than or
equal to zero.

If the 'rotation' parameter is negative, OS API returns a badRequest
400 HTTP error.

Fixes LP bug #1071168

Change-Id: I6ef08fbecb0f88942cdb16193e9d2c3831866fe9
Yield in between hash runs for the image cache manager.

This should stop the cache manager from locking up nova-compute for
long periods of time.

Change-Id: Icc510a55282b479b3ba673ac68aee793da1714fb
Add nova option osapi_compute_unique_server_name_scope

Setting this option forces nova-api to check for duplicate
server names either in the project or system-wide.

The default behavior remains the same: duplicate names are allowed.

DocImpact: Adds a new Nova config option

Change-Id: I28baf8c63f9c62f457bfff0a2fb510f0c517a351
Fix _setup_routes() signature in APIRouter

Fix the function _setup_routes() signature in the base class
 APIRouter to match the subclasses.

Change-Id: Ibb98c3c1fc28e85c56bb2855371c4bf03f57b1f7
Restore self.test_instance at LibvirtConnTestCase.setUp()

And correct a test, which used to pass wrongly.

Change-Id: Ia0ffe96b44eaea39fa0957efcc31303c1d9fcb18
Migrate floating ip addresses in multi_host live_migration

Make migration of floating ip addresses work and work only
in multi_host mode.
Add test case for post_live_migration_at_destination.

Fixes bug 966529 and bug 1029291

Change-Id: Ia79030e5bcfc55e5a33b20a3d6eead01fa5b255a
Simplify libvirt volume testing code.

There is no need to copy all of the iscsi generation from
provider_location because provider_location is an internal
implementation detail from cinder. We just need to make sure that
we handle values for iqn and target properly.

Change-Id: Ic80228ad22e58887a93d45168a6ad5f2f6c30e20
Handle image cache hashing on shared storage.

Resolves bug 1075018.

Change-Id: Iddb092468fae1e7af18134bc433708410d15184d
Enhance compute capability filter to check multi-level

    Host state capabilities include multi-level information, like
cpu features are presented in capabilities:cpu_info:features, cpu
core number in capabilities:cpu_info:topology:cores.
    Multi-level capability check maybe helpful in some situation, like
user want to make sure host support SSE3 instructions or AES-NI, or
user want to make sure the host has >4 cores for SMP instance. Current
capability filter does not support these requirements.
    To support multi-level check, also add scope to capability filter,
so, now capability filter will handle no-scope extra_specs, or scope-format
as "capabilities:xxx:xxx" etc.

    Related to bp hw-feature-to-vm

Change-Id: Id714f99b4babbdb328b8e47f5a270be517b528d2
Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
Update db entry before upate the DHCP host file.

Update fixed IP db entry before upated the DHCP host file.

Fixes LP Bug #1078718

Change-Id: I75504acfc1c571219938d25a7c3b1a452d3f1cb9
Fixes create instance *without* config drive test

Fixes bug 1078737

Change-Id: Id6e84da45b58a1a449045933823eb98e022df088
Add support for resizes to resource tracker.

Keep track of additional resources required to resize an instance
to a new host.  Also hold resources for a revert resize to the original
host.

This fixes race conditions where the destination host could become
overscheduled.  (or the source host in the event of a revert)

bug 1065267

Change-Id: Ic565d4e2ab9bee40f25fe9f198e1217cdd92ca1b
Unpin amqplib and kombu requirements.

Ubuntu is using a much newer version of these libraries so we
shouldn't lock the versions in our infrasctructure. Using a > 1.0
of amqplib is particularly useful as it turns on keepalives by
default.

Change-Id: I956e70e0c39c76d1632fb708cd78aeb51adbd250
Introduce a VFS api abstraction for manipulating disk images

Currently the file injection code has the assumumption that the
guest disk image can be mounted on the host filesystem, which
limits the techniques which can be used. Introducing a VFS API
abstraction allows the file injection code to be de-coupled
from the host filesystem.

blueprint: virt-disk-api-refactoring
Change-Id: I107c018586fd9b6fc2c7d497b7a437ac24f11944
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Make ec2_instance_create db method consistant across db apis

Fixes bug 1079463

Also changes call to ec2_instance_create in sqlalchemy instance_create
method to go through db api as opposed to direct to sqlalchemy api.

Change-Id: I60136a2c7019bda25225d8e02e82a9ccfbb61e2f
Added sample tests to consoles API.

Partially implements blueprint nova-api-samples
Fixes bug 1070155

Change-Id: I4437d2440468afafe3fae7a11fb686ea2c533f13
Sync eventlet_backdoor from oslo.

Change-Id: I2b0021e0612226e71700d74c865a84a5b6d8e735
Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
Switch to using eventlet_backdoor from oslo.

Instead of using the copy of eventlet_backdoor in nova.common
this switches over to the synced version from oslo.

Change-Id: Ice2e38b9da66b34e19f04af0a99bcdc2cb5b5cd3
Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
update api_samples add os-services module

part of blueprint:apis-for-nova-manage

os-services is a new module for to support getting
rid of nova-manage. Add this to the all_extensions
api listing.

DocImpact

Change-Id: I3a954de59b16fd86d81204a535f8b152f3073468