Adding config file for sharing.
[iot2.git] / localconfig / iotruntime / IoTMaster.config
index 66e726509c779cc7cb61d526d0d5eb3d7fdcf6e6..e73967bbba60f9fc3a75a4323fee405de3245849 100644 (file)
@@ -3,9 +3,10 @@
 MAC_ADDRESS=74:da:38:68:72:8a
 IOT_CODE_PATH=./../iotcode/
 CONTROLLERS_CODE_PATH=../
-RUNTIME_DIR=~/iotjava/iotruntime;
-#CLASS_PATH=-cp .:/usr/share/java/*:./../../iotjava/:./../../iotjava/iotruntime/:./../../iotjava/iotinstaller/
-CLASS_PATH=-cp .:/usr/share/java/*:./../:./../iotruntime/:./../iotinstaller/
+RUNTIME_DIR=~/iot2/bin/iotruntime;
+SLAVE_DIR=~/iot2/bin/iotruntime/slave;
+#CLASS_PATH=-cp .:/usr/share/java/*:./../../:./../../iotruntime/:./../../iotinstaller/:./../../iotrmi/
+CLASS_PATH=-cp .:/usr/share/java/*:./../:./../iotruntime/:./../iotinstaller/:./../../iotrmi/
 
 #benchmarks/libs/boofcv_libs/* - we usually put these benchmark codes in /usr/share/java on compute nodes
 #benchmarks/libs/georegression_libs/* - we usually put these benchmark codes in /usr/share/java on compute nodes
@@ -13,17 +14,42 @@ CLASS_PATH=-cp .:/usr/share/java/*:./../:./../iotruntime/:./../iotinstaller/
 RMI_PATH=-Djava.rmi.server.codebase=file:.:/usr/share/java/*
 RMI_HOSTNAME=-Djava.rmi.server.hostname=
 LOG_FILE_PATH=log/
-SSH_USERNAME=ssh iotuser@
-ROUTER_ADD=192.168.2.1
+USERNAME=iotuser@
+ROUTER_ADD=192.168.1.1
 
 #The only host that SSH is allowed from to the router
 MONITORING_HOST=74:da:38:68:72:8a
 
 #Zigbee gateway information
-ZIGBEE_GATEWAY_ADDRESS=c0:4a:00:10:9c:b3
+#ZIGBEE_GATEWAY_ADDRESS=c0:4a:00:10:9c:b3
+ZIGBEE_GATEWAY_ADDRESS=74:da:38:0d:05:56
 ZIGBEE_GATEWAY_PORT=5005
 ZIGBEE_IOTMASTER_PORT=12345
 
 #Verboseness of runtime messages
 VERBOSE=Yes
 
+#Language: C++ or Java
+LANGUAGE=Java
+
+#JVM heap size - can go out of memory if a IoTSlave needs to handle a lot of objects
+#E.g. JVM_INIT_HEAP_SIZE=-Xms64m, JVM_MAX_HEAP_SIZE=-Xmx64m (64 MB of heap)
+#Made empty for now as it needs fine-tuning
+JVM_INIT_HEAP_SIZE=
+JVM_MAX_HEAP_SIZE=
+
+# Skeleton suffix, e.g. _Skeleton for Camera_Skeleton.class
+SKEL_CLASS_SUFFIX=_Skeleton
+
+# Skeleton suffix, e.g. _Stub for CameraSpecial_Stub.class
+STUB_CLASS_SUFFIX=_Stub
+
+# Sandboxing
+ACTIVATE_SANDBOXING=Yes
+
+# MAC to IP address translation location
+# tmp (/tmp/dhcp.leases), or arp
+MAC_TO_IP_TRANSLATION=tmp
+
+# Firewall policy turned on? (Yes or No - default Yes)
+POLICY_ON=Yes