From 2a6a1bf6a4ca72ab394f6f9fdf12d224c28afd5a Mon Sep 17 00:00:00 2001 From: J vanBemmel Date: Mon, 10 Apr 2023 12:47:11 -0500 Subject: [PATCH] Create dummy SFM connection for IXR-ec too --- sros/docker/launch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sros/docker/launch.py b/sros/docker/launch.py index c8e1db39..5448830d 100755 --- a/sros/docker/launch.py +++ b/sros/docker/launch.py @@ -871,9 +871,9 @@ def gen_mgmt(self): res.append("-netdev") res.append("bridge,br=br-mgmt,id=br-mgmt" % {"i": 0}) - if "chassis=ixr-r6" in self.variant["timos_line"]: + if "chassis=ixr-r6" in self.variant["timos_line"] or "chassis=ixr-ec" in self.variant["timos_line"]: logger.debug( - "detected ixr-r6 chassis, creating a dummy network device for SFM connection" + "detected ixr-r6/ec chassis, creating a dummy network device for SFM connection" ) res.append(f"-device virtio-net-pci,netdev=dummy,mac={vrnetlab.gen_mac(0)}") res.append("-netdev tap,ifname=sfm-dummy,id=dummy,script=no,downscript=no")