Enhancing diagnostic and test facilities for troubleshooting
- added new CLI to list driver providers
- added ability to power on/off borrowed cells
- enabled ONOS service to restart on boot/death
Change-Id: Ifc889cdbc0740e5d3286c9836dfecc38d458bbc5
(cherry picked from commit 5ca0f7ad6bed46626220e4e651e5d05868eb044e)
diff --git a/tools/test/scenarios/ha-single-node.xml b/tools/test/scenarios/ha-single-node.xml
index bf69e96..27a0e4e 100644
--- a/tools/test/scenarios/ha-single-node.xml
+++ b/tools/test/scenarios/ha-single-node.xml
@@ -17,8 +17,7 @@
<scenario name="ha-single-node"
description="ONOS cluster single node failure and recovery">
<group name="Single-Node-Failure" if="${OC2}">
- <step name="Node-Death" exec="onos-die ${OC1}"/>
-
+ <step name="Node-Death" exec="onos-power ${OC1} off"/>
<step name="Validate-Death" requires="Node-Death"
exec="onos-check-node-status ${OC2} ${OC1} INACTIVE"/>
@@ -36,10 +35,8 @@
exec="onos-check-flows ${OC2}"/>
</group>
- <group name="Recover" requires="Validate-Normal-Operation">
- <step name="Node-Start"
- exec="onos-service ${OC1} start"/>
-
+ <group name="Recover" requires="~Validate-Normal-Operation">
+ <step name="Node-Start" exec="onos-power ${OC1} on"/>
<step name="Wait-for-Start" requires="~Node-Start"
exec="onos-wait-for-start ${OC1}"/>
</group>