]> git.proxmox.com Git - mirror_frr.git/commitdiff
tests: munet now supports cfgopt directly
authorChristian Hopps <chopps@labn.net>
Sun, 23 Apr 2023 13:17:35 +0000 (09:17 -0400)
committerChristian Hopps <chopps@labn.net>
Sun, 23 Apr 2023 13:52:39 +0000 (09:52 -0400)
Signed-off-by: Christian Hopps <chopps@labn.net>
tests/topotests/lib/micronet_compat.py

index ccb3e56b61c852682ac7a05bed2ca1270b3d44ce..f49db805ba9e246db5463e3df4885dc7a8378439 100644 (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