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
Enable Quantum linux bridge VIF driver to use "bridge" type

Fixes bug 1078210

This fix should be used in conjunction with the patch
https://review.openstack.org/#/c/14961/

Change-Id: Ifd79864db147fe3141e03bf1c931fd153d413305
Clarify server_name, hostname, host.

Specifically:

'hostname' refers to the instance.
'host' refers to the nova node.
'server_name' refers to nothing and I've removed it.

Change-Id: I29e2486dddc71289018fca58a4f02f1f3b0d1b9e
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
Allow controller extensions to extend update/show

This change allows controller extensions to define update and show
functions for a resource when the original controller does not
already do so.

Change-Id: If0030e14ebc9c15e43aa64dc7065462376a156c2
API extension for fpinging instances

It may be interesting for a cloud user or administrator to perform a
simple instance monitoring. A ping could be an acceptable solution: it
is fast and quite reliable. A limit for ping is 1 time a minute by
default.

API calls.

GET /os-fping?[all_tenants=1]&[include=uuid[,uuid...][&exclude=...]
Performs fping for all VM in the current project and returns results. If
`all_tenants` is requested, data for all projects is returned.
By default, `all_tenants` is allowed only for admins.
`include` and `exclude` are parameters specifying VM masks. Consider
that VM list is `VM_all`, then if `include` is set, the result will be
`VM_all * VM_include`. if `include` is set, the result will be `VM_all -
VM_exclude`. `exclude` is ignored if `include` is specified.

GET /os-fping/<vm-uuid>
Performs a check for single instance.

Configuration flags.

fping_path - full path to fping

Implement blueprint fping-instances-ext

Change-Id: I7d942270aa52bd6216eda0d7ae366ef0195d52a8
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
Move all mount classes into a subdirectory

The disk API will be growing some new classes in future commits.
To avoid ambiguity in module names, move all the mount classes
into a subdirectory nova/virt/disk/mount/

blueprint: virt-disk-api-refactoring
Change-Id: I03898b4060bd0c488713c9d9f19caebdcd39113c
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
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
Add support for backdoor_port to be returned with a rpc call.

This adds an rpc call for compute and network that will return
the eventlet_backdoor port for the service.

Change-Id: I95fdb5ca9bce9f3128300e3b5601fb2b2fc5e82f
Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>