blob: e709ce319257c4f47ab03dc86109ee54c70ac869 [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/onosproject/$APP/$ONOS_POM_VERSION/$APP-$ONOS_POM_VERSION.jar
java -jar $JAR < $1 | python -mjson.tool