Consistent policies

All of the documentation for these is going into user-facing docs, so
clean them up accordingly.

Change-Id: I5f9c284525bac773a897b7acc3773ac5851b9632
Implements: blueprint policy-docs
This commit is contained in:
Stephen Finucane 2017-07-03 11:25:33 +01:00 committed by Matt Riedemann
parent c6e2309548
commit a4070850c7

View File

@ -35,7 +35,7 @@ aggregates_policies = [
policy.DocumentedRuleDefault( policy.DocumentedRuleDefault(
POLICY_ROOT % 'add_host', POLICY_ROOT % 'add_host',
base.RULE_ADMIN_API, base.RULE_ADMIN_API,
"Add a host to an aggregate.", "Add a host to an aggregate",
[ [
{ {
'path': '/os-aggregates/{aggregate_id}/action (add_host)', 'path': '/os-aggregates/{aggregate_id}/action (add_host)',
@ -95,7 +95,7 @@ aggregates_policies = [
policy.DocumentedRuleDefault( policy.DocumentedRuleDefault(
POLICY_ROOT % 'show', POLICY_ROOT % 'show',
base.RULE_ADMIN_API, base.RULE_ADMIN_API,
"Show details for an aggregate.", "Show details for an aggregate",
[ [
{ {
'path': '/os-aggregates/{aggregate_id}', 'path': '/os-aggregates/{aggregate_id}',