Include hostname in notification payloads.

Moniker is going to want this in order to autogenerate
certain DNS records.

Change-Id: I3a9a6afb88712a297397493d310d55abcc63897e
This commit is contained in:
andrewbogott
2012-11-06 17:08:17 -06:00
parent 8117306c65
commit f30b352ac5
2 changed files with 6 additions and 0 deletions

View File

@@ -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,