diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2023-04-17 13:35:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-17 13:35:29 -0400 |
| commit | eda79af4a49911fdff6815ae1a0eb8b3acc2bdf9 (patch) | |
| tree | e6ceafd846707a7aa3ad8866d7e8a76fdfd2848b /tests/topotests/lib/topotest.py | |
| parent | eb8bd50b715c45e01ec214a6c05b89c21b6bbab9 (diff) | |
| parent | 60e037780e8fb76a95028f2f1e3c56f83b6cc74e (diff) | |
Merge pull request #13230 from LabNConsulting/micronet-is-munet
Micronet is munet
Diffstat (limited to 'tests/topotests/lib/topotest.py')
| -rw-r--r-- | tests/topotests/lib/topotest.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py index ef04d59e29..2686373ad1 100644 --- a/tests/topotests/lib/topotest.py +++ b/tests/topotests/lib/topotest.py @@ -1318,7 +1318,7 @@ def setup_node_tmpdir(logdir, name): class Router(Node): "A Node with IPv4/IPv6 forwarding enabled" - def __init__(self, name, **params): + def __init__(self, name, *posargs, **params): # Backward compatibility: # Load configuration defaults like topogen. @@ -1347,7 +1347,7 @@ class Router(Node): l = topolog.get_logger(name, log_level="debug", target=logfile) params["logger"] = l - super(Router, self).__init__(name, **params) + super(Router, self).__init__(name, *posargs, **params) self.daemondir = None self.hasmpls = False @@ -1407,8 +1407,8 @@ class Router(Node): # pylint: disable=W0221 # Some params are only meaningful for the parent class. - def config(self, **params): - super(Router, self).config(**params) + def config_host(self, **params): + super(Router, self).config_host(**params) # User did not specify the daemons directory, try to autodetect it. self.daemondir = params.get("daemondir") |
