]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
QoS: fix get bandwidth limit rules to filter them per policy
authorMoshe Levi <moshele@mellanox.com>
Tue, 18 Aug 2015 14:03:01 +0000 (17:03 +0300)
committerMoshe Levi <moshele@mellanox.com>
Fri, 21 Aug 2015 05:15:56 +0000 (08:15 +0300)
commit6063e70927ed436772c602ce0cf26d5d24486fbd
tree271172e9237d063cb1fe60b8038013a22e84cfd4
parent40576ae09ca0b54a665516215e2774a5c04bc90a
QoS: fix get bandwidth limit rules to filter them per policy

add qos_policy_id as filter before calling
QosBandwidthLimitRule.get_objects to get the bw rule(s)
which attached to that policy.

Closes-Bug: #1486053
Change-Id: Ie316cbe48c94f113699b09d9784115a3b0ade32f
neutron/services/qos/qos_plugin.py
neutron/tests/api/test_qos.py
neutron/tests/unit/services/qos/test_qos_plugin.py