summaryrefslogtreecommitdiff
path: root/nova/notifications.py
diff options
context:
space:
mode:
authorandrewbogott <abogott@wikimedia.org>2012-11-06 17:08:17 -0600
committerandrewbogott <abogott@wikimedia.org>2012-11-06 17:08:17 -0600
commitf30b352ac5a9f56dadb1825207e3908ee45815bc (patch)
treef279c77491e2c8ae25bc9592f68f1e71ec45a946 /nova/notifications.py
parent8117306c65f07464c586f9518d83214715611623 (diff)
downloadnova-f30b352ac5a9f56dadb1825207e3908ee45815bc.tar.gz
Include hostname in notification payloads.
Moniker is going to want this in order to autogenerate certain DNS records. Change-Id: I3a9a6afb88712a297397493d310d55abcc63897e
Diffstat (limited to 'nova/notifications.py')
-rw-r--r--nova/notifications.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/notifications.py b/nova/notifications.py
index 7153933ee8..036ea2fd95 100644
--- a/nova/notifications.py
+++ b/nova/notifications.py
@@ -300,6 +300,7 @@ def info_from_instance(context, instance_ref, network_info,
instance_id=instance_ref['uuid'],
display_name=instance_ref['display_name'],
reservation_id=instance_ref['reservation_id'],
+ hostname=instance_ref['hostname'],
# Type properties
instance_type=instance_type_name,