]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Reduce plugin accesses from policy engine
authorSalvatore Orlando <salv.orlando@gmail.com>
Thu, 16 May 2013 09:01:49 +0000 (11:01 +0200)
committerSalvatore Orlando <salv.orlando@gmail.com>
Tue, 28 May 2013 22:14:19 +0000 (00:14 +0200)
commit27bdfcab29d8e2c28e4aad31df6a56363cf2c6c5
tree82840077a8b031853e5145cd3c78ea526120832d
parentc3e24c87fc987f17954a2c48e964ead958dfd0a9
Reduce plugin accesses from policy engine

Bug 1179745

This patch introduces a new type of check whose aim is to fetch
the parent resource's owner only when a rule that explicitly needs
it needs to be checked.

Change-Id: I1ff429eb3f92b35bcb9b4c4e01b65f8c0a595f48
etc/policy.json
quantum/api/v2/attributes.py
quantum/api/v2/base.py
quantum/common/exceptions.py
quantum/extensions/agentscheduler.py
quantum/policy.py
quantum/tests/unit/test_policy.py