API Guide
Table 33. Parameters for idrac.cong_mgr.reset_idrac
Parameter Name Type Allowed Values
Force
ResetForceEnum
ResetForceEnum.Graceful
ResetForceEnum.Force
Description
Description: This method is used to reset the iDRAC.
0 - Graceful - Reset is performed after the device is properly restarted.
1 - Force - Reset is performed without a proper shutdown of the device.
idrac.cong_mgr.reset_to_factory
API string/Method: idrac.config_mgr.reset_to_factory.
Protocol Support: WSMAN, Redfish.
Description: This method is used to reset the iDRAC to factory default.
Parameters:
Table 34. Parameters for idrac.cong_mgr.reset_to_factory
Parameter Name Type Allowed Values
Force
ResetForceEnum
ResetForceEnum.Graceful
ResetForceEnum.Force
Description
Description: This method is used to reset the iDRAC.
ResetForceEnum.Graceful - Reset is performed after the device is properly restarted.
ResetForceEnum.Force - Reset is performed without a proper shutdown of the device.
Table 35. Parameters for idrac.cong_mgr.reset_to_factory
Parameter Name Type Allowed Values
preserver_config
ResetToFactoryPreserveEnum
ResetToFactoryPreserveEnum.ResetExceptNIC
AndUsers
ResetToFactoryPreserveEnum.ResetAll
ResetToFactoryPreserveEnum.ResetAllExcept
DefaultUser
Description Allows you to preserve the conguration
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.
OpenManage Python SDK API introduction 17