]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix quota usage tracker for security group rules
authorSalvatore Orlando <salv.orlando@gmail.com>
Thu, 24 Sep 2015 12:45:40 +0000 (05:45 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Thu, 24 Sep 2015 12:46:52 +0000 (05:46 -0700)
commit851b1b4bbbaa965f190bfacab03fd6ece80ad0ec
tree93a72ecce6c5ed62754ef9fe18a157c5e47c8bdf
parentb688d8ba44370e40bf7ff7bb332eab2a37a4ab31
Fix quota usage tracker for security group rules

This simple patch ensures usage for security group rules is
marked as dirty when a security group rule is deleted.
To this aim, the security group rule is deleted using ORM
in order to ensure the sqlalchemy even if fired.

Closes-Bug: #1499339

Change-Id: I1e81fe03fed14ec438cea5d7675f66caeb91afd8
neutron/db/securitygroups_db.py