Package backend :: Package server :: Module rhnVirtualization :: Class VirtualizationListener
[hide private]
[frames] | no frames]

Class VirtualizationListener

source code


Instance Methods [hide private]
 
__init__(self) source code
 
guest_migrated(self, old_host_sid, new_host_sid, guest_sid, guest_uuid)
This function is called if we infer that the guest has been migrated to a different host system.
source code
 
guest_discovered(self, host_sid, guest_uuid, guest_sid=None)
This function is called if we detect a new guest.
source code
 
guest_registered(self, host_sid, guest_sid) source code
 
_notify(self, event, *args) source code
Method Details [hide private]

guest_migrated(self, old_host_sid, new_host_sid, guest_sid, guest_uuid)

source code 

This function is called if we infer that the guest has been migrated
to a different host system.

    old_host_sid - The server id for the old host.
    new_host_sid - The server id for the new host.
    guest_sid    - The server id for the guest, if it is registered.
    guest_uuid   - The UUID of the guest that has been migrated.