Modified get DB object
diff --git a/src/main/java/net/onrc/onos/graph/RamCloudDBConnection.java b/src/main/java/net/onrc/onos/graph/RamCloudDBConnection.java
index 3fcbfe9..3481eda 100644
--- a/src/main/java/net/onrc/onos/graph/RamCloudDBConnection.java
+++ b/src/main/java/net/onrc/onos/graph/RamCloudDBConnection.java
@@ -27,12 +27,12 @@
//final String coordinatorURL = open(getConfiguration(new File(dbConfigFile)));
//System.out.println("coordinatorURL "+ coordinatorURL);
//graph = new RamCloudGraph(coordinatorURL);
- graph = RamCloudThreadLocal.get();
+ //graph = RamCloudThreadLocal.get();
System.out.println("ThreadId = " + Thread.currentThread().getId() + "graph = " + graph);
- if (graph == null) {
- graph = new RamCloudGraph("fast+udp:host=10.128.100.36,port=12246");
- RamCloudThreadLocal.set(graph);
- }
+ //if (graph == null) {
+ graph = new RamCloudGraph("fast+udp:host=10.128.4.104,port=12246");
+ // RamCloudThreadLocal.set(graph);
+ //}
}
@Override