Commit 4b07dc37 authored by wutu's avatar wutu

本地测试

parent 945046d1
...@@ -23,7 +23,7 @@ bs: ...@@ -23,7 +23,7 @@ bs:
ipservice: ipservice:
ip: 192.168.0.108:23333 ip: 192.168.0.108:23333
sdn-controller: sdn-controller:
host: 192.168.61.131 host: 192.168.0.108
port: 6653 port: 6653
zookeeper: zookeeper:
url: 192.168.0.108:2181 url: 192.168.0.108:2181
...@@ -57,12 +57,12 @@ public class BisheMultiNodeTests { ...@@ -57,12 +57,12 @@ public class BisheMultiNodeTests {
{0,0,1,0}}); {0,0,1,0}});
clusterConfig.setTopology(topo); clusterConfig.setTopology(topo);
separatedClusterConfig.setClusterConfig(clusterConfig); separatedClusterConfig.setClusterConfig(clusterConfig);
clusterConfigs.add(separatedClusterConfig); //clusterConfigs.add(separatedClusterConfig);
// 第二个节点 // 第二个节点
SeparatedClusterConfig separatedClusterConfig1 = new SeparatedClusterConfig(); SeparatedClusterConfig separatedClusterConfig1 = new SeparatedClusterConfig();
// TODO: 这个ID应该是从借口获取的 // TODO: 这个ID应该是从借口获取的
separatedClusterConfig1.setEdgeNodeId("192.168.61.131:8081"); separatedClusterConfig1.setEdgeNodeId("192.168.0.108:8081");
ClusterConfig clusterConfig1 = new ClusterConfig(); ClusterConfig clusterConfig1 = new ClusterConfig();
clusterConfig1.setId(11111l); clusterConfig1.setId(11111l);
clusterConfig1.setOwner("joliu"); clusterConfig1.setOwner("joliu");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment