The cinder.volume.drivers.nexenta.ns5.nfs Module

nexenta.nfs – Driver to store volumes on NexentaStor Appliance.

class NexentaNfsDriver(*args, **kwargs)

Bases: cinder.volume.drivers.nfs.NfsDriver

Executes volume driver commands on Nexenta Appliance.

Version history:
1.0.0 - Initial driver version.
VERSION = '1.0.0'
backend_name
check_for_setup_error()

Verify that the volume for our folder exists.

Raise:LookupError
create_cloned_volume(volume, src_vref)

Creates a clone of the specified volume.

Parameters:
  • volume – new volume reference
  • src_vref – source volume reference
create_snapshot(snapshot)

Creates a snapshot.

Parameters:snapshot – snapshot reference
create_volume(volume)

Creates a volume.

Parameters:volume – volume reference
Returns:provider_location update dict for database
create_volume_from_snapshot(volume, snapshot)

Create new volume from other’s snapshot on appliance.

Parameters:
  • volume – reference of volume to be created
  • snapshot – reference of source snapshot
delete_snapshot(snapshot)

Deletes a snapshot.

Parameters:snapshot – snapshot reference
delete_volume(volume)

Deletes a logical volume.

Parameters:volume – volume reference
do_setup(context)
driver_prefix = 'nexenta'
initialize_connection(volume, connector)

Allow connection to connector and return connection info.

Parameters:
  • volume – volume reference
  • connector – connector reference
local_path(volume)

Get volume path (mounted locally fs path) for given volume.

Parameters:volume – volume reference
volume_backend_name = 'NexentaNfsDriver'