Register default policies in code

Registered by zhongjun on 2017-08-30

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

Status:
Complete
Approver:
zhongjun
Priority:
Undefined
Drafter:
zhongjun
Direction:
Needs approval
Assignee:
zhongjun
Definition:
Approved
Series goal:
Proposed for queens
Implementation:
Implemented
Milestone target:
milestone icon queens-3
Started by
zhongjun on 2017-09-20
Completed by
zhongjun on 2018-01-03

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/policy-in-code,n,z

Addressed by: https://review.openstack.org/500415
    Implement policies in code

Gerrit topic: https://review.openstack.org/#q,topic:policy-and-docs-in-code,n,z

Addressed by: https://review.openstack.org/507054
    Implement policies in code [1/10]

Addressed by: https://review.openstack.org/510851
    [policy in code] Add support for share type resource

Addressed by: https://review.openstack.org/522739
    [policy in code] Add support for share resource [3/10]

Addressed by: https://review.openstack.org/522763
    [policy in code] Add support for snapshot resource [4/10]

Addressed by: https://review.openstack.org/522909
    [policy in code] Add support for service and quota resource [5/10]

Addressed by: https://review.openstack.org/523318
    [policy in code] Add support for group resource [6/10]

Addressed by: https://review.openstack.org/523696
    [policy in code] Add support for replica and network resource [7/10]

Addressed by: https://review.openstack.org/523770
    [policy in code] Add support for share and type extra resource [8/10]

Addressed by: https://review.openstack.org/523819
    [policy in code] Add support for AZ, scheduler and message resource [9/10]

Addressed by: https://review.openstack.org/525115
    Add policy documentation and sample file [10/10]

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.