This patch removes the other redundant notification sent in the same
routine to notify whether a security group changed.
Closes-Bug: #
1254924
Partial Blueprint neutron-tempest-parallel
Change-Id: I5bad015decdc197c3fa9b58c680564380d513bc4
not utils.compare_elements(
original_port.get(ext_sg.SECURITYGROUPS),
updated_port.get(ext_sg.SECURITYGROUPS))):
- self.notify_security_groups_member_updated(
- context, updated_port)
need_notify = True
return need_notify
self._delete('ports', port['port']['id'])
self.notifier.assert_has_calls(
[call.security_groups_member_updated(
- mock.ANY, [mock.ANY]),
- call.security_groups_member_updated(
- mock.ANY, [security_group_id])])
+ mock.ANY, [mock.ANY])])
class TestSecurityGroupAgentWithOVSIptables(