Fixes bug 983024

enable_dhcp, kill_dhcp and update_dhcp calls are sent to remote
nova-network, when a network is not associated with current host.

Change-Id: If7c7c6e58700cc171a8f56669e6455037df7f7e7
Improvement for the correct query extraction.

Change-Id: I6bf318dc42e9bc1cebb94a7d1c561b3e89ae6ec5
Run ip link show in linux_net._device_exists as root

Bug 993097

Change-Id: Iaad55f2e878df65e9398f0c28786f0c13fb82a95
Sync to newer openstack.common.cfg

Changes since last sync are:

 * New ConfigOpts.find_file() for locating conf files
 * Support for directory source of config files
 * Provide file extension when when looking for files
 * Some refactoring of the cfg cache
 * Add caching to openstack.common.cfg

Change-Id: I5fd483b8d1a6e83f7237507132009d31dd8bcb77
Mistake with the documentation about cost function's weight corrected.

Change-Id: I131d6abc100682ae78c7ac2edfffadc491b9d437
Remove unnecessary shutdown argument to _destroy()

Xen requires the VM power state be not running before it can be
destroyed. Xen also requires the VM power state to be running
to shutdown a VM. The shutdown argument was available to ensure
that a shutdown was not attempted when the VM was not running.

Since commit f5b051bbd0858294157f911ecbb04542fadbb38d, the
_shutdown() method checks the power state and determines if it
should issue the shutdown command or not. As a result, the
shutdown argument is unnecessary and always calling the
_shutdown() method will ensure the VM is in the proper state
for the destroy to succeed.

Change-Id: I9bc6007598da4ac69e8d463be9af51deaf5d6535
Merge "Run ip link show in linux_net._device_exists as root"
Merge "Fixes bug 983024"
Merge "Remove unnecessary shutdown argument to _destroy()"
fix bug 977007,make nova create correct size of qcow2 disk file.

when use live block migration,ephemeral disks with qcow2 format
should be created in the destination with the same virtual size
as before.

Change-Id: I5c5b1295bdb3e4dc281698eba38c5ce697aa9bc2
Merge "Mistake with the documentation about cost function's weight corrected."
Defer image_ref update to manager on rebuild

We shouldn't update the DB and use it for passing the new image_ref for
a rebuild.  This causes a usage exists notification for the new image
instead of the old... and technically the new image is not accurate
until we shutdown the old instance and try building the new one..

Fixes bug 997245

Change-Id: Ia4bd4b8af90080a11875d9ee56661286bc3f5593
Merge "Improvement for the correct query extraction."
implement blueprint floating-ip-notification.

add floating ip alloate/disalloate, associate/disassocaite notify
events.change releative tests to make changes pass through.

Change-Id: I77257528cd87da44ace896d65a4268a066ed888e
Merge "Sync to newer openstack.common.cfg"
Merge "Defer image_ref update to manager on rebuild"
Merge "implement blueprint floating-ip-notification."
Avoid unnecessary inst lookup in vmops _shutdown.

Updates the XenServer vmops.py _shutdown function so that it
avoids calling get_info/_get_vm_opaque_ref with the instance name.
Since _shutdown already has the vm_ref there is no need to make
this call.

This fixes an issue where 'RESIZE' was broken when resizing to
the same host.

Fixes LP Bug #997313.

Change-Id: Ic5a1a0f92df9a2b809aef20a250843bf48402d75
Merge "fix bug 977007,make nova create correct size of qcow2 disk file."