aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/test/bin/onos-wipe-out
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/onos/tools/test/bin/onos-wipe-out')
-rwxr-xr-xframework/src/onos/tools/test/bin/onos-wipe-out9
1 files changed, 9 insertions, 0 deletions
diff --git a/framework/src/onos/tools/test/bin/onos-wipe-out b/framework/src/onos/tools/test/bin/onos-wipe-out
new file mode 100755
index 00000000..6e996345
--- /dev/null
+++ b/framework/src/onos/tools/test/bin/onos-wipe-out
@@ -0,0 +1,9 @@
+#!/bin/bash
+# -----------------------------------------------------------------------------
+# Wipes out all data from the ONOS cluster. Temporary until wipe-out is fixed.
+# -----------------------------------------------------------------------------
+
+for node in ${ONOS_INSTANCES:-$OCI}; do
+ onos $node wipe-out please
+done
+onos-check-summary $OCI '.*' 0 0 0 0 0