neutron/neutron/db/qos
Jakub Libosvar 20df8ce45f qos: Delete bw limit rule when policy is deleted
We need to add ON DELETE CASCADE to qos_policy_id on bw limit rule table
in order to delete policy successfully. There is a migration script that
creates db scheme with correct foreign key constraint but we miss this in
models. Currently, we have a functional test that guarantees parity
between migration scripts and models but we don't have guaranteed foreign
keys parity due to alembic bug [1].

https://bitbucket.org/zzzeek/alembic/issues/317

Change-Id: I06fa32dd11a5a52a80ae5a7952f8b32511c3f39d
Closes-Bug: 1485926
2015-08-20 14:01:41 +00:00
..
__init__.py QoS: db models and migration rules 2015-07-01 14:24:38 +03:00
api.py policy: made attach_* and detach_* methods more robust 2015-07-25 08:09:55 +02:00
models.py qos: Delete bw limit rule when policy is deleted 2015-08-20 14:01:41 +00:00