CxtAdm
(*args, **kwargs)¶Bases: cinder.volume.targets.iscsi.ISCSITarget
Chiscsi target configuration for block storage devices.
This includes things like create targets, attach, detach etc.
TARGET_FMT
= '\n target:\n TargetName=%s\n TargetDevice=%s\n PortalGroup=1@%s\n '¶TARGET_FMT_WITH_CHAP
= '\n target:\n TargetName=%s\n TargetDevice=%s\n PortalGroup=1@%s\n AuthMethod=CHAP\n Auth_CHAP_Policy=Oneway\n Auth_CHAP_Initiator=%s\n '¶create_iscsi_target
(name, tid, lun, path, chap_auth=None, **kwargs)¶cxt_subdir
= 'cxt'¶remove_iscsi_target
(tid, lun, vol_id, vol_name, **kwargs)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.