# HG changeset patch # User akahori # Date 1537005649 -32400 # Node ID 5cd99bac9abd583e404da82a6fb37ee16318caa6 # Parent 87a203c991770add923bb03da1a9c7d7c3744af8 update CreateTreeTopology refactor diff -r 87a203c99177 -r 5cd99bac9abd src/main/java/christie/topology/manager/CreateTreeTopology.java --- a/src/main/java/christie/topology/manager/CreateTreeTopology.java Sat Sep 15 18:59:12 2018 +0900 +++ b/src/main/java/christie/topology/manager/CreateTreeTopology.java Sat Sep 15 19:00:49 2018 +0900 @@ -34,16 +34,14 @@ @Override protected void run(CodeGearManager cgm) { - System.out.println("cookie:" + MD5); + String nodeName = "node" + hostCount; - // Manager connect to Node - String newHostName = newHost.getHostName(); int newHostPort = newHost.getPort(); + cgm.createRemoteDGM(nodeName, newHostName, newHostPort); - getDGM(nodeName).put("nodeName", nodeName); getDGM(nodeName).put("cookie", MD5);