]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Forbid attaching rules if policy isn't accessible
authorJohn Schwarz <jschwarz@redhat.com>
Mon, 3 Aug 2015 15:55:31 +0000 (18:55 +0300)
committerIhar Hrachyshka <ihrachys@redhat.com>
Wed, 12 Aug 2015 09:52:33 +0000 (09:52 +0000)
commitbb1546df15b57923fdbb9057407274bdcce59c50
tree54e33ed30b3a5dba89fa8c3c68c6ca7293919354
parent08f0bb9ce5c821b421394d2c7d9186f40c417f7d
Forbid attaching rules if policy isn't accessible

Following up patch If06de416dfe0eb7115fd4be9feb461fae8e8358d, this patch
continues to make sure all access to QoS policies are attempted safely -
if the policy doesn't exist or it's not accessible (for tenant_id
reasons), then an exception will be raised instead.

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