VMware: Remove unnecessary deepcopy()s in test_configdrive

test_configdrive was doing a deepcopy of its test_instance object in
some tests. This was unnecessary, as the object is created fresh in
setUp().

Also, change a couple of dict lookups of test_instance to object
properties.

Change-Id: I3a5039fde9f8fba5285d90b28743b7af8cd1a168
Sync loopingcall from oslo

This change syncs:

bc48099 Log the function name of looping call
ab5d5f1 Use timestamp in loopingcall
e377393 Changes calcuation of variable delay

Change-Id: Ie93695b2b76bc258922495911bc40c5aaf414a91
Fix nova/pci direct use of object modules

This replaces all uses of nova.objects.<module>.<object> with
nova.objects.<object> within nova/pci and nova/tests/pci.

Change-Id: I72e763fb5032a5dc2cf649e5e29213ea71578c8d
Partial-Blueprint: object-subclassing
Check instance state before attach/detach interface

Currently there isn't any instance's status checking before
attach/detach interface, It will fail when some status didn't
support it. This patch add checking for it.

This patch allow attach/detach interface for ACTIVE, PAUSED
and STOPPED instance.

* ACTIVE: The interface is hotplug to instance.
* PAUSED: The interface can be hotpluged after instance unpaused.
It's fixed by commit: a868fcedf8e46070cae6aa8e59e61934fa23db1c
* STOPPED: In this status, the instance is destroyed. It just update
the instance configuration with new interface. When the start
instance, the instance will be recreated with new configuration.

Change-Id: I3c038056085be1f655758ed8b6a44bcdbf70cdd5
Closes-bug: #1299333
Merge "Check instance state before attach/detach interface"
Merge "Sync loopingcall from oslo"
Merge "VMware: Remove unnecessary deepcopy()s in test_configdrive"
Merge "Fix nova/pci direct use of object modules"