[DOC BLD FIX] Fix docstring errors in nexenta driver

The nexenta code had a number od dosctring errors that were
causing Sphinx to generate WARNINGs during build.  This
patch corrects those errors.

Change-Id: If762c8c6987cd063f675865238f0fe0933a4598c
This commit is contained in:
Jay S. Bryant 2017-07-25 15:29:44 -05:00
parent f2cd3ee8c2
commit e853c01421
2 changed files with 18 additions and 12 deletions

View File

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

View File

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