Change RPC post_live_migration_at_destination from call to cast

We don't expect post_live_migration_at_destination to return anything,
so change call to cast.

Change-Id: Iccdb6e195d1d5d9b96e1372206823d414caae872
Extends V3 os-hypervisor api for pci support

All pci passthrough code is merged into nova, but the APIs do not support.
this patch extends os-hypervisor to show PCI information for instance and
compute node. This is a part of PCI APIs, for more information see the
blueprint.

Partially implement blueprint pci-api-support

Change-Id: Ia366df257f077c74b1a6639b7078ba4230d3f1a7
Remove unused copyright from nova.api.__init__

This patch removes unused license doc from nova/api/__init__.py.

Change-Id: I40b7dbce27ece7a56c9fd3186fa5c4a88623d32b
nova docker driver cannot find cgroup in /proc/mounts on RHEL

In order to support the docker hypervisor on rhel/centos or fedora
we had to adapt the function which resolves the cgroup path.

Change-Id: Ie24028f822d91d65d4f90a7941e7b11874a3b425
Closes-Bug: #1243101
Remove unused dict BYTE_MULTIPLIERS

Dict BYTE_MULTIPLIERS in nova/common/utils.py isn't used
anywhere, and nova/openstack/common/strutils.py includes
this dict, So we can use the one in oslo if we need. It's
safe to remove it now.

Change-Id: I6dde9d7edbaa5e1cbdd6790fe427249d4c2d41ab
Set objects indirection API in metadata service

Commit Ia12f48227eb2380f5da93313cd4045577d8857c9 introduces objects in
the metadata service.

As metadata service is supposed to be using the
conductor service for it's database access, we also need to set
nova.objects.baseNovaObject.indirection_api global to point to the
conductor API so that the object actions will be done by RPC to
conductor.

Change-Id: I7aae92c0074e72841aa6c654ad0ada25045863b1
Closes-bug: #1268665
VMware: upload images to temporary directory

The patch ensures that new images are uploaded to a defined
temporary directory instead of directly to the cache directory.

The reasons for this are as follows:
1. More than one nova-compute may try and upload the same image
to the datastore at the same time
2. If there are errors then the temporary folder can be purged
3. When the image is downloaded it will be moved to the cache
directory. Only once an image has been successfully downloaded
will it be moved. This will help with false positives with
cache image deletion

The first phase of blueprint vmware-image-cache-management.

Change-Id: I4f3ee90ae866583e8df782ff89d2b11bbebf9c39
libvirt: Fix confusing use of mox.StubOutWithMock

The code was using a side effect of mox.StubOutWithMock to reset
libvirt_driver.LibvirtDriver._conn after a test before resetting it manually.
This code is shorter, and it's obvious what it does.

Change-Id: I78393f76e132397dd198ac4b6ff998c785ff5690
Merge "libvirt: Fix confusing use of mox.StubOutWithMock"
Merge "Change RPC post_live_migration_at_destination from call to cast"
Merge "nova docker driver cannot find cgroup in /proc/mounts on RHEL"
Merge "Remove unused dict BYTE_MULTIPLIERS"
Merge "Set objects indirection API in metadata service"
Merge "VMware: upload images to temporary directory"
Merge "Remove unused copyright from nova.api.__init__"
Merge "Extends V3 os-hypervisor api for pci support"