diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2013-02-12 12:21:06 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2013-02-19 17:06:59 +0000 |
commit | d8c3a6d2655a4ccc64ebf46a856319e2221a9072 (patch) | |
tree | 38564320adfdab58d41455d7f44818d2ab583328 /nova/exception.py | |
parent | 1b9b66ba210c1dd886a95d79e5621e13fb64aa3a (diff) | |
download | nova-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/exception.py')
0 files changed, 0 insertions, 0 deletions