Improve docs about configuring oslo.policy
Change-Id: I73292ae87ee38283e441b635e81bffb0861cd7cf
This commit is contained in:
parent
01740e584b
commit
9ffaadf2ba
@ -8,4 +8,12 @@ To generate sample configuration file execute::
|
||||
|
||||
To generate the sample policies execute::
|
||||
|
||||
tox -e genpolicy
|
||||
tox -e genpolicy
|
||||
|
||||
After generation you will have sample available in
|
||||
``etc/api-policy.yaml.sample``. It contains default values for all policies.
|
||||
After you change it to suit your needs you will need to change monasca-api
|
||||
configuration to look for the new policy configuration with specific file name.
|
||||
Head to ``api-config.conf`` file and then you will need to replace
|
||||
in ``[oslo_policy]`` section ``policy_file`` to your desired file name
|
||||
(like ``api-policy.yaml``).
|
||||
|
@ -1,4 +1,4 @@
|
||||
[DEFAULT]
|
||||
output_file = etc/api-policy.yaml.sample
|
||||
format = yaml
|
||||
namespace = monasca_api
|
||||
namespace = monasca_api
|
||||
|
Loading…
Reference in New Issue
Block a user