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
tom
2014-09-30 11:57:50 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e797a5dba6db21e4f347250a276caf4672d03478
e797a5db
1 parent
b77d65a3
Adding customizable features for cell-specific packaging.
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
4 deletions
tools/build/onos-package
tools/dev/bash_profile
tools/test/cells/office
tools/test/cells/three
tools/build/onos-package
View file @
e797a5d
...
...
@@ -34,6 +34,8 @@ cp -r $ONOS_ROOT/tools/package/etc/* $KARAF_DIST/etc
mkdir -p
$KARAF_DIST
/system/org/onlab
cp -r
$M2_REPO
/org/onlab
$KARAF_DIST
/system/org/
export
ONOS_FEATURES
=
"
${
ONOS_FEATURES
:-
webconsole
,onos-api,onos-core,onos-cli,onos-rest,onos-gui,onos-openflow,onos-app-fwd,onos-app-foo
}
"
# Cellar Patching --------------------------------------------------------------
# Patch the Apache Karaf distribution file to add Cellar features repository
...
...
@@ -51,7 +53,7 @@ perl -pi.old -e "s|^(featuresRepositories=.*)|\1,mvn:org.onlab.onos/onos-feature
$ONOS_STAGE
/
$KARAF_DIST
/etc/org.apache.karaf.features.cfg
# Patch the Apache Karaf distribution file to load ONOS features
perl -pi.old -e
's|^(featuresBoot=.*)|\1,webconsole,onos-api,onos-core,onos-cli,onos-rest,onos-gui,onos-openflow,onos-app-fwd,onos-app-foo|'
\
perl -pi.old -e
"s|^(featuresBoot=.*)|
\1
,
$ONOS_FEATURES
|"
\
$ONOS_STAGE
/
$KARAF_DIST
/etc/org.apache.karaf.features.cfg
# Patch the Apache Karaf distribution with ONOS branding bundle
...
...
tools/dev/bash_profile
View file @
e797a5d
...
...
@@ -66,6 +66,7 @@ function cell {
env | egrep
"OCI"
env | egrep
"OC[0-9]+"
| sort
env | egrep
"OCN"
env | egrep
"ONOS_"
| egrep -v
'ONOS_ROOT|ONOS_CELL'
fi
}
...
...
tools/test/cells/office
View file @
e797a5d
# ProxMox-based cell of ONOS instances 1,2 & ONOS mininet box
. $ONOS_ROOT/tools/test/cells/.reset
export ONOS_FEATURES="webconsole,onos-api,onos-core-trivial,onos-cli,onos-openflow,onos-app-fwd,onos-app-mobility,onos-app-tvue"
export ONOS_NIC="10.128.4.*"
export OC1="10.128.4.60"
#export OC2="192.168.97.131"
#export OCN="192.168.97.130"
...
...
tools/test/cells/three
0 → 100644
View file @
e797a5d
# Default virtual box ONOS instances 1,2 & ONOS mininet box
export ONOS_NIC=192.168.56.*
export ONOS_FEATURES="webconsole,onos-api,onos-core-trivial,onos-cli,onos-rest,onos-gui,onos-openflow,onos-app-fwd,onos-app-foo"
export OC1="192.168.56.101"
export OC2="192.168.56.102"
export OC3="192.168.56.104"
export OCN="192.168.56.103"
Please
register
or
login
to post a comment