Merge "Transform servergroup.create notification"

This commit is contained in:
Jenkins 2017-09-21 19:37:09 +00:00 committed by Gerrit Code Review
commit 08dca37222
1 changed files with 4 additions and 0 deletions

View File

@ -417,6 +417,10 @@ class InstanceGroup(base.NovaPersistentObject, base.NovaObject,
payload['server_group_id'] = self.uuid
compute_utils.notify_about_server_group_update(self._context,
"create", payload)
compute_utils.notify_about_server_group_action(
context=self._context,
group=self,
action=fields.NotificationAction.CREATE)
@base.remotable
def create(self):