Merge "[DOC BLD FIX] Fix docstring errors in nexenta driver"

This commit is contained in:
Jenkins 2017-07-26 00:49:18 +00:00 committed by Gerrit Code Review
commit c3e96e5a97
2 changed files with 18 additions and 12 deletions

View File

@ -37,10 +37,13 @@ TARGET_GROUP_PREFIX = 'cinder-tg-'
class NexentaISCSIDriver(driver.ISCSIDriver): class NexentaISCSIDriver(driver.ISCSIDriver):
"""Executes volume driver commands on Nexenta Appliance. """Executes volume driver commands on Nexenta Appliance.
.. code-block:: default
Version history: Version history:
1.0.0 - Initial driver version. 1.0.0 - Initial driver version.
1.1.0 - Added HTTPS support. 1.1.0 - Added HTTPS support.
Added use of sessions for REST calls. Added use of sessions for REST calls.
""" """
VERSION = VERSION VERSION = VERSION

View File

@ -37,14 +37,17 @@ LOG = logging.getLogger(__name__)
class NexentaNfsDriver(nfs.NfsDriver): class NexentaNfsDriver(nfs.NfsDriver):
"""Executes volume driver commands on Nexenta Appliance. """Executes volume driver commands on Nexenta Appliance.
.. code-block:: default
Version history: Version history:
1.0.0 - Initial driver version. 1.0.0 - Initial driver version.
1.1.0 - Added HTTPS support. 1.1.0 - Added HTTPS support.
Added use of sessions for REST calls. Added use of sessions for REST calls.
1.2.0 - Support for extend volume. 1.2.0 - Support for extend volume.
Support for extending the volume in Support for extending the volume in
create_volume_from_snapshot if the size of new volume is larger create_volume_from_snapshot if the size of new volume
than original volume size. is larger than original volume size.
""" """
driver_prefix = 'nexenta' driver_prefix = 'nexenta'