Fix ipset can't be destroyed when last rule is deleted
when it deletes a security group all rules, it should
include this sg information in RPC method
'security_group_info_for_devices', otherwise the ports
in this sg can't corrcectly update their iptables and
ipset sets.
Reviewed: https:/ /review. openstack. org/224517 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=114949b789e ca7ef88ec4c43f1 bb0b7233abd69c
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 114949b789eca7e f88ec4c43f1bb0b 7233abd69c
Author: shihanzhang <email address hidden>
Date: Mon Jun 1 16:17:37 2015 +0800
Fix ipset can't be destroyed when last rule is deleted
when it deletes a security group all rules, it should group_info_ for_devices' , otherwise the ports
include this sg information in RPC method
'security_
in this sg can't corrcectly update their iptables and
ipset sets.
Change-Id: Ibb071ce84590bd 46cda2c1e010a56 6e75e22b4d2 42c29efeabaccbb 5aec21f6f4)
Related-bug: #1491131
Closes-bug: #1460562
(cherry picked from commit 764f018f50ac7cd