6 months ago
# To run POX controller enter into pox directory (pwd = /home/pox/pox) # Then execute the following command: ./pox.py log.level --DEBUG misc.diamond_controller # It is important to know that in line 11 of the controller there is a dictionary mapping switch numbers to their dpids. # This might have to be manually changed, depending on the switches connected to the controller. # When controller establishes connection with a switch it writes out message containing switch's dpid. # To run topology in mininet enter into mininet directory (pwd = /home/pox/mininet) # Then execute the following command: sudo python3 ./custom/run_topology.py # The code in run_topology file, in addition to creating the topology, disables ipv6 on hosts and switches. # This is important, as ipv6 generates unnecessary traffic, and also would require additional changes in pox source files.