Update READMEs for sample policy/config generation

Add a combined README for config generation and replace references to
nova for policy generation.

Change-Id: I3e5fe46f1a63f929e7a73b454507c287574fb83a
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2019-09-16 09:41:02 +01:00
parent 6fd51f8831
commit c6fb9c30cc
2 changed files with 28 additions and 11 deletions

View File

@ -1,11 +0,0 @@
Placement
=========
To generate the sample placement policy.yaml file, run the following command
from the top level of the nova directory:
tox -e genpolicy
For a pre-generated example of the latest placement policy.yaml, see:
https://docs.openstack.org/nova/latest/configuration/sample-policy.html

28
etc/placement/README.rst Normal file
View File

@ -0,0 +1,28 @@
Sample policy and config files
==============================
This directory contains sample ``placement.conf`` and ``policy.yaml`` files.
Sample Config
-------------
To generate the sample ``placement.conf`` file, run the following command from
the top level of the placement directory::
tox -e genconfig
For a pre-generated example of the latest ``placement.conf``, see:
https://docs.openstack.org/placement/latest/configuration/sample-config.html
Sample Policy
-------------
To generate the sample ``policy.yaml`` file, run the following command from the
top level of the placement directory::
tox -e genpolicy
For a pre-generated example of the latest placement ``policy.yaml``, see:
https://docs.openstack.org/placement/latest/configuration/sample-policy.html