Thomas Vachuska | 8141264 | 2018-08-06 17:07:36 -0700 | [diff] [blame] | 1 | #!/bin/bash |
2 | # ----------------------------------------------------------------------------- | ||||
3 | # Tool to perform a cell-based remote stc test using a borrowed test cell. | ||||
4 | # ----------------------------------------------------------------------------- | ||||
5 | |||||
6 | # Check environment | ||||
7 | [ -z "$OCN" ] && echo "Cell environment not established" && exit 1 | ||||
8 | |||||
9 | ssh -t -t $ONOS_USER@$OCN " | ||||
10 | source ~/.bash_aliases | ||||
11 | cd \$ONOS_ROOT | ||||
12 | stc $@ | ||||
13 | " |