changeset 72:32f6f9de97c1

add ring.dot
author akahori
date Sat, 01 Sep 2018 10:22:27 +0900
parents 36c5c050394d
children f1f34c3e33d4
files scripts/ring.dot src/main/java/christie/test/topology/localTestTopology/StartLocalTestTopology.java
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/ring.dot	Sat Sep 01 10:22:27 2018 +0900
@@ -0,0 +1,8 @@
+digraph test {
+	node0 -> node1 [label="right"]
+	node0 -> node2 [label="left"]
+	node1 -> node2 [label="right"]
+	node1 -> node0 [label="left"]
+	node2 -> node0 [label="right"]
+	node2 -> node1 [label="left"]
+}
--- a/src/main/java/christie/test/topology/localTestTopology/StartLocalTestTopology.java	Sat Sep 01 10:00:19 2018 +0900
+++ b/src/main/java/christie/test/topology/localTestTopology/StartLocalTestTopology.java	Sat Sep 01 10:22:27 2018 +0900
@@ -23,7 +23,7 @@
         configs.add(new LocalTestTopologyConfig(args, 10002, "node1"));
         configs.add(new LocalTestTopologyConfig(args, 10003, "node2"));
 
-        TopologyManagerConfig topologyManagerConfig = new TopologyManagerConfig(new String[]{"--confFile", "/Users/e155753/Specialized_subject/kono/hg/Alice/Alice/scripts/ring.dot", "--showTime"});
+        TopologyManagerConfig topologyManagerConfig = new TopologyManagerConfig(new String[]{"--confFile", "scripts/ring.dot", "--showTime"});
         CodeGearManager topologyManagerCGM = createCGM(10000);
         new StartTopologyManager(topologyManagerCGM, topologyManagerConfig);