diff options
author | Sukanya Pandey <sukapan1@in.ibm.com> | 2020-12-16 17:38:01 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2021-02-02 01:32:54 +0300 |
commit | be6858c06bfbd1e06935ad01b743c1043f74488a (patch) | |
tree | ddd6bf979b7a045d4ac16cd723a773d161e92b18 /src/locales | |
parent | d50ba5f915e16be042617d6f472839a684f88ef9 (diff) | |
download | webui-vue-be6858c06bfbd1e06935ad01b743c1043f74488a.tar.xz |
Add power restore policy page
- This page will show how the system boots once power
is restored after a power disturbance.
- API used to fetch the JSON:
/redfish/v1/JsonSchemas/ComputerSystem/ComputerSystem.json
- API used to fetch the current policy and to save updated policy:
/redfish/v1/Systems/system/
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: I203bd3c5d26071b882cce6b9950cdb3fb1deb212
Diffstat (limited to 'src/locales')
-rw-r--r-- | src/locales/en-US.json | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/locales/en-US.json b/src/locales/en-US.json index 1f68d5c7..ed2495c5 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -111,6 +111,7 @@ "networkSettings": "@:appPageTitle.networkSettings", "overview": "@:appPageTitle.overview", "primaryNavigation": "Primary navigation", + "powerRestorePolicy": "@:appPageTitle.powerRestorePolicy", "rebootBmc": "@:appPageTitle.rebootBmc", "securitySettings": "@:appPageTitle.securitySettings", "sensors": "@:appPageTitle.sensors", @@ -137,6 +138,7 @@ "networkSettings": "Network settings", "overview": "Overview", "pageNotFound": "Page not found", + "powerRestorePolicy": "Power restore policy", "profileSettings": "Profile settings", "rebootBmc": "Reboot BMC", "securitySettings": "Security settings", @@ -592,6 +594,20 @@ "pagePageNotFound": { "description": "The requested resource could not be found." }, + "pagePowerRestorePolicy": { + "currentPolicy": "Current Policy", + "description": "Configure power policy to determine how the system starts after a power disturbance.", + "powerPoliciesLabel": "Power restore policies", + "policies" :{ + "AlwaysOn": "Always on", + "AlwaysOff": "Always off", + "LastState": "Last state" + }, + "toast": { + "errorSaveSettings": "Error saving settings.", + "successSaveSettings": "Power restore policy updated successfully." + } + }, "pageRebootBmc": { "lastReboot": "Last BMC reboot", "rebootBmc": "Reboot BMC", |