blob: ba96e5038fbc3cce5cb8e81097ca5cf7e75c2146 [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: