diff --git a/vmware_nsx/db/extended_security_group.py b/vmware_nsx/db/extended_security_group.py index 037ed429bb..f8bcbabcc8 100644 --- a/vmware_nsx/db/extended_security_group.py +++ b/vmware_nsx/db/extended_security_group.py @@ -91,7 +91,12 @@ class ExtendedSecurityGroupPropertiesMixin(object): } self._registry_notify(resources.SECURITY_GROUP, events.BEFORE_CREATE, - exc_cls=ext_sg.SecurityGroupConflict, **kwargs) + exc_cls=ext_sg.SecurityGroupConflict, + payload=events.DBEventPayload( + context, metadata={'is_default': default_sg}, + request_body=security_group, + desired_state=s)) + tenant_id = s['tenant_id'] if not default_sg: