Adds more usage data to Nova's usage notifications.

Adds in bandwidth, state and IP data on standard notifications,
and new notifications on add/remove IP.

These were missing before, and are needed to meet spec.
This fixes bug 849117

Change-Id: Ie586ff3a91a56e5f5eff8abc6905ba6a0b624451
This commit is contained in:
Monsyne Dragon
2011-09-30 00:39:46 +00:00
parent c0cf874acb
commit 5aa5229082
17 changed files with 609 additions and 59 deletions

View File

@@ -853,3 +853,7 @@ class InstanceTypeDiskTooSmall(NovaException):
class InsufficientFreeMemory(NovaException):
message = _("Insufficient free memory on compute node to start %(uuid)s.")
class CouldNotFetchMetrics(NovaException):
message = _("Could not fetch bandwidth/cpu/disk metrics for this host.")