2404d486ac
Adds the status upgrade check for the JSON to YAML migration effort and updates the documentation where it seems appropriate to move from "policy.json" to "policy.yaml" Mostly shamelessly copied from https://review.opendev.org/#/c/748059/ however is in-line with ironic's configuration and patching methods. Related Blueprint: policy-json-to-yaml Change-Id: I1d5b3892451579ebfd4d75a0f7185e0ef3c984c8
20 lines
638 B
ReStructuredText
20 lines
638 B
ReStructuredText
========
|
|
Policies
|
|
========
|
|
|
|
.. warning::
|
|
JSON formatted policy files were deprecated in the Wallaby development
|
|
cycle due to the Victoria deprecation by the ``olso.policy`` library.
|
|
Use the `oslopolicy-convert-json-to-yaml`__ tool
|
|
to convert the existing JSON to YAML formatted policy file in backward
|
|
compatible way.
|
|
|
|
.. __: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html
|
|
|
|
|
|
The following is an overview of all available policies in Ironic. For
|
|
a sample configuration file, refer to :doc:`sample-policy`.
|
|
|
|
.. show-policy::
|
|
:config-file: tools/policy/ironic-policy-generator.conf
|