Thomas Vachuska | e76f653 | 2015-07-08 09:40:53 -0700 | [diff] [blame^] | 1 | #!/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 | |
| 9 | while ! onos-check-summary $OCI '.*' 0 0 0 0 0; do |
| 10 | onos $OCI wipe-out please |
| 11 | done |