Revision 18aab5b7 examples/natnet.py
examples/natnet.py | ||
---|---|---|
27 | 27 |
|
28 | 28 |
class InternetTopo(Topo): |
29 | 29 |
"Single switch connected to n hosts." |
30 |
def __init__(self, n=2, h=1, **opts):
|
|
30 |
def __init__(self, n=2, **opts): |
|
31 | 31 |
Topo.__init__(self, **opts) |
32 | 32 |
|
33 | 33 |
# set up inet switch |
... | ... | |
67 | 67 |
if __name__ == '__main__': |
68 | 68 |
setLogLevel('info') |
69 | 69 |
run() |
70 |
|
Also available in: Unified diff