2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-12 17:30:19 +00:00

Support rspconfig powersupplyredundancy

This commit is contained in:
Mark Gurevich
2018-01-22 11:20:52 -05:00
parent b871df219e
commit b608dea24a

View File

@ -578,10 +578,14 @@ my %api_config_info = (
RSPCONFIG_POWERSUPPLY_REDUNDENCY => {
command => "rspconfig",
url => "/sensors/chassis/PowerSupplyRedundancy",
attr_url => "PowerSupplyRedundency",
display_name => "PowerSupplyRedundency",
type => "boolean",
subcommand => "powersupplyredundency",
attr_url => "value",
display_name => "PowerSupplyRedundancy",
type => "attribute",
subcommand => "powersupplyredundancy",
attr_value => {
enabled => "Enabled",
disabled => "Disabled",
},
},
RSPCONFIG_POWERRESTORE_POLICY => {
command => "rspconfig",