blob: b26d6a826d61aa10a480425e0b0a54e7a94b01cc [file] [log] [blame]
#!/bin/bash
# -----------------------------------------------------------------------------
# ONOS topology configuration uploader.
# -----------------------------------------------------------------------------
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
. $ONOS_ROOT/tools/build/envDefaults
echo "This facility has been deprecated and will be removed in 1.6.0 (Goldeneye) release!!!"
nodes=$(env | sort | egrep "^OC[0-9]+" | cut -d= -f2)
for node in $nodes; do
printf "$node..."
onos-topo-cfg $node $1
done
printf "\n"