diff --git a/nova/policies/agents.py b/nova/policies/agents.py index 2f50422381ce..00ba7fb2f6f7 100644 --- a/nova/policies/agents.py +++ b/nova/policies/agents.py @@ -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. """, [ { diff --git a/nova/policies/hide_server_addresses.py b/nova/policies/hide_server_addresses.py index f48a9e8be935..47781a8aa2f9 100644 --- a/nova/policies/hide_server_addresses.py +++ b/nova/policies/hide_server_addresses.py @@ -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', diff --git a/nova/policies/hypervisors.py b/nova/policies/hypervisors.py index ae80ef35acb4..695d3c4ca098 100644 --- a/nova/policies/hypervisors.py +++ b/nova/policies/hypervisors.py @@ -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', diff --git a/nova/policies/volumes.py b/nova/policies/volumes.py index 2609e33d0926..92f6c9185716 100644 --- a/nova/policies/volumes.py +++ b/nova/policies/volumes.py @@ -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. """, [ {