Added INSTALL file incorporating Brandon's suggestions.
More tweaks for examples, which are still in progress.
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Create a tree network and run the CLI on it."""
|
||||
"Create a tree network and run the CLI on it."
|
||||
|
||||
from mininet import init, TreeNet, Cli
|
||||
|
||||
def treeInteract():
|
||||
network = TreeNet( depth=2, fanout=4, kernel=True )
|
||||
network.run( Cli )
|
||||
|
||||
if __name__ == '__main__':
|
||||
init()
|
||||
treeInteract()
|
||||
|
||||
network = TreeNet( depth=2, fanout=4, kernel=True )
|
||||
network.run( Cli )
|
||||
|
||||
Reference in New Issue
Block a user