blob: 4384fc2629c5a4698d6618c5b1ba205eac774864 [file] [log] [blame]
Thomas Vachuskae76f6532015-07-08 09:40:53 -07001#!/bin/bash
2# -----------------------------------------------------------------------------
3# Wipes out all data from the ONOS cluster. Temporary until wipe-out is fixed.
4# -----------------------------------------------------------------------------
5
6[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
7. $ONOS_ROOT/tools/build/envDefaults
8
9while ! onos-check-summary $OCI '.*' 0 0 0 0 0; do
10 onos $OCI wipe-out please
11done