blob: 0200c6f12ba2a71e61522ec805cfeae68217672d [file] [log] [blame]
#!/bin/bash
# -----------------------------------------------------------------------------
# Remotely pushes test topologies a remote mininet test machine.
# -----------------------------------------------------------------------------
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
. $ONOS_ROOT/tools/build/envDefaults
node=${1:-$OCN}
ssh $ONOS_USER@$node sudo rm -f topos/*.pyc
scp -qr $ONOS_ROOT/tools/test/topos $ONOS_USER@[$node]: