VMWare: Remove unused exceptions

Nova exceptions UseLinkedCloneConfigurationFault and
VMwareDriverConfigurationException now is present in
oslo.vmware library, so remove it and replace all of
its usages by usages of exceptions from oslo.vmware

Change-Id: I692030cff49965fac2d8da1bb76580fe9a607b61
Remove duplicate test

Remove a test case that is a duplicate of what is done by
test_group_details_in_filter_properties.

Change-Id: I6a6c0b3f9474ca82be05e7ff5d47908a9093b119
Related-bug: #1379451
VMware: Remove redundant fake.reset() in test_vm_util

We fake.reset() in setUp(), so no need to do it in tearDown() too.

TrivialFix

Change-Id: Ie6e2afd351eefe2ff15d7ec74b9bceb65a00422d
libvirt: treat suspend instance as an object

The suspend method receives an object in the compute manager. This
method now uses an object in the driver.

Change-Id: Iccbb70553259aa914303d4d48583644b50a2f142
libvirt: use instance object for resume_state_on_host_boot

The compute manager uses a instance object here. Add support to the
driver.

Change-Id: I6f81a62bcc95f7616414a102f1c470bb621b7bca
libvirt: use instance object for attach_volume

The compute manager uses a instance object here. Add support to the
driver.

Change-Id: I32bc269ce392f1e41f0ddb88b912a5a4bfb7bad8
libvirt: use instance object for detach_volume

The compute manager uses a instance object here. Add support to the
driver.

Change-Id: If257885b4345e3abd72ca20c59e2210affcbc62d
Give a reason why NoValidHost in select_destinations

When we can't schedule an instance build because there are fewer
available hosts than requested number of instances we raise NoValidHost
but don't give a reason.

This change adds a reason and a unit test for the greater-than-zero
NoValidHost case.

Related-Bug: #1372588

Change-Id: Ibd17b3d582b6e1470cd075d73e3dcaa63c9a667e
Translate 'powervm' hypervisor_type to 'phyp' for scheduling

This adds a temporary translation of the 'powervm' hypervisor type
image metadata to 'phyp' for scheduling.

The powervc-driver in stackforge uses the hypervisor type of 'powervm'
for scheduling so this is needed to make that work until the driver
can get a translation shim in place to convert powervm to phyp in
image metadata.

Closes-Bug: #1370613

Change-Id: I4b20ffcb9911806db821f2902e09248dfa89d845
Merge "VMware: Remove redundant fake.reset() in test_vm_util"
Merge "Give a reason why NoValidHost in select_destinations"
Merge "VMWare: Remove unused exceptions"
Merge "Translate 'powervm' hypervisor_type to 'phyp' for scheduling"
Merge "libvirt: treat suspend instance as an object"
Merge "libvirt: use instance object for resume_state_on_host_boot"
Merge "libvirt: use instance object for attach_volume"
Merge "libvirt: use instance object for detach_volume"
Merge "Remove duplicate test"