Fixes spawn method signature for PowerVM driver.

ComputeDriver has now 2 new required arguments which are:
injected_files and admin_password. This patch adds the
arguments in the PowerVMDriver spawn signature.

Fixes bug 1040770

Change-Id: I0a45fa45c942f2d0381c5a7310d386ae655073fe
Update nova-rpc-zmq-receiver to load nova.conf.

Updates the bin/nova-rpc-zmq-receiver so that it makes use of FLAGS,
calls parse_args, and loads the nova.conf config file like all
other nova- binaries.

Fixes LP Bug #1044153

Change-Id: I904e5d2ae491cd805be78038493d437dd1f7f3cc
fix issues with Nova security groups and Quantum

bug #1039400

- make quantumv2/api.py fetch actual DHCP server address, which
is needed by firewall layer (otherwise, the gateway IP is
incorrectly used and all DHCP traffic is dropped).
- add missing call from quantumv2/api.py to the security
groups API when a VM is allocated/deallocated.

- Add a vif-driver that is a hybrid of the existing Open vswitch +
linux bridge drivers, which allows OVS quantum plugins to
be compatible with iptables based filtering, in particular, nova
security groups.

- Also clean-up some docstrings in virt/libvirt/vif.py

Change-Id: I7cf5cf09583202a12785b616d18db3ee4bbffee0
On rebuild, the compute.instance.exists

notification should contain the original image
metadata.

In order to do this, the original system metadata associated
with the instance is preserved and passed along to the
rebuild_instance() in the compute manager.

(Code originally from Iccha Sethi and Rick Harris.)

bug 1044008

Change-Id: Ieb60a2871a2a209ef467e2b51dab375872649a18
Allow hard reboot of a soft rebooting instance

Allow hard reboot API calls to succeed if the task status is
soft reboot, but not hard reboot.
This was discussed in the previous change for this bug in
Iae95b121c5c623e1eaa6fba52b13170413722d2d

Fixes bug #944015

Change-Id: I0f78faad524774dbbcad0bf2adafed3802dfeb75
Fix instances query for compute stats

Fix the query the compute resource stats generation uses to filter out
deleted instances.

bug 1046431

Change-Id: I634020d798a23ff5da97aaf9172b403005c1bd1a
Fixes sqlalchemy.api.compute_node_get_by_host

Use join('service') instead of options(joinedload('service')) to get
the right compute_node

Fixes bug 1044238

Change-Id: I082a46847e63a1e21083a625c3b07ec9be05412f
Rename imagebackend arguments.

Rename function arguments to something which more clearly indicates
their purpose. No functional changes.

Change-Id: Iedbc5477ac54527b60c520fd7c774e608adb07c0
Merge "Update nova-rpc-zmq-receiver to load nova.conf."
Merge "Fixes sqlalchemy.api.compute_node_get_by_host"
Merge "Rename imagebackend arguments."
Merge "Fixes spawn method signature for PowerVM driver."
Add full python path to test stubbing modules for libvirt

libvirt test modules were relatively addressed (import fakelibvirt etc.)
and this meant that running the test specifically
(./run_tests test_virt_drivers) would fail with missing imports.

Change-Id: I81f019bf635e10ca90f77f7a30b2e19065fee8f4
Add method to manage 'put' requests in api-sample tests

Include a _do_put() method into tests_api_samples to generate api-samples to
put requests.

Change-Id: I1407f908592fcda8d83506ccb98f17f3af84c13c
Add API samples to images api

Fixes issue with updated metata not being returned properly from
the api. Adds a small check to the samples baseclass to allow the
output to be generated even if the template file is empty.

Change-Id: Idcdd24d7e785026e50b9abf4762466fd55a8d42f
Fix hyperv driver spawn() signature

Fixes bug #1045392

commit 99fb9d2a changed the signature of the spawn() method but not
all drivers were updated for the change.

The injected_files and admin_password instance attributes were ignored
by the hyperv driver before, so we can just ignore them in spawn() now
that they are being passed as function arguments.

Change-Id: I129d21316488a18a4f062252ba5f788bc65c7c25
Fix vmwareapi driver spawn() signature

Fixes bug #1045393

commit 99fb9d2a changed the signature of the spawn() method but not
all drivers were updated for the change.

The injected_files and admin_password instance attributes were ignored
by the hyperv driver before, so we can just ignore them in spawn() now
that they are being passed as function arguments.

Change-Id: Ifc4279a05127dcc5c01388882c40570bf6de5ff2
Adds API sample test for limits

Adds samples for GET /limits

Change-Id: Ie6b42119a9d60273d5d4d0c17fb44082009bc847
Merge "Fix vmwareapi driver spawn() signature"
Merge "Fix hyperv driver spawn() signature"