The cinder.volume.drivers.hds.nfs Module

Volume driver for HDS HNAS NFS storage.

class HDSNFSDriver(*args, **kwargs)

Bases: cinder.volume.drivers.nfs.NfsDriver

Base class for Hitachi NFS driver. Executes commands relating to Volumes.

Version 1.0.0: Initial driver version Version 2.2.0: Added support to SSH authentication

create_cloned_volume(volume, src_vref)

Creates a clone of the specified volume.

Parameters:
  • volume – dictionary volume reference
  • src_vref – dictionary src_vref reference
create_snapshot(snapshot)

Create a snapshot.

Parameters:snapshot – dictionary snapshot reference
create_volume(volume)

Creates a volume.

Parameters:volume – volume reference
create_volume_from_snapshot(volume, snapshot)

Creates a volume from a snapshot.

delete_snapshot(snapshot)

Deletes a snapshot.

Parameters:snapshot – dictionary snapshot reference
do_setup(context)

Perform internal driver setup.

extend_volume(volume, new_size)

Extend an existing volume.

Parameters:
  • volume – dictionary volume reference
  • new_size – int size in GB to extend
get_pool(volume)
get_volume_stats(refresh=False)

Get volume stats.

if ‘refresh’ is True, update the stats first.

set_execute(execute)
factory_bend(drv_config)

Factory over-ride in self-tests.

Previous topic

The cinder.volume.drivers.hds.iscsi Module

Next topic

The cinder.volume.drivers.hitachi.hbsd_basiclib Module

This Page