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
diff --git a/tests/unit/__snapshots__/AppNavigation.spec.js.snap b/tests/unit/__snapshots__/AppNavigation.spec.js.snap
index e0ab273..11db806 100644
--- a/tests/unit/__snapshots__/AppNavigation.spec.js.snap
+++ b/tests/unit/__snapshots__/AppNavigation.spec.js.snap
@@ -236,6 +236,15 @@
</a>
<a
class="nav-link"
+ data-test-id="nav-item-power-restore-policy"
+ href="#/control/power-restore-policy"
+ >
+
+ appNavigation.powerRestorePolicy
+
+ </a>
+ <a
+ class="nav-link"
data-test-id="nav-item-reboot-bmc"
href="#/control/reboot-bmc"
>
@@ -752,6 +761,15 @@
</a>
<a
class="nav-link"
+ data-test-id="nav-item-power-restore-policy"
+ href="#/control/power-restore-policy"
+ >
+
+ appNavigation.powerRestorePolicy
+
+ </a>
+ <a
+ class="nav-link"
data-test-id="nav-item-reboot-bmc"
href="#/control/reboot-bmc"
>