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.
Version history: .. code-block:: default
1.0.0 - Initial driver version.
1.1.0 - Added HTTPS support. Version history:
Added use of sessions for REST calls. 1.0.0 - Initial driver version.
1.1.0 - Added HTTPS support.
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.
Version history: .. code-block:: default
1.0.0 - Initial driver version.
1.1.0 - Added HTTPS support. Version history:
Added use of sessions for REST calls. 1.0.0 - Initial driver version.
1.2.0 - Support for extend volume. 1.1.0 - Added HTTPS support.
Support for extending the volume in Added use of sessions for REST calls.
create_volume_from_snapshot if the size of new volume is larger 1.2.0 - Support for extend volume.
than original volume size. Support for extending the volume in
create_volume_from_snapshot if the size of new volume
is larger than original volume size.
""" """
driver_prefix = 'nexenta' driver_prefix = 'nexenta'