mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 11:18:59 +00:00
tests: munet now supports cfgopt directly
Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
parent
67afd9293d
commit
d9de3cc48b
@ -59,7 +59,6 @@ class Node(LinuxNamespace):
|
|||||||
"""Node (mininet compat)."""
|
"""Node (mininet compat)."""
|
||||||
|
|
||||||
def __init__(self, name, rundir=None, **kwargs):
|
def __init__(self, name, rundir=None, **kwargs):
|
||||||
|
|
||||||
nkwargs = {}
|
nkwargs = {}
|
||||||
|
|
||||||
if "unet" in kwargs:
|
if "unet" in kwargs:
|
||||||
@ -177,8 +176,6 @@ class Mininet(BaseMunet):
|
|||||||
self.host_params = {}
|
self.host_params = {}
|
||||||
self.prefix_len = 8
|
self.prefix_len = 8
|
||||||
|
|
||||||
self.cfgopt = ConfigOptionsProxy(pytestconfig)
|
|
||||||
|
|
||||||
# SNMPd used to require this, which was set int he mininet shell
|
# 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
|
# 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
|
# do it if we don't have to. The snmpd.conf files have been updated
|
||||||
|
Loading…
Reference in New Issue
Block a user