Use NetworkRequest objects through to nova-network

Change-Id: Id99506cf6293ecab213764ef8b330c4d805d785b
Convert rescue v3 plugin to v2.1 API

Changes required to have v3 plugin natively support the V2.1
API.

The parameters admin_password and image_ref were reverted to
adminPass and rescue_image_ref

Partially implements blueprint v2-on-v3-api
Co-Authored-By: Chris Yeoh <cyeoh@au1.ibm.com>
Change-Id: Ibca991b5d6ec065ea9fbb0318c4ab51a3c5a3eba
Add API schema for v2.1/v3 server_metadata API

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: I4ef7d71f5d8eba13535f2c1a4aaf2b1f8d73a922
VMware: image user functions for spawn()

Refactor each mode of using cached images when configuring a newly
created virtual machine into their own functions.

DocImpact:
vmware_linked_clone image property is ignored when spawning an
image that is an ISO.

partial-blueprint: vmware-spawn-refactor
Change-Id: I863fc0ef644bcf579e74d6f567f14aed98a23c84
VMware: spawn refactor enlist image

Refactor code to mark the cached image to be in active use into a
method in the image cache.

partial blueprint: vmware-spawn-refactor
Change-Id: Ib057f794f5a3a214811e55bb5f8c23d4767e4594
VMware: remove unused _get_vmdk_path from vmops

Change-Id: I1d43491b2bb5cdebfe817df669740a8fa5bf3e82
virt: add method get_serial_console to driver

Adds get_serial_console that returns a typed object with
all necessary information to connect to the instance.

Co-Authored-By: Ian Wells <iawells@cisco.com>
Co-Authored-By: Sushma Korati <sushma_korati@persistent.co.in>
Co-Authored-By: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>

Partial-Implements: blueprint serial-ports
Change-Id: Idc3ed6f3a8cf561c8fb7ac3cf600dbad96c4f662
Merge "virt: add method get_serial_console to driver"
Merge "Add API schema for v2.1/v3 server_metadata API"
Merge "Convert rescue v3 plugin to v2.1 API"
Merge "VMware: image user functions for spawn()"
Merge "VMware: spawn refactor enlist image"
Merge "VMware: remove unused _get_vmdk_path from vmops"
Merge "Use NetworkRequest objects through to nova-network"