tests: munet now supports cfgopt directly

Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
Christian Hopps 2023-04-23 09:17:35 -04:00
parent 67afd9293d
commit d9de3cc48b

View File

@ -59,7 +59,6 @@ class Node(LinuxNamespace):
"""Node (mininet compat)."""
def __init__(self, name, rundir=None, **kwargs):
nkwargs = {}
if "unet" in kwargs:
@ -177,8 +176,6 @@ class Mininet(BaseMunet):
self.host_params = {}
self.prefix_len = 8
self.cfgopt = ConfigOptionsProxy(pytestconfig)
# SNMPd used to require this, which was set int he mininet shell
# that all commands executed from. This is goofy default so let's not
# do it if we don't have to. The snmpd.conf files have been updated