blob: 76b5c152a3cd4e8790323a58b7472012c7c4cdff [file] [log] [blame]
tomac77d762014-09-18 19:59:42 -07001#!/bin/bash
2#-------------------------------------------------------------------------------
tom1a2908c2014-09-23 16:37:39 -07003# ONOS remote command-line client.
tomac77d762014-09-18 19:59:42 -07004#-------------------------------------------------------------------------------
5
toma6bc21b2014-09-30 09:39:02 -07006[ "$1" = "-w" ] && shift && onos-wait-for-start $1
7
tomac77d762014-09-18 19:59:42 -07008[ -n "$1" ] && OCI=$1 && shift
toma6bc21b2014-09-30 09:39:02 -07009client -h $OCI "$@" 2>/dev/null