Files
mininet/examples/treeInteract.py
T
Bob Lantz af8f0b61b6 Added INSTALL file incorporating Brandon's suggestions.
More tweaks for examples, which are still in progress.
2009-12-11 03:22:09 -08:00

11 lines
221 B
Python
Executable File

#!/usr/bin/python
"Create a tree network and run the CLI on it."
from mininet import init, TreeNet, Cli
if __name__ == '__main__':
init()
network = TreeNet( depth=2, fanout=4, kernel=True )
network.run( Cli )