Register default policies in code

Registered by Pavlo Shchelokovskyy

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:
Rico Lin
Priority:
High
Drafter:
Pavlo Shchelokovskyy
Direction:
Approved
Assignee:
Rico Lin
Definition:
Approved
Series goal:
Accepted for queens
Implementation:
Implemented
Milestone target:
milestone icon queens-3
Started by
Rico Lin
Completed by
Rico Lin

Related branches

Sprints

Whiteboard

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

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

Addressed by: https://review.openstack.org/502386
    [policy in code] stack rules

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

Addressed by: https://review.openstack.org/505358
    [policy in code] part3 (resource types)

Addressed by: https://review.openstack.org/505360
    [policy in code] part 6(cfn, cloudwatch)

Addressed by: https://review.openstack.org/505361
    [policy in code] part 7 Remove policy.json

Addressed by: https://review.openstack.org/510074
    [policy in code] part 2 (stacks)

Addressed by: https://review.openstack.org/510075
    [policy in code] part 4

Addressed by: https://review.openstack.org/510076
    [policy in code] part 5 (software-*)

Addressed by: https://review.openstack.org/510189
    [policy in code] part 7 add sample policy to doc

Addressed by: https://review.openstack.org/530319
    Remove unused policy cp in devstack

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.