Statistics
| Branch: | Tag: | Revision:

mininet / examples / cli.py @ 51270ce4

History | View | Annotate | Download (229 Bytes)

1
#!/usr/bin/python
2

    
3
"Create a tree network and run the CLI on it."
4

    
5
from mininet.mininet import init, TreeNet, Cli
6

    
7
if __name__ == '__main__':
8
   init()
9
   network = TreeNet( depth=2, fanout=4, kernel=True )
10
   network.run( Cli )