blob: b733c23b1bc2bbe7e6951951389f500fe276ed9f [file] [log] [blame]
#!/bin/bash
# -----------------------------------------------------------------------------
# Launches ONOS REST API docs GUI on the specified node.
# -----------------------------------------------------------------------------
host=${1:-$OCI}
host=${host:-localhost}
unamestr=`uname`
if [[ "$unamestr" == 'Linux' ]]; then
xdg-open http://$host:8181/onos/v1/docs
else
open http://$host:8181/onos/v1/docs
fi