#!/usr/bin/python

"""
Create a 1024-host network, and run the CLI on it.
If this fails because of kernel limits, you may have
to adjust them, e.g. by adding entries to /etc/sysctl.conf
and running sysctl -p. Check util/sysctl_addon.
"""

from mininet.cli import CLI
from mininet.log import setLogLevel
from mininet.node import OVSSwitch, Host
from mininet.topolib import TreeNet
from mininet.examples.treeping64 import HostV4, QuietController

if __name__ == '__main__':
    setLogLevel( 'info' )
    network = TreeNet( depth=2, fanout=32, host=HostV4,
                       switch=OVSSwitch, controller=QuietController,
                       waitConnected=True)
    network.run( CLI, network )

@@ -334,15 +334,9 @@
 itch
-, Host
 %0A
+
 from
@@ -417,25 +417,8 @@
 stV4
-, QuietController
 %0A%0Aif
@@ -524,16 +524,16 @@
 HostV4,%0A
+
         
@@ -568,59 +568,8 @@
 tch,
- controller=QuietController,%0A                      
  wai

Fix tree1024.py (#995)