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
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