The ironic.drivers.modules.agent_client Module¶
- 
class 
ironic.drivers.modules.agent_client.AgentClient(*args, **kwargs)[source]¶ Bases:
objectClient for interacting with nodes via a REST API.
- 
collect_system_logs(*args, **kwargs)[source]¶ Collect and package diagnostic and support data from the ramdisk.
- 
power_off(*args, **kwargs)[source]¶ Soft powers off the bare metal node by shutting down ramdisk OS.
- 
start_iscsi_target(*args, **kwargs)[source]¶ Expose the node’s disk as an ISCSI target.
Parameters: - node – an Ironic node object
 - iqn – iSCSI target IQN
 - portal_port – iSCSI portal port
 - wipe_disk_metadata – True if the agent should wipe first the disk magic strings like the partition table, RAID or filesystem signature.
 
-