cinder.volume.targets.tgt module

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)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.