cinder.volume.targets.nvmet module

class NVMET(*args, **kwargs)

Bases: NVMeOF

SHARED_TARGET_SUPPORT = True
create_export(context, volume, volume_path)

Create an export & map if not shared.

initialize_connection(volume, connector)

Create an export & map if shared.

remove_export(context, volume)

Remove the mapping for non shared.

terminate_connection(volume, connector, **kwargs)

Remove the mapping for shared.

exception NVMETTargetAddError(message: str | tuple | None = None, **kwargs)

Bases: CinderException

message = 'Failed to add subsystem: %(subsystem)s'
exception NVMETTargetDeleteError(message: str | tuple | None = None, **kwargs)

Bases: CinderException

message = 'Failed to delete subsystem: %(subsystem)s'