summaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/test/bin/onos-oecfg
blob: e709ce319257c4f47ab03dc86109ee54c70ac869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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