Register default policies in code
oslo.policy now supports handling policies in a way similar to how oslo.config handles config options. The main benefit would be operators only need to keep in the local policy.json file rules that a different from default ones, making the policy.json file smaller and more manageble.
Blueprint information
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Implement policies in code
Gerrit topic: https:/
Addressed by: https:/
Implement policies in code [1/10]
Addressed by: https:/
[policy in code] Add support for share type resource
Addressed by: https:/
[policy in code] Add support for share resource [3/10]
Addressed by: https:/
[policy in code] Add support for snapshot resource [4/10]
Addressed by: https:/
[policy in code] Add support for service and quota resource [5/10]
Addressed by: https:/
[policy in code] Add support for group resource [6/10]
Addressed by: https:/
[policy in code] Add support for replica and network resource [7/10]
Addressed by: https:/
[policy in code] Add support for share and type extra resource [8/10]
Addressed by: https:/
[policy in code] Add support for AZ, scheduler and message resource [9/10]
Addressed by: https:/
Add policy documentation and sample file [10/10]