blob: 0200c6f12ba2a71e61522ec805cfeae68217672d [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
DongRyeol Cha5c0a9f02018-05-17 14:32:55 +090012scp -qr $ONOS_ROOT/tools/test/topos $ONOS_USER@[$node]: