aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/test/bin/onos-push-topos
blob: a09d74404d88130d2f45990d165ddfbd66ebcde7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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}

scp -qr $ONOS_ROOT/tools/test/topos $ONOS_USER@$node: