Thomas Vachuska

Improving push through proxy tool

Change-Id: I27e4fca905bf2f7f732a05941e9082ae713f6529
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
6 [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 6 [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
7 . $ONOS_ROOT/tools/build/envDefaults 7 . $ONOS_ROOT/tools/build/envDefaults
8 8
9 +OCT=${OCT:-$OCI}
9 node=${1:-$OCT} 10 node=${1:-$OCT}
10 remote=$ONOS_USER@$node 11 remote=$ONOS_USER@$node
11 shift 12 shift
...@@ -13,7 +14,7 @@ shift ...@@ -13,7 +14,7 @@ shift
13 echo "Pushing to proxy $node..." 14 echo "Pushing to proxy $node..."
14 onos-push-bits $node 15 onos-push-bits $node
15 16
16 -others=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2) 17 +others=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2 | grep -v $OCT)
17 18
18 for other in $others; do 19 for other in $others; do
19 echo "Pushing to $other..." 20 echo "Pushing to $other..."
......