cinder.volume.targets.tgt module¶
- class TgtAdm(*args, **kwargs)¶
Bases:
ISCSITarget
Target object for block storage devices.
Base class for target object, where target is data transport mechanism (target) specific calls. This includes things like create targets, attach, detach etc.
- VOLUME_CONF = '\n<target %(name)s>\n backing-store %(path)s\n driver %(driver)s\n %(chap_auth)s\n %(target_flags)s\n write-cache %(write_cache)s\n</target>\n'¶
- create_iscsi_target(name, tid, lun, path, chap_auth=None, **kwargs)¶
- remove_iscsi_target(tid, lun, vol_id, vol_name, **kwargs)¶