blob: e709ce319257c4f47ab03dc86109ee54c70ac869 [file] [log] [blame]
Thomas Vachuska4e45ccd2014-10-27 20:03:46 -07001#!/bin/bash
2# -----------------------------------------------------------------------------
3# ONOS OE-Linc config generator.
4# -----------------------------------------------------------------------------
5
6[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
7. $ONOS_ROOT/tools/build/envDefaults
8
9APP=onos-app-oecfg
Brian O'Connorabafb502014-12-02 22:26:20 -080010JAR=$M2_REPO/org/onosproject/$APP/$ONOS_POM_VERSION/$APP-$ONOS_POM_VERSION.jar
Thomas Vachuska4e45ccd2014-10-27 20:03:46 -070011
12java -jar $JAR < $1 | python -mjson.tool