]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix ipset can't be destroyed when last rule is deleted
authorshihanzhang <shihanzhang@huawei.com>
Mon, 1 Jun 2015 08:17:37 +0000 (16:17 +0800)
committershihanzhang <shihanzhang@huawei.com>
Mon, 3 Aug 2015 04:57:11 +0000 (12:57 +0800)
commit764f018f50ac7cd42c29efeabaccbb5aec21f6f4
tree97d36453d75ebba3cb6e86594eccfde0d313c8c4
parent3b0f10c4645a8971e850da1be49b628608cb6bbd
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.

Change-Id: Ibb071ce84590bd46cda2c1e010a566e75e22b4d2
Closes-bug: #1460562
neutron/db/securitygroups_rpc_base.py
neutron/tests/unit/agent/test_securitygroups_rpc.py