Revision e0bf8ece examples/multilink.py

View differences:

examples/multilink.py
6 6
"""
7 7

  
8 8
from mininet.cli import CLI
9
from mininet.log import lg, info
9
from mininet.log import setLogLevel
10 10
from mininet.net import Mininet
11 11
from mininet.topo import Topo
12 12
    
......
31 31
            self.addLink( s1, h2 )
32 32

  
33 33
if __name__ == '__main__':
34
    lg.setLogLevel( 'info' )
34
    setLogLevel( 'info' )
35 35
    runMultiLink()

Also available in: Unified diff