Revision 49654212 examples/linuxrouter.py

View differences:

examples/linuxrouter.py
44 44
class NetworkTopo( Topo ):
45 45
    "A simple topology of a router with three subnets (one host in each)."
46 46

  
47
    def build( self, **opts ):
47
    def build( self, **_opts ):
48 48
        router = self.addNode( 'r0', cls=LinuxRouter, ip='192.168.1.1/24' )
49 49
        h1 = self.addHost( 'h1', ip='192.168.1.100/24',
50 50
                           defaultRoute='via 192.168.1.1' )

Also available in: Unified diff