VMware: fix bug with booting from volumes

When booting from a volume without an image reference would cause
an exception.

Change-Id: Ib0302197b8d4f5e054a8c4426cb0dde7cb82842e
Closes-bug: #1235022
catch exception in start and stop server api

this catches exception.InstanceIsLocked in start and stop
server api.

Closes-Bug: #1233026

Change-Id: Ibb882178ab0770837702d503ef88c6510072e33f
baremetal: Use network API to get fixed IPs

Previously baremetal volume driver used DB API to get fixed ips and
DBNotAllowed was raised.

Change-Id: Ie2281311af1b60f55b5b719a2e2df6316bbaa9f6
Partial-Bug: #1208707
Add V2 rpc api for consoleauth

Add support for the 2.0 consoleauth rpc API.  This commit retains
compatibility with the older 1.X API to allow continuous deployment
without any downtime.

UpgradeImpact - Deployments doing continuous deployment should follow
this process to upgrade without any downtime with the consoleauth
service:

    1) Sync all consoleauth services to this commit, so that they handle
       both new and old messages.

    2) Upgrade everything else to this commit so that all clients start
       sending the new messages.

    3) Upgrade past this, where support for the old messages will be
       dropped.

Part of blueprint rpc-major-version-updates-icehouse

Change-Id: Iad71d3c2801f9355968e69bce3308b84f922b239
Adds V3 API samples for console output

Adds api sample tests and api samples for console output

Partially implements blueprint v3-api-unittests
Partially implements blueprint v3-api-specification

Change-Id: I76664a1b0355011c7b42e8571eaf732faed44933
Fixes Invalid tag name error when using k:v tagname

This patch fixes the invalid tag name error when k:v type
tagname appears in response of api during xml serialization,
the tagname which contains colon couldn't be supported by
default since it is reserved by xml namespace, this patch
solve it by adding the k of k:v tagname into namespace.

Fixes bug: #1213927

Change-Id: Ib20efb378425cbe5deef45fbac561955cbe0f7bc
xenapi: ephemeral disk partition should fill disk

The current code looks to specify the expected start and finish values
for the partition. A unit miss match between what nova and parted count
as a GB seem to cause the difference.

As we just want to fill the whole disk, we can pass "-0" as the end
value, to tell parted to extend the partition to the end of the disk.

Fixes bug 1241734
Change-Id: Ie4753d9de1e20561b8f96360e879075498a5ef58
Merging two mkfs commands.

nova.disk.api.mkfs will use nova.utils.mkfs,
unless an arbitrary mkfs command has been provided by the user.
Preserving the default filesystem to be used for each os_type.

Also, adding run_as_root parameter to utils.mkfs, to allow it
handle block devices.

Change-Id: I3ca21e0ee80caa7e1152ebae56d73ed3c14844c0
Remove deprecated libvirt VIF driver code

Libvirt vif specific driver classes have been replaced by a generic
driver LibvirtGenericVIFDriver and are deprecated in Havana, so we
can remove them safely.

DocImpact

Change-Id: Icecb3c9aa4282c511364107d87f8aba517a5ae14
Closes-Bug: 1235036
Merge "baremetal: Use network API to get fixed IPs"
Merge "VMware: fix bug with booting from volumes"
Merge "Add V2 rpc api for consoleauth"
Merge "catch exception in start and stop server api"
Merge "Merging two mkfs commands."
Merge "xenapi: ephemeral disk partition should fill disk"
Merge "Fixes Invalid tag name error when using k:v tagname"
Merge "Adds V3 API samples for console output"
Merge "Remove deprecated libvirt VIF driver code"