neutron-lib/neutron_lib/policy
Ghanshyam Mann 3cc97ca806 [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.

Also convert the neutron_lib/tests/etc/policy.json and
neutron_lib/tests/etc/dummy_policy.json to policy.yaml
file. Replace policy.json to policy.yaml ref from doc and tests.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: I63a41a21784fa6ce6d9c249f41991c0df3346135
2020-12-21 16:52:50 +00:00
..
__init__.py Add policy module to neutron-lib 2019-02-19 09:41:39 +01:00
_engine.py [goal] Deprecate the JSON formatted policy file 2020-12-21 16:52:50 +00:00