new scripts written
[vsorcdistro/.git] / scripts / clusterGRE.py
index a04d57b9742f814b5096fd3ce70613b0fdc86004..12b947015fde09f4df3a37237f1c6f2fc4aae0f7 100755 (executable)
@@ -3,8 +3,10 @@
 Written by: Felix G. Tejada
 
 This is the principal script to start the project.
-You can start different topology, but by default is starting anything from the precompiler
+You can start different topology, but by default is starting anything from the precompiler, from web.
 
+If you want to start any other topology, just change the constructor MininetCluster with topology 
+you want.
 """
 "clusterGRE.py: Mininet Raspberry Pi Cluster"
 from mininet.examples.cluster import MininetCluster, SwitchBinPlacer, RemoteGRELink
@@ -17,7 +19,7 @@ from precompiler import TopoFromCompiler
 
 def inicia():
     IPs = '/home/pi/scripts/iplist'
-    c = RemoteController('c1', ip='192.168.25.10', port=6633)
+    c = RemoteController('c1', ip='192.168.25.2', port=6633)
     servers = readIPs(IPs)
     #servers = ['192.168.25.2', '192.168.25.3', '192.168.25.4','192.168.25.5','192.168.25.6']
     topo1 = TreeTopo(depth=2, fanout=2) # Topologia basica