vmwareapi:Fix nova compute service down issue when injecting pure IPv6

Use vmware center driver to static inject pure IPv6 address, since
IPv6 injection function still not be implemented, but it should not
throw exception, it will impact nova compute service work

Change-Id: I8d0835623202d48466a97798312b67f049ffb6c8
Closes-Bug: #1286006
VMware: add in debug information for network selection

Add in some debug information to assist remote debugging of networking
issues.

Change-Id: I3cdeb56e0745d4a964e6c6069325fadee99c1088
Catch FloatingIpNotFoundForHost exception

When showing floating ips for a given host, the FloatingIpNotFoundForHost
exception isn't handled when no floating ips can be found for the host.
This patch fixes this bug.

Closes-Bug: #1289164
Change-Id: Ic25ffd66945fd40ba10d69515e0cbfeae840313c
Add API sample files of "unshelve a server" API

Now there are not API sample files of "unshelve a server" and
"shelve-offload" APIs, and OpenStack API documentation also
does not show these APIs.
This patch adds these API sample files.

DocImpact
Closes-Bug: #1285482

Change-Id: Idf797eb6723b94abae71a77c12bc2bb9b330fa28
Add deleted_at attribute in glance stub on delete()

The glance stub used in unit tests sets the 'deleted' attribute to
True for the deleted image, but does not also add the 'deleted_at'
attribute, which should also be included, since that's how glance
actually operates. 'deleted_at' is missing from a few other places
as well; add it there for consistency.

Change-Id: I60a96f568d45a4f5fabdb146e0028c4cf680b9fa
Raise error on nova-api if missing subnets/fixed_ips on networks/port

Previously, if one would launch an instance on a network that did not contain
any subnets or on a port that did not have a fixedip the instance would fail
to boot resulting in a SecurityGroupCannotBeApplied  on the nova-compute node.
This patch adds checks to validate networks so it fails on nova-api and
the user will be able to see why from the response.

Note: a patch to fix the neutron port-security-enabled extension will
follow which allows one to boot instances on networks without subnets
and ports without fixedips.

Change-Id: I104d5234b34726e5f5819fc2a81eef55e3c70f42
Closes-bug: 1252410
Catch HostBinaryNotFound exception in V2 API

When updating a service with a wrong host or binary name,
HostBinaryNotFound exception will be raised.
However the ServiceNotFound exception which won't happen here
is caught instead of HostBinaryNotFound.
The similar fix has been merged in V3 API.
I64b138bad74c39d087addcd766b890c4076a2ce8

Change-Id: I37cf7a56c5478bb1273ef038bb197d80af0ae7b5
Closes-Bug: #1273139
Merge "Catch HostBinaryNotFound exception in V2 API"
Merge "vmwareapi:Fix nova compute service down issue when injecting pure IPv6"
Merge "Add API sample files of "unshelve a server" API"
Merge "Raise error on nova-api if missing subnets/fixed_ips on networks/port"
Merge "Catch FloatingIpNotFoundForHost exception"
Merge "Add deleted_at attribute in glance stub on delete()"
Merge "VMware: add in debug information for network selection"
Merge commit 'refs/changes/52/81252/2' of git://gold.eng.hq.xensource.com/git/github/openstack/nova into tmpbranch