Functionality related to notifications common to multiple layers of the system.
Get the start and end of the relevant audit usage period
Parameters: | current_period – if True, this will generate a usage for the current usage period; if False, this will generate a usage for the previous audit period. |
---|
Get bandwidth usage information for the instance for the specified audit period.
Format image metadata for use in notifications from the instance system metadata.
Send compute.instance.update notification to report changes in vm state and (optionally) task state
Send compute.instance.update notification to report changes in vm state and (optionally) task state
Get usage information for an instance which is common to all notifications.
Parameters: |
|
---|
if not None. NOTE: Currently unused here in trunk, but needed for potential custom modifications.