Merge "Fix indentation in policy doc"

This commit is contained in:
Jenkins 2017-07-20 12:26:13 +00:00 committed by Gerrit Code Review
commit 06a121b1e9
4 changed files with 16 additions and 14 deletions

View File

@ -27,8 +27,8 @@ agents_policies = [
base.RULE_ADMIN_API,
"""Create, list, update, and delete guest agent builds
This is XenAPI driver specific. It is used to force the upgrade of the
XenAPI guest agent on instance boot.
This is XenAPI driver specific.
It is used to force the upgrade of the XenAPI guest agent on instance boot.
""",
[
{

View File

@ -24,11 +24,11 @@ hide_server_addresses_policies = [
'is_admin:False',
"""Hide server's 'addresses' key in the server response.
This set the 'addresses' key in the server response to an empty dictionary
when the server is in a specific set of states as defined in
CONF.api.hide_server_address_states.
By default 'addresses' is hidden only when the server is in 'BUILDING'
state.""",
This set the 'addresses' key in the server response to an empty
dictionary when the server is in a specific set of states as
defined in CONF.api.hide_server_address_states.
By default 'addresses' is hidden only when the server is in
'BUILDING' state.""",
[
{
'method': 'GET',

View File

@ -29,11 +29,12 @@ hypervisors_policies = [
This rule will be checked for the following APIs:
List all hypervisors, list all hypervisors with details, show summary
statistics for all hypervisors over all compute nodes, show details for a
hypervisor, show the uptime of a hypervisor, search hypervisor by
hypervisor_hostname pattern and list all servers on hypervisors that can match
the provided hypervisor_hostname pattern.""",
List all hypervisors, list all hypervisors with details, show
summary statistics for all hypervisors over all compute nodes,
show details for a hypervisor, show the uptime of a hypervisor,
search hypervisor by hypervisor_hostname pattern and list all
servers on hypervisors that can match the provided
hypervisor_hostname pattern.""",
[
{
'path': '/os-hypervisors',

View File

@ -27,8 +27,9 @@ volumes_policies = [
base.RULE_ADMIN_OR_OWNER,
"""Manage volumes for use with the Compute API.
Lists, shows details, creates, and deletes volumes and snapshots. These APIs
are proxy calls to the Volume service. These are all deprecated.
Lists, shows details, creates, and deletes volumes and
snapshots. These APIs are proxy calls to the Volume service.
These are all deprecated.
""",
[
{