Revision de002b0d mininet/topo.py
mininet/topo.py | ||
---|---|---|
242 | 242 |
sport: optional source port (otherwise use lowest src port) |
243 | 243 |
returns: tuple (sport, dport), where |
244 | 244 |
sport = port on source switch leading to the destination switch |
245 |
dport = port on destination switch leading to the source switch |
|
245 |
dport = port on destination switch leading to the source switch |
|
246 | 246 |
Note that you can also look up ports using linkInfo()""" |
247 | 247 |
# A bit ugly and slow vs. single-link implementation ;-( |
248 | 248 |
ports = [ ( sport, entry[ 1 ] ) |
Also available in: Unified diff