Return a NetworkInfo object instead of a list

This return a NetworkInfo object instead of a list when there are no
configured networks available.

Fixes bug #1222781

Change-Id: I59c88944253ed5ff8b567d79046c3065fdfed9ab
Fix HTTP response for PortNotFound during boot (v3 API)

If a non-existent Neutron port is passed as a network parameter during create
instance, Nova API should return a 404 error. This was fixed for the V2
API in commit 4721408ea861a66af1ad1df5a45c42addcd8a95f (though with a 400).
This applies the corresponding fix to the V3 API.

Fixes bug 1212137

Change-Id: I27dfba636635eb8ac257785b833b240bc439f9ff
fix the an Unexpected API Error issue in flavor API

The flavors.add_flavor_access and flavors.remove_flavor_access
require admin privilege in DB level but the policy doesn't
require it and the exception isn't catched in the api. So the
bug arise. The privilege check in DB level is not necessary,
but it need more tests and can be remove in other patch or
blue-print.

This use extension_authorizer instead of soft_extension_authorizer
in the action of flavor_access, in order to raise exception.

Closes-Bug: #1217679
DocImpact

Change-Id: I0b1231f47fffaf99f330de02956bfe8d7cd4b920
Fixes rescue doesn't honor enable password conf for v3

The rescue api should honor enable_instance_password conf
setting just like server creation and rebuild api does,
enables this flag will returning the instance password from
server API call rescue, If the hypervisor does not support
password injection then the password returned will not be
correct, this patch just fixes v3 rescue api, since change
return value of v2 could potentially break apps which depend
on this being returned.

DocImpact
Closes-bug #1213866

Change-Id: Ie8422979940bbde8c5749fcd3d6c735e88f78c6a
Update allowvssprovider in xenstore_data

My previous commit was missing the vm-data part so the original
bug was still present.

The command line fix:
xe vm-param-set uuid={UUID} xenstore-data:vm-data/allowvssprovider=false

This commit adds vm-data to the xenstore message and will properly
disallow vss.

Fixes: bug #1112673

Change-Id: I85ef25a9b61795c98c12549f77cd7ca7305861d2
Merge "Fixes rescue doesn't honor enable password conf for v3"
Merge "fix the an Unexpected API Error issue in flavor API"
Merge "Update allowvssprovider in xenstore_data"
Merge "Return a NetworkInfo object instead of a list"
Merge "Fix HTTP response for PortNotFound during boot (v3 API)"