Adding an STC scenario to test basic HA functionality
Change-Id: Ic70b592bf932dcdcd4eb88606d0b0aa9ef9c4a59
diff --git a/tools/dev/bash_profile b/tools/dev/bash_profile
index 79f80f2..a288765 100644
--- a/tools/dev/bash_profile
+++ b/tools/dev/bash_profile
@@ -105,6 +105,10 @@
alias sshctl='onos-ssh'
alias sshnet='onos-ssh $OCN'
+# Runs a sequence of STC scenarios until the first failure.
+function stcs {
+ for s in "$@"; do stc $s || return 1; done
+}
# Applies the settings in the specified topology recipe file or lists current
# topo recipe definition if no topo recipe file is given.