Add policy sample generation

This adds the entry point and config file necessary for using the
oslo.policy sample generation script. It also adds a tox target to
simplify the usage of it.

The command is also run in the docs tox target since the sample file
can be considered documentation.

Change-Id: I18a1fa567fc04b0e0a37c02f20024b2ce483f060
Partially-Implements: bp policy-in-code
This commit is contained in:
Andrew Laski
2016-06-21 16:53:57 -04:00
parent 41616f9d55
commit 5e38fa3cb5
4 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
[DEFAULT]
output_file = etc/nova/policy.yaml.sample
namespace = nova