blob: ba96e5038fbc3cce5cb8e81097ca5cf7e75c2146 [file] [log] [blame]
Thomas Vachuska0a4c2702015-07-06 08:43:41 -07001#!/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
9node=${1:-$OCN}
10
Simon Hunt609cf872016-03-03 13:33:21 -080011ssh $ONOS_USER@$node sudo rm -f topos/*.pyc
Thomas Vachuska0a4c2702015-07-06 08:43:41 -070012scp -qr $ONOS_ROOT/tools/test/topos $ONOS_USER@$node: