Configuring the Test

The test script is found in the source tree under util/testOfOverlay. Copy the .py files from this directory to each of your test systems. Open config.py in an editor. You can play with this file later, but for now, just find the section that reads:

 switches = [{'name': 's1',
              'tunnelIp': '10.160.9.20',
              'dpid': '1'},
             {'name': 's2',
              'tunnelIp': '10.160.9.21',
              'dpid': '2'}]

Change the tunnelIp items to be the IP addresses of each of your test systems. The IP address of host 1 should be assigned to s1 and similarly for host 2 and s2.


loading table of contents...