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.
Related-bug: #1491131
Closes-bug: #1460562
(cherry picked from commit 764f018f50ac7cd42c29efeabaccbb5aec21f6f4)
(cherry picked from commit 114949b789eca7ef88ec4c43f1bb0b7233abd69c)
Conflicts neutron/tests/unit/test_security_groups_rpc.py, tests
adapted for py26 compatibility.
Change-Id: Ibb071ce84590bd46cda2c1e010a566e75e22b4d2
Reviewed: https:/ /review. openstack. org/224528 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=d567d57f72a e9699442ca999ce 347074ad8df886
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit d567d57f72ae969 9442ca999ce3470 74ad8df886
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.
Related-bug: #1491131 42c29efeabaccbb 5aec21f6f4) f88ec4c43f1bb0b 7233abd69c)
Closes-bug: #1460562
(cherry picked from commit 764f018f50ac7cd
(cherry picked from commit 114949b789eca7e
Conflicts neutron/ tests/unit/ test_security_ groups_ rpc.py, tests 46cda2c1e010a56 6e75e22b4d2
adapted for py26 compatibility.
Change-Id: Ibb071ce84590bd