Rewrite nova policy to use the new changes of common policy
The oslo has rewritten the common policy for a long time, using a
Enforer class to replace the old check function. In order to sync the
common policy to nova, We have to also changed the nova policy and
related unittests.
Sync policy and relate module from Oslo.
Some related change-id:Ife909bdf3277ef33c2fb1eae16ae261fa6374c63 change-id:Ife84189be4b86a3ee90da4539ff2dbed125be23d
Reviewed: https:/ /review. openstack. org/76829 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a88d9d5936a abc52046ed3ae56 6741422bfaed78
Committed: https:/
Submitter: Jenkins
Branch: master
commit a88d9d5936aabc5 2046ed3ae566741 422bfaed78
Author: Shuangtai Tian <email address hidden>
Date: Wed Mar 5 19:10:32 2014 +0800
Rewrite nova policy to use the new changes of common policy
The oslo has rewritten the common policy for a long time, using a id:Ife909bdf327 7ef33c2fb1eae16 ae261fa6374c63
change- id:Ife84189be4b 86a3ee90da4539f f2dbed125be23d
Enforer class to replace the old check function. In order to sync the
common policy to nova, We have to also changed the nova policy and
related unittests.
Sync policy and relate module from Oslo.
Some related change-
Closes-Bug: #1288178
Change-Id: Ic106851a24cfdc 9d847f7d0e0d8a6 ecbff888e05