Merge "Correct param comments in docstring"
This commit is contained in:
@@ -230,7 +230,7 @@ class VolumeManager(base.ManagerWithFind):
|
|||||||
"""
|
"""
|
||||||
Set attachment metadata.
|
Set attachment metadata.
|
||||||
|
|
||||||
:param server: The :class:`Volume` (or its ID)
|
:param volume: The :class:`Volume` (or its ID)
|
||||||
you would like to attach.
|
you would like to attach.
|
||||||
:param instance_uuid: uuid of the attaching instance.
|
:param instance_uuid: uuid of the attaching instance.
|
||||||
:param mountpoint: mountpoint on the attaching instance.
|
:param mountpoint: mountpoint on the attaching instance.
|
||||||
@@ -244,7 +244,7 @@ class VolumeManager(base.ManagerWithFind):
|
|||||||
"""
|
"""
|
||||||
Clear attachment metadata.
|
Clear attachment metadata.
|
||||||
|
|
||||||
:param server: The :class:`Volume` (or its ID)
|
:param volume: The :class:`Volume` (or its ID)
|
||||||
you would like to detach.
|
you would like to detach.
|
||||||
"""
|
"""
|
||||||
return self._action('os-detach', volume)
|
return self._action('os-detach', volume)
|
||||||
@@ -253,7 +253,7 @@ class VolumeManager(base.ManagerWithFind):
|
|||||||
"""
|
"""
|
||||||
Reserve this volume.
|
Reserve this volume.
|
||||||
|
|
||||||
:param server: The :class:`Volume` (or its ID)
|
:param volume: The :class:`Volume` (or its ID)
|
||||||
you would like to reserve.
|
you would like to reserve.
|
||||||
"""
|
"""
|
||||||
return self._action('os-reserve', volume)
|
return self._action('os-reserve', volume)
|
||||||
@@ -262,7 +262,7 @@ class VolumeManager(base.ManagerWithFind):
|
|||||||
"""
|
"""
|
||||||
Unreserve this volume.
|
Unreserve this volume.
|
||||||
|
|
||||||
:param server: The :class:`Volume` (or its ID)
|
:param volume: The :class:`Volume` (or its ID)
|
||||||
you would like to unreserve.
|
you would like to unreserve.
|
||||||
"""
|
"""
|
||||||
return self._action('os-unreserve', volume)
|
return self._action('os-unreserve', volume)
|
||||||
@@ -271,7 +271,7 @@ class VolumeManager(base.ManagerWithFind):
|
|||||||
"""
|
"""
|
||||||
Initialize a volume connection.
|
Initialize a volume connection.
|
||||||
|
|
||||||
:param server: The :class:`Volume` (or its ID).
|
:param volume: The :class:`Volume` (or its ID).
|
||||||
:param connector: connector dict from nova.
|
:param connector: connector dict from nova.
|
||||||
"""
|
"""
|
||||||
return self._action('os-initialize_connection', volume,
|
return self._action('os-initialize_connection', volume,
|
||||||
@@ -281,7 +281,7 @@ class VolumeManager(base.ManagerWithFind):
|
|||||||
"""
|
"""
|
||||||
Terminate a volume connection.
|
Terminate a volume connection.
|
||||||
|
|
||||||
:param server: The :class:`Volume` (or its ID).
|
:param volume: The :class:`Volume` (or its ID).
|
||||||
:param connector: connector dict from nova.
|
:param connector: connector dict from nova.
|
||||||
"""
|
"""
|
||||||
self._action('os-terminate_connection', volume,
|
self._action('os-terminate_connection', volume,
|
||||||
|
Reference in New Issue
Block a user