cyborg/doc/source/configuration/policy.rst

22 lines
621 B
ReStructuredText

===============
Cyborg Policies
===============
The following is an overview of all available policies in Cyborg.
.. warning::
JSON formatted policy file is deprecated since Cyborg (Victoria).
Use YAML formatted file. Use `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
.. only:: html
For a sample configuration file, refer to :doc:`sample-policy`.
.. show-policy::
:config-file: tools/config/cyborg-policy-generator.conf