Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Thomas Vachuska
2014-10-27 20:03:46 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4e45ccd7d1cdd896b60c9ab856129ed2ff883a9a
4e45ccd7
1 parent
755fb43a
Added a standalone utility to convert ONOS topology JSON config to OELinc JSON config.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
tools/test/bin/onos-oecfg
tools/test/bin/onos-oecfg
0 → 100755
View file @
4e45ccd
#!/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
Please
register
or
login
to post a comment