Add manage power usage page
-The page is used to control the power.
-Maximum power can be set between 1 to 10000.
-The API used to get and set the power
limit:/redfish/v1/Chassis/chassis/Power
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: I1cab4876e9149d92de75014d7680ac11410ca4fe
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index ff57c5d..b36a18e 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -25,6 +25,7 @@
"form": {
"fieldRequired": "Field required",
"invalidFormat": "Invalid format",
+ "invalidValue": "Invalid value",
"lengthMustBeBetween": "Length must be between %{min} – %{max} characters",
"mustBeAtLeast": "Must be at least %{value}",
"required": "Required",
@@ -245,6 +246,16 @@
"solConsole": "Serial over LAN console"
}
},
+ "pageManagePowerUsage": {
+ "description": "Set a power cap to keep power consumption at or below the specified value in watts",
+ "powerCapLabel": "Power cap value (in watts)",
+ "powerCapLabelTextInfo": " Value must be between %{min} and %{max}",
+ "powerCapSettingData": "Apply power cap",
+ "powerCapSettingLabel": "Power cap setting",
+ "powerConsumption": "Current power consumption",
+ "serverPowCapSetting": "Server power cap setting"
+ },
+
"pageRebootBmc": {
"rebootBmc": "Reboot BMC",
"rebootInformation": "When you reboot the BMC, your web browser loses contact with the BMC for several minutes. When the BMC is back online, you may need to log in again.",