Update onos.sh to generate ramcloud.conf, etc.
- Generate conf/ramcloud.conf
- Specify ramcloud config file when starting ONOS core
- Changed ZooKeeper log dir to onos-log/`hostname`
Note: Currently log filename cannot be modified using env. variable, etc.
- Changed default ramcloud.conf address to 127.0.0.1
- Changed hazelcast default in onos_node.conf to tcp + 127.0.0.1
- Put our path first in LD_LIBRARY_PATH
Change-Id: I53e8dec0e659f12ffae609354675ff73188757e3
diff --git a/conf/.gitignore b/conf/.gitignore
index 6fc1c11..f30287b 100644
--- a/conf/.gitignore
+++ b/conf/.gitignore
@@ -1,2 +1,3 @@
*.bak
zoo.cfg
+onos_node.*.conf
diff --git a/conf/onos_node.conf b/conf/onos_node.conf
index ac3225a..4e67466 100644
--- a/conf/onos_node.conf
+++ b/conf/onos_node.conf
@@ -40,6 +40,7 @@
# List of hostname/ip[:port] which forms Hazelcast grid
# If this value is empty, Hazelcast will be set to multicast mode.
# Inversely, if this value is set, multicast settings will be ignored.
+hazelcast.tcp-ip.members = 127.0.0.1:5701
#hazelcast.tcp-ip.members = 192.168.56.11, 192.168.56.12, 192.168.56.13, 192.168.56.14
# Multicast address used by Hazelcast. (224.2.2.3 by default)
diff --git a/conf/ramcloud.conf b/conf/ramcloud.conf
index b69fcd2..9acd174 100644
--- a/conf/ramcloud.conf
+++ b/conf/ramcloud.conf
@@ -1,4 +1,5 @@
-ramcloud.coordinatorIp=fast+udp:host=192.168.56.11
+ramcloud.coordinatorIp=fast+udp:host=127.0.0.1
ramcloud.coordinatorPort=port=12246
-ramcloud.serverIp=fast+udp:host=192.168.56.11
+# Following lines is not used by ONOS core
+ramcloud.serverIp=fast+udp:host=127.0.0.1
ramcloud.serverPort=port=12242