API Guide

Table Of Contents
Table 35. Parameters for idrac.config_mgr.reset_to_factory
Parameter Name Type Allowed Values
preserver_config
ResetToFactoryPreserveEnum
ResetToFactoryPreserveEnum.ResetExceptN
ICAndUsers
ResetToFactoryPreserveEnum.ResetAll
ResetToFactoryPreserveEnum.ResetAllExce
ptDefaultUser
Description Allows you to preserve the configuration
0 - ResetToFactoryPreserveEnum.ResetExceptNICAndUsers
Allows you to reset the device without resetting the NIC and User settings.
1 - ResetToFactoryPreserveEnum.ResetAll
Allows you to reset the device along with the NIC and the User settings.
2 - ResetToFactoryPreserveEnum.ResetAllExceptDefaultUser
Allows you to reset without resetting the default user.
Export and Import Tasks API list
This section lists the available Export and Import Tasks APIs.
idrac.config_mgr.scp_export
API string/Method: idrac.config_mgr.scp_export.
Protocol Support: WSMAN, Redfish.
Description: This method is used to export the system configuration from the Lifecycle Controller to a local or a remote share
location.
Parameters:
Table 36. Parameters for idrac.config_mgr.scp_export
Parameter Name Type Allowed Values
export_format ExportFormatEnum
ExportFormatEnum.XML
ExportFormatEnum.JSON
Description
Allows you to export the configuration detail as XML or JSON file.
0 - ExportFormatEnum.XML
1 - ExportFormatEnum.JSON
Default - XML
Table 37. Parameters for idrac.config_mgr.scp_export
Parameter Name Type Allowed Values
export_use ExportUseEnum
ExportUseEnum.Default
ExportUseEnum.Clone
ExportUseEnum.Replace
Description
The output file formats for export_use are:
ExportUseEnum.Default- By default, none of the options are selected.
ExportUseEnum.Clone - This option is used with Redfish protocol to generate an SCP that is
ready for cloning.
ExportUseEnum.Replace - This option is used to retire a server from the data center and replace
it with another.
OpenManage Python SDK API introduction 15