Revision d44a5843 mininet/test/test_nets.py

View differences:

mininet/test/test_nets.py
20 20
        "Ping test with both datapaths on minimal topology"
21 21
        init()
22 22
        for switch in SWITCHES.values():
23
            controllerParams = ControllerParams( 0x0a000000, 8 ) # 10.0.0.0/8
23
            controllerParams = ControllerParams( '10.0.0.0', 8 )
24 24
            mn = Mininet( SingleSwitchTopo(), switch, Host, Controller,
25 25
                         controllerParams )
26 26
            dropped = mn.run( 'ping' )
......
30 30
        "Ping test with both datapaths on 5-host single-switch topology"
31 31
        init()
32 32
        for switch in SWITCHES.values():
33
            controllerParams = ControllerParams( 0x0a000000, 8 ) # 10.0.0.0/8
33
            controllerParams = ControllerParams( '10.0.0.0', 8 )
34 34
            mn = Mininet( SingleSwitchTopo( k=5 ), switch, Host, Controller,
35 35
                         controllerParams )
36 36
            dropped = mn.run( 'ping' )
......
44 44
        "Ping test with both datapaths on a 5-switch topology"
45 45
        init()
46 46
        for switch in SWITCHES.values():
47
            controllerParams = ControllerParams( 0x0a000000, 8 ) # 10.0.0.0/8
47
            controllerParams = ControllerParams( '10.0.0.0', 8 )
48 48
            mn = Mininet( LinearTopo( k=5 ), switch, Host, Controller,
49 49
                         controllerParams )
50 50
            dropped = mn.run( 'ping' )

Also available in: Unified diff