summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2013-02-12 12:21:06 +0000
committerDaniel P. Berrange <berrange@redhat.com>2013-02-19 17:06:59 +0000
commitd8c3a6d2655a4ccc64ebf46a856319e2221a9072 (patch)
tree38564320adfdab58d41455d7f44818d2ab583328 /nova/utils.py
parent1b9b66ba210c1dd886a95d79e5621e13fb64aa3a (diff)
downloadnova-d8c3a6d2655a4ccc64ebf46a856319e2221a9072.tar.gz
nova-d8c3a6d2655a4ccc64ebf46a856319e2221a9072.tar.xz
nova-d8c3a6d2655a4ccc64ebf46a856319e2221a9072.zip
Add basic infrastructure for compute driver async events
This introduces the basic infrastructure to allow compute drivers to emit asychronous events for processing by the virt API. Initially the only event defined is a "lifecycle" event which allows the virt API to immediately detect the start and stop of virtual domain instances, without needing to frequently poll the compute API. The base compute driver gains a method enabling the manage to register a callback to receive events, and another method to allow driver subclasses to emit events. Blueprint: compute-driver-events Change-Id: Ic9abcd3f829c106e840538a01376862ab5b3485b Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions