Revision 37bdf14b examples/intfoptions.py

View differences:

examples/intfoptions.py
19 19
    h2 = net.addHost( 'h2' )
20 20
    s1 = net.addSwitch( 's1' )
21 21
    link1 = net.addLink( h1, s1, cls=TCLink )
22
    link2 = net.addLink( h2, s1 )
22
    net.addLink( h2, s1 )
23 23
    net.start()
24 24
    
25 25
    # flush out latency from reactive forwarding delay

Also available in: Unified diff