mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	OpenBMC Thermal Mode {Perl]
This commit is contained in:
		| @@ -83,6 +83,10 @@ OpenBMC specific: | ||||
|  | ||||
| \ **rspconfig**\  \ *noderange*\  \ **sshcfg**\  | ||||
|  | ||||
| \ **rspconfig**\  \ *noderange*\  \ **thermalmode**\  | ||||
|  | ||||
| \ **rspconfig**\  \ *noderange*\  \ **thermalmode={default|custom|heavy_io|max_base_fan_floor}**\  | ||||
|  | ||||
| \ **rspconfig**\  \ *noderange*\  \ **timesyncmethod**\  | ||||
|  | ||||
| \ **rspconfig**\  \ *noderange*\  \ **timesyncmethod={manual|ntp}**\  | ||||
| @@ -521,6 +525,12 @@ OPTIONS | ||||
|   | ||||
|  | ||||
|  | ||||
| \ **thermalmode**\  | ||||
|   | ||||
|  Display or set the thermal mode of the system to a setting, depending on your system, adapter, and cable type. After a factory reset of the system, the thermal mode setting is lost and must be reapplied. To choose the correct setting for your system, see http://blaze.aus.stglabs.ibm.com/kc20A-cur/POWER9/p9ei3/p9ei3_thermal_mode.htm [OpenBMC] | ||||
|   | ||||
|  | ||||
|  | ||||
| \ **timesyncmethod**\  | ||||
|   | ||||
|  Set the method for time synchronization on the BMC. [OpenBMC] | ||||
|   | ||||
| @@ -193,6 +193,8 @@ my %usage = ( | ||||
|        rspconfig <noderange> timesyncmethod={ntp|manual} | ||||
|        rspconfig <noderange> bootmode | ||||
|        rspconfig <noderange> bootmode={safe|regular|setup} | ||||
|        rspconfig <noderange> thermalmode | ||||
|        rspconfig <noderange> thermalmode={default|custom|heavy_io|max_base_fan_floor} | ||||
|        rspconfig <noderange> autoreboot | ||||
|        rspconfig <noderange> autoreboot={0|1} | ||||
| ", | ||||
|   | ||||
| @@ -60,6 +60,10 @@ B<rspconfig> I<noderange> B<powersupplyredundancy={disabled|enabled}> | ||||
|  | ||||
| B<rspconfig> I<noderange> B<sshcfg> | ||||
|  | ||||
| B<rspconfig> I<noderange> B<thermalmode> | ||||
|  | ||||
| B<rspconfig> I<noderange> B<thermalmode={default|custom|heavy_io|max_base_fan_floor}> | ||||
|  | ||||
| B<rspconfig> I<noderange> B<timesyncmethod> | ||||
|  | ||||
| B<rspconfig> I<noderange> B<timesyncmethod={manual|ntp}> | ||||
| @@ -402,6 +406,10 @@ B<-d> will download a single dump or all generated dumps from the BMC to /var/lo | ||||
|  | ||||
| =back | ||||
|  | ||||
| =item B<thermalmode> | ||||
|  | ||||
| Display or set the thermal mode of the system to a setting, depending on your system, adapter, and cable type. After a factory reset of the system, the thermal mode setting is lost and must be reapplied. To choose the correct setting for your system, see http://blaze.aus.stglabs.ibm.com/kc20A-cur/POWER9/p9ei3/p9ei3_thermal_mode.htm [OpenBMC] | ||||
|  | ||||
| =item B<timesyncmethod> | ||||
|  | ||||
| Set the method for time synchronization on the BMC. [OpenBMC] | ||||
|   | ||||
| @@ -676,6 +676,21 @@ my %api_config_info = ( | ||||
|             manual      => "xyz.openbmc_project.Time.Synchronization.Method.Manual", | ||||
|         }, | ||||
|     }, | ||||
|     RSPCONFIG_THERMAL_MODE => { | ||||
|         command      => "rspconfig", | ||||
|         url          => "/control/thermal/0", | ||||
|         attr_url     => "Current", | ||||
|         display_name => "BMC ThermalMode", | ||||
|         instruct_msg => "", | ||||
|         type         => "attribute", | ||||
|         subcommand   => "thermalmode", | ||||
|         attr_value   => { | ||||
|             default            => "DEFAULT", | ||||
|             custom             => "CUSTOM", | ||||
|             heavy_io           => "HEAVY_IO", | ||||
|             max_base_fan_floor => "MAX_BASE_FAN_FLOOR", | ||||
|         }, | ||||
|     }, | ||||
| ); | ||||
|  | ||||
| $::RESPONSE_OK                  = "200 OK"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user