blob: 8215ce426295bcfc97f6892ba3e4424a08072910 [file] [log] [blame]
Naoki Shiota9df15d32014-03-27 14:26:20 -07001# Name of this host (`hostname` by default)
Naoki Shiota4e928512014-04-03 15:49:35 -07002#host.name = onosdev1
Naoki Shiota9df15d32014-03-27 14:26:20 -07003
4# IP address of this host used for ONOS communication
5host.ip = 127.0.0.1
6
7# Role of this host
Naoki Shiotabe433a12014-04-07 12:03:49 -07008# single-node: run ONOS with stand-alone RAMCloud
Naoki Shiota9df15d32014-03-27 14:26:20 -07009# coord-node : run ONOS with RAMCloud coordinator
10# server-node: run ONOS with RAMCloud server
Naoki Shiotabe433a12014-04-07 12:03:49 -070011# coord-and-server-node: run ONOS with RAMCloud coordinator and server
Naoki Shiota9df15d32014-03-27 14:26:20 -070012host.role = single-node
13
14# Back-end module to store topology/flows
15host.backend = hazelcast
16#host.backend = ramcloud
17
Naoki Shiota4e928512014-04-03 15:49:35 -070018# List of host name/IPs that constitute ZooKeeper cluster (only current host by default)
Naoki Shiota9df15d32014-03-27 14:26:20 -070019# myid will be assigned incrementally according to order of list
Naoki Shiota9df15d32014-03-27 14:26:20 -070020#zookeeper.hosts = onosdev1,onosdev2,onosdev3,onosdev4
21
Yuta HIGUCHId150ece2014-04-29 16:25:36 -070022# RAMClouod clusterName (ONOS-RC by default)
23#ramcloud.clusterName = ONOS-RC
24
Naoki Shiota9df15d32014-03-27 14:26:20 -070025# Protocol used by RAMCloud coordinator (fast+udp by default)
26#ramcloud.coordinator.protocol = fast+udp
27
Naoki Shiota9109a1e2014-05-13 11:11:01 -070028# Listening address of RAMCloud coordinator (host.ip or 0.0.0.0 by default)
Naoki Shiota9df15d32014-03-27 14:26:20 -070029#ramcloud.coordinator.ip = 127.0.0.1
30
31# Port number of RAMCloud coordinator (12246 by default)
32#ramcloud.coordinator.port = 12246
33
Yuta HIGUCHId150ece2014-04-29 16:25:36 -070034# RAMCloud coordinator option deadServerTimeout (1000 by ONOS default)
35# Increase this value if server failing due to false positive failure detection.
36#ramcloud.coordinator.deadServerTimeout = 1000
37
Naoki Shiota9df15d32014-03-27 14:26:20 -070038# Protocol used by RAMCloud server (fast+udp by default)
39#ramcloud.server.protocol = fast+udp
40
Naoki Shiota9109a1e2014-05-13 11:11:01 -070041# Listening address of RAMCloud server (host.ip or 0.0.0.0 by default)
Naoki Shiota9df15d32014-03-27 14:26:20 -070042#ramcloud.server.ip = 127.0.0.1
43
44# Port number of RAMCloud server (12242 by default)
45#ramcloud.server.port = 12242
Naoki Shiota4e928512014-04-03 15:49:35 -070046
Yuta HIGUCHI45bc3cf2014-04-19 18:12:15 -070047# RAMCloud server option masterServiceThreads (5 by default)
Yuta HIGUCHId150ece2014-04-29 16:25:36 -070048#ramcloud.server.masterServiceThreads = 5
Yuta HIGUCHI45bc3cf2014-04-19 18:12:15 -070049
50# RAMCloud server option logCleanerThreads (1 by default)
Yuta HIGUCHId150ece2014-04-29 16:25:36 -070051#ramcloud.server.logCleanerThreads = 1
Yuta HIGUCHI45bc3cf2014-04-19 18:12:15 -070052
Yuta HIGUCHId150ece2014-04-29 16:25:36 -070053# RAMCloud server option detectFailures [0=disabled] (1 by default)
54#ramcloud.server.detectFailures = 1
55
56# RAMCloud server option replicas (0 by default)
57# This value must be the same cluster wide.
58# On N node cluster, maximum value will be N-1 replicas
59#ramcloud.server.replicas = 0
60
61# RAMCloud server option file (/var/tmp/ramclouddata/backup.`hostname`.log by default)
62# Note: Cannot be placed int ONOS_HOME, if it is on VirtualBox sharedfolder.
63# File specified must be open()-able with O_DIRECT | O_SYNC options.
64#ramcloud.server.file = /var/tmp/ramclouddata/backup.${ONOS_HOST_NAME}.log
Yuta HIGUCHI45bc3cf2014-04-19 18:12:15 -070065
Naoki Shiotab7eb55d2014-04-21 18:21:36 -070066# Port number of Hazelcast (5701 by default)
67#hazelcast.host.port = 5701
68
Naoki Shiota4e928512014-04-03 15:49:35 -070069# List of hostname/ip[:port] which forms Hazelcast grid
Naoki Shiotabe433a12014-04-07 12:03:49 -070070# If this value is empty, Hazelcast will be set to multicast mode.
Naoki Shiota4e928512014-04-03 15:49:35 -070071# Inversely, if this value is set, multicast settings will be ignored.
Yuta HIGUCHI13d1dbf2014-04-17 20:51:38 -070072hazelcast.tcp-ip.members = 127.0.0.1:5701
Naoki Shiota4e928512014-04-03 15:49:35 -070073#hazelcast.tcp-ip.members = 192.168.56.11, 192.168.56.12, 192.168.56.13, 192.168.56.14
74
75# Multicast address used by Hazelcast. (224.2.2.3 by default)
76#hazelcast.multicast.group = 224.2.2.3
77
78# Multicast port used by Hazelcast. (54327 by default)
79#hazelcast.multicast.port = 54327
80