Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
Showing
4 changed files
with
18 additions
and
4 deletions
... | @@ -34,6 +34,8 @@ cp -r $ONOS_ROOT/tools/package/etc/* $KARAF_DIST/etc | ... | @@ -34,6 +34,8 @@ cp -r $ONOS_ROOT/tools/package/etc/* $KARAF_DIST/etc |
34 | mkdir -p $KARAF_DIST/system/org/onlab | 34 | mkdir -p $KARAF_DIST/system/org/onlab |
35 | cp -r $M2_REPO/org/onlab $KARAF_DIST/system/org/ | 35 | cp -r $M2_REPO/org/onlab $KARAF_DIST/system/org/ |
36 | 36 | ||
37 | +export ONOS_FEATURES="${ONOS_FEATURES:-webconsole,onos-api,onos-core,onos-cli,onos-rest,onos-gui,onos-openflow,onos-app-fwd,onos-app-foo}" | ||
38 | + | ||
37 | # Cellar Patching -------------------------------------------------------------- | 39 | # Cellar Patching -------------------------------------------------------------- |
38 | 40 | ||
39 | # Patch the Apache Karaf distribution file to add Cellar features repository | 41 | # 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 | ... | @@ -51,7 +53,7 @@ perl -pi.old -e "s|^(featuresRepositories=.*)|\1,mvn:org.onlab.onos/onos-feature |
51 | $ONOS_STAGE/$KARAF_DIST/etc/org.apache.karaf.features.cfg | 53 | $ONOS_STAGE/$KARAF_DIST/etc/org.apache.karaf.features.cfg |
52 | 54 | ||
53 | # Patch the Apache Karaf distribution file to load ONOS features | 55 | # Patch the Apache Karaf distribution file to load ONOS features |
54 | -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|' \ | 56 | +perl -pi.old -e "s|^(featuresBoot=.*)|\1,$ONOS_FEATURES|" \ |
55 | $ONOS_STAGE/$KARAF_DIST/etc/org.apache.karaf.features.cfg | 57 | $ONOS_STAGE/$KARAF_DIST/etc/org.apache.karaf.features.cfg |
56 | 58 | ||
57 | # Patch the Apache Karaf distribution with ONOS branding bundle | 59 | # Patch the Apache Karaf distribution with ONOS branding bundle | ... | ... |
... | @@ -66,6 +66,7 @@ function cell { | ... | @@ -66,6 +66,7 @@ function cell { |
66 | env | egrep "OCI" | 66 | env | egrep "OCI" |
67 | env | egrep "OC[0-9]+" | sort | 67 | env | egrep "OC[0-9]+" | sort |
68 | env | egrep "OCN" | 68 | env | egrep "OCN" |
69 | + env | egrep "ONOS_" | egrep -v 'ONOS_ROOT|ONOS_CELL' | ||
69 | fi | 70 | fi |
70 | } | 71 | } |
71 | 72 | ... | ... |
1 | # ProxMox-based cell of ONOS instances 1,2 & ONOS mininet box | 1 | # ProxMox-based cell of ONOS instances 1,2 & ONOS mininet box |
2 | . $ONOS_ROOT/tools/test/cells/.reset | 2 | . $ONOS_ROOT/tools/test/cells/.reset |
3 | 3 | ||
4 | +export ONOS_FEATURES="webconsole,onos-api,onos-core-trivial,onos-cli,onos-openflow,onos-app-fwd,onos-app-mobility,onos-app-tvue" | ||
5 | + | ||
4 | export ONOS_NIC="10.128.4.*" | 6 | export ONOS_NIC="10.128.4.*" |
5 | 7 | ||
6 | export OC1="10.128.4.60" | 8 | export OC1="10.128.4.60" |
7 | -#export OC2="192.168.97.131" | ||
8 | - | ||
9 | -#export OCN="192.168.97.130" | ||
10 | 9 | ... | ... |
tools/test/cells/three
0 → 100644
1 | +# Default virtual box ONOS instances 1,2 & ONOS mininet box | ||
2 | + | ||
3 | +export ONOS_NIC=192.168.56.* | ||
4 | + | ||
5 | +export ONOS_FEATURES="webconsole,onos-api,onos-core-trivial,onos-cli,onos-rest,onos-gui,onos-openflow,onos-app-fwd,onos-app-foo" | ||
6 | + | ||
7 | +export OC1="192.168.56.101" | ||
8 | +export OC2="192.168.56.102" | ||
9 | +export OC3="192.168.56.104" | ||
10 | + | ||
11 | +export OCN="192.168.56.103" | ||
12 | + |
-
Please register or login to post a comment