blob: a0c843d63e53871b523513417e3ab0aac83d8f48 [file] [log] [blame]
tom1a2908c2014-09-23 16:37:39 -07001#!/bin/bash
Pavlin Radoslavov91413792014-10-15 11:00:32 -07002# -----------------------------------------------------------------------------
tom1a2908c2014-09-23 16:37:39 -07003# Launches ONOS GUI on the specified node.
Pavlin Radoslavov91413792014-10-15 11:00:32 -07004# -----------------------------------------------------------------------------
tom1a2908c2014-09-23 16:37:39 -07005
Pavlin Radoslavov4b154072014-10-15 10:49:23 -07006[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
7. $ONOS_ROOT/tools/build/envDefaults
8
tom1a2908c2014-09-23 16:37:39 -07009host=${1:-$OCI}
10host=${host:-localhost}
11
Pavlin Radoslavov91413792014-10-15 11:00:32 -070012open http://$host:8181/onos/tvue