API Guide
Exporting LC Logs
iDRAC provides Lifecycle log that contains events related to system, storage devices, network devices, rmware updates, congura tion
changes, license messages, and so on.
idrac.log_mgr.lclog_export: Allows you to export the log from the Lifecycle Controller to a remote share.
Export Complete LC Logs
idrac.log_mgr.complete_lclog_export(): Allows you to export the full log from the Lifecycle Controller to a remote share.
Export TSR Logs
idrac.config_mgr.export_tsr(): Allows you to collect the TSR i.e hardware, OS and App data, then compressed the .zip le save
into the respective remote share path.
Server iDRAC settings and conguration
The following attributes provide the information about the server iDRAC settings and congurations.
• iDRAC User Conguration
• iDRAC Network Conguration
• iDRAC Service Conguration
• iDRAC Systems Settings
iDRAC User Conguration settings
The following API's provides the user credentials settings for the WSMAN.
idrac.user_mgr.User.new(): Creates the user credentials for WSMAN communication.
idrac.user_mgr.Users.remove(): Deletes the user credentials for WSMAN communication.
iDRAC Network Conguration
The following API's provides information about the network conguration API's available.
• iDRAC DNS conguration
• iDRAC DHCP conguration
• iDRAC Static IP conguration
• iDRAC Time Zone conguration
iDRAC DNS conguration
idrac.config_mgr.configure_dns(): Allows you to congure the DNS server.
iDRAC DHCP conguration
idrac.config_mgr.configure_ipv4(): Allows you to congure the DCHP settings.
iDRAC Static IP conguration
idrac.config_mgr.configure_static_ipv4(): Allows you to congure the static IP settings.
Getting Started
63