Thomas Vachuska | 0a4c270 | 2015-07-06 08:43:41 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # ----------------------------------------------------------------------------- |
| 3 | # Remotely pushes test topologies a remote mininet test machine. |
| 4 | # ----------------------------------------------------------------------------- |
| 5 | |
| 6 | [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 |
| 7 | . $ONOS_ROOT/tools/build/envDefaults |
| 8 | |
| 9 | node=${1:-$OCN} |
| 10 | |
Simon Hunt | 609cf87 | 2016-03-03 13:33:21 -0800 | [diff] [blame] | 11 | ssh $ONOS_USER@$node sudo rm -f topos/*.pyc |
DongRyeol Cha | 5c0a9f0 | 2018-05-17 14:32:55 +0900 | [diff] [blame^] | 12 | scp -qr $ONOS_ROOT/tools/test/topos $ONOS_USER@[$node]: |