xenapi: make boot from volume use volumeops

Currently the boot from volume code path has partially duplicated code
with the connect_volume method in volumeops and get_vdi_uuid_for_volume
in vm_utils.

This change removes the code duplication by calling volumeops to connect
the volume when doing boot from volume. For dependency reasons, this
means moving get_vdis_for_instance from vm_utils into vmops.

The unit test test_vdis_for_instance_bdi_password_scrubbed only checked
that auth_password was scrubbed if it was passed into the logging in a
certain way. The test now checks that auth_password is actually
passed into the logging in that way too.

Change-Id: I8591f30b177db38073a0145b902b607bb012a18a
VMware: spawn refactor add VirtualMachineConfigInfo

Class to capture parameters need to build and configure
a new virtual machine instance during spawn.

partial blueprint: vmware-spawn-refactor
Change-Id: I5ed435718cd78efe01c75b9b2aac6a13da405fc2
Convert v3 flavor extraspecs plugin to v2.1

This patch changes v3 flavor extraspecs plugin to v2.1 and makes v2
unit tests share between v2 and v2.1.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: Ibf42ad56ead33846d57904dde2a07f721e6e4af3
Add API schema for v2.1/v3 user_data extension

By defining the API schema, it is possible to separate the validation code
from the API method. The API method can be more simple.
In addition, a response of API validation error can be consistent for
the whole Nova API.

Partially implements blueprint v3-api-schema

Change-Id: If58e67a7fa0d256e307e565bb983c12ea131e439
Change v3 flavor_access to v2.1

This patch changes v3 flavor_access API to v2.1 and makes v2
unit tests share between v2 and v2.1.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: I75891e76753fba937b4a01f592afb4bd03aacd9c
Merge "Add API schema for v2.1/v3 user_data extension"
Merge "VMware: spawn refactor add VirtualMachineConfigInfo"
Merge "Convert v3 flavor extraspecs plugin to v2.1"
Merge "Change v3 flavor_access to v2.1"
Merge "xenapi: make boot from volume use volumeops"