Merge "[DOC BLD FIX] Fix docstring errors in reduxio"

This commit is contained in:
Jenkins 2017-07-26 18:57:44 +00:00 committed by Gerrit Code Review
commit 0488aa7c22

View File

@ -51,9 +51,13 @@ LOG = logging.getLogger(__name__)
class ReduxioISCSIDriver(san.SanISCSIDriver):
"""OpenStack driver to support Reduxio storage systems.
Version history:
1.0.0 - Initial version - volume management, snapshots, BackDating(TM).
1.0.1 - Capacity stats, fixed error handling for volume deletions.
.. code-block:: default
Version history:
1.0.0 - Initial version - volume management, snapshots,
BackDating(TM).
1.0.1 - Capacity stats, fixed error handling for volume deletions.
"""
VERSION = '1.0.1'
CI_WIKI_NAME = "Reduxio_HX550_CI"
@ -237,6 +241,7 @@ class ReduxioISCSIDriver(san.SanISCSIDriver):
"""Clone volume from existing cinder volume.
:param volume: The clone volume object.
If the volume 'metadata' field contains a 'backdate' key
(If using Cinder CLI, should be provided by --meta flag),
then we create a clone from the specified time.
@ -249,6 +254,7 @@ class ReduxioISCSIDriver(san.SanISCSIDriver):
If meta key 'backdate' was not specified,
then we create a clone from the volume's current state.
:param src_vref: The source volume to clone from
:return: None
"""
@ -285,6 +291,7 @@ class ReduxioISCSIDriver(san.SanISCSIDriver):
We use Reduxio manual bookmark to represent a snapshot.
:param snapshot: The snapshot object.
If the snapshot 'metadata' field contains a 'backdate' key
(If using Cinder CLI, should be provided by --meta flag),
then we create a snapshot from the specified time.
@ -297,6 +304,7 @@ class ReduxioISCSIDriver(san.SanISCSIDriver):
If meta key 'backdate' was not specified, then we create a snapshot
from the volume's current state.
:return: None
"""
LOG.info(