cinder.volume.targets.nvmet module
updated: 2024-11-07 16:13
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: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Failed to add subsystem: %(subsystem)s'
-
exception NVMETTargetDeleteError(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Failed to delete subsystem: %(subsystem)s'
updated: 2024-11-07 16:13