]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
QoS core extension: fixed dict extension when QoS policy is unset
authorIhar Hrachyshka <ihrachys@redhat.com>
Fri, 7 Aug 2015 22:21:09 +0000 (00:21 +0200)
committerIhar Hrachyshka <ihrachys@redhat.com>
Sat, 8 Aug 2015 13:44:27 +0000 (15:44 +0200)
commit5f5be37899d5eb8815729a8677a9ab2247ecb07c
treeece1c99a4229781fec418e22395a8cf8abebaaff
parent088289acd23a9fe84e8346c9475976d24efde580
QoS core extension: fixed dict extension when QoS policy is unset

Previously, if QoS policy was detached from a core resource, core
resource extension didn't update the resource dict with the new QoS
policy value (None), and that resulted in no notification sent to the
agent about the change, so QoS rules were not flushed from the affected
ports.

Change-Id: I22397af3a43254d146abaa4a4429ac654b4c3c50
Partially-Implements: quantum-qos-api
neutron/core_extensions/qos.py
neutron/tests/unit/core_extensions/test_qos.py