blob: e97449f8d1f4c450834eb066ed84e566e263b7d5 [file] [log] [blame]
#!/bin/bash
# -----------------------------------------------------------------------------
# ONOS OE-Linc config generator.
# -----------------------------------------------------------------------------
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
. $ONOS_ROOT/tools/build/envDefaults
APP=onos-app-oecfg
JAR=$M2_REPO/org/onlab/onos/$APP/$ONOS_POM_VERSION/$APP-$ONOS_POM_VERSION.jar
java -jar $JAR < $1 | python -mjson.tool