summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/topogen.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/lib/topogen.py')
-rw-r--r--tests/topotests/lib/topogen.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/topotests/lib/topogen.py b/tests/topotests/lib/topogen.py
index b998878118..8888421bf1 100644
--- a/tests/topotests/lib/topogen.py
+++ b/tests/topotests/lib/topogen.py
@@ -471,6 +471,12 @@ class TopoGear(object):
"""
return self.tgen.net[self.name].cmd(command)
+ def popen(self, *params, **kwargs):
+ """
+ Popen on the router.
+ """
+ return self.tgen.net[self.name].popen(*params, **kwargs)
+
def add_link(self, node, myif=None, nodeif=None):
"""
Creates a link (connection) between myself and the specified node.