ironic_python_agent.extensions.iscsi module¶
-
class
ironic_python_agent.extensions.iscsi.
ISCSIExtension
(agent=None)[source]¶ Bases:
ironic_python_agent.extensions.base.BaseAgentExtension
-
start_iscsi_target
(iqn=None, wipe_disk_metadata=False, portal_port=None)[source]¶ Expose the disk as an ISCSI target.
- Parameters
iqn – IQN for iSCSI target. If None, a new IQN is generated.
wipe_disk_metadata – if the disk metadata should be wiped out before the disk is exposed.
portal_port – customized port for iSCSI port, can be None.
- Returns
a dict that provides IQN of iSCSI target.
-