Add unitests for VMware vif, and fix code logical error.

Fix code logical error that cause variable referenced before assignment.
Add unittests for vmwareapi vif.

Fix bug #1177635

Change-Id: I6656e8b77417061eca2a56d50820f5385c0ae987
Make resize/migrated shared storage aware

Fixes bug 1177247

Added some logic to check for whether or not we are on a shared
filesystem and set shared_storage accordingly. We perform similar
checks in other areas of the code, typically through RPC calls.
However, all the resize/migrate code is slated to be refactored for
Hava, so the idea was to keep this patch as minimally intrusive as
possible.

When shared_storage is true, we pass that on to the cleanup call
so that it no longer executes an rm via SSH, which was ultimately
destroying the original instance directory.

Change-Id: Ie9decedd373c000211c171df64e1e96fe78e5081
Allow a floating IP to be associated to a specific fixed IP

The current floating IP API extension only accepts the instance ID
and the floating address to be assigned. Where the instance is
connected to more than one network the behaviour is to associated
the floating IP with the first fixed IP of the instances
(and to log a warning)

This change introduces a new extension which wehn loaded adds a
fixed IP address as an optional parameter, allowing the floating
IP to be associated with a specific fixed IP.

Without this extension, or without the optional parameters,
the API behaviour is unchanged.

If specified the fixed IP must be associated with the instance.

DocImpact

Implements blueprint multi-nic-floating-ip-assignment

Change-Id: I9241137ad794cdf7f452ed84e9445f0e11fdd44e
Show exception details for failed deploys.

Without some detail errors are inscrutable and impossible to debug.

Fixes bug 1178608

Change-Id: I0ed6164e8689c63bd194924d3f7cb50b49feb921
Allow different paths for deploy-helper helpers.

Different distros (or even distro releases) put iscsiadm in potentially
arbitrary paths. It is better to use rootwraps' own search than to hardcode the
path.

Fixes bug 1178612

Change-Id: I690788b666a84e599504690d0e2d087eaa66a4c8
Merge "Make resize/migrated shared storage aware"
Merge "Allow a floating IP to be associated to a specific fixed IP"
Merge "Add unitests for VMware vif, and fix code logical error."
Merge "Show exception details for failed deploys."
Merge "Allow different paths for deploy-helper helpers."