diff options
author | Ashlee Young <ashlee@wildernessvoice.com> | 2015-11-03 14:08:10 -0800 |
---|---|---|
committer | Ashlee Young <ashlee@wildernessvoice.com> | 2015-11-03 14:08:10 -0800 |
commit | 643ee33289bd2cb9e6afbfb09b4ed72d467ba1c2 (patch) | |
tree | c2c376a44a359544fe3d4c45eb0cc0e2ec4a7080 /framework/src/onos/tools/dev/bin/onos-setup-karaf | |
parent | 46eeb79b54345bdafb6055b8ee4bad4ce8b01274 (diff) |
This updates ONOS src tree to commit id
03fa5e571cabbd001ddb1598847e1150b11c7333
Change-Id: I13b554026d6f902933e35887d29bd5fdb669c0bd
Signed-off-by: Ashlee Young <ashlee@wildernessvoice.com>
Diffstat (limited to 'framework/src/onos/tools/dev/bin/onos-setup-karaf')
-rwxr-xr-x | framework/src/onos/tools/dev/bin/onos-setup-karaf | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/framework/src/onos/tools/dev/bin/onos-setup-karaf b/framework/src/onos/tools/dev/bin/onos-setup-karaf index 3323d9d1..cbe62253 100755 --- a/framework/src/onos/tools/dev/bin/onos-setup-karaf +++ b/framework/src/onos/tools/dev/bin/onos-setup-karaf @@ -97,13 +97,11 @@ fi echo "Creating local cluster configs for IP $IP..." [ -d $STAGE/config ] || mkdir -p $STAGE/config cat > $STAGE/config/cluster.json <<EOF - { "ipPrefix": "$SUBNET.*", - "nodes":[ { "id": "$IP", "ip": "$IP", "tcpPort": 9876 }]} -EOF - -cat > $STAGE/config/tablets.json <<EOF - { "nodes": [ { "ip": "$IP", "id": "$IP", "tcpPort": 9876 }], - "partitions": { "p1": [ { "ip": "$IP", "id": "$IP", "tcpPort": 9876 }]}} +{ + "name": "default", + "nodes": [ {"id": "$IP", "ip": "$IP", "port": 9876 } ], + "partitions": [ { "name": "p1", "members": [ "$IP" ] } ] +} EOF if [ "$CLEAN" = "true" ]; then |