commit 3408092005099c0ba2e9f1d3398f2c5d98467152
Author: Édouard Thuleau <email address hidden>
Date: Mon Aug 1 18:00:21 2016 +0200
[VNC OpenStack] Remove stale security group rules
When a security group is deleted all security group rules which
reference it as 'remote_group_id' should be deleted.
As the contrail data model does not permit to easy found that rules,
that fix propose to clean that stale rules only when they are listed or
read.
Reviewed: https:/ /review. opencontrail. org/22721 github. org/Juniper/ contrail- controller/ commit/ 3408092005099c0 ba2e9f1d3398f2c 5d98467152
Committed: http://
Submitter: Zuul
Branch: master
commit 3408092005099c0 ba2e9f1d3398f2c 5d98467152
Author: Édouard Thuleau <email address hidden>
Date: Mon Aug 1 18:00:21 2016 +0200
[VNC OpenStack] Remove stale security group rules
When a security group is deleted all security group rules which
reference it as 'remote_group_id' should be deleted.
As the contrail data model does not permit to easy found that rules,
that fix propose to clean that stale rules only when they are listed or
read.
[1] https:/ /github. com/openstack/ tempest/ search? utf8=%E2% 9C%93&q= test_security_ group_rules_ delete_ when_peer_ group_deleted& type=Code
Change-Id: Ifcd39f7f7b04c0 7cb6d4b62aa8aa9 0007f8bc81d bd53e9705e1a748 ff0f866b00)
Closes-Bug: #1591976
(cherry picked from commit ad6a675556ec8bc