diff --git a/sros/docker/launch.py b/sros/docker/launch.py index 24577b26..a4ed9a0c 100755 --- a/sros/docker/launch.py +++ b/sros/docker/launch.py @@ -1229,8 +1229,8 @@ def __init__(self, hostname, username, password, mode, variant, conn_mode): # cp - control plane. role is used to create a separate overlay image name self.role = "cp" - ram: int = vrnetlab.getMem(self.role, variant.get("cp").get("min_ram")) - cpu: int = vrnetlab.getCpu(self.role, variant.get("cp").get("cpu")) + ram: int = getMem(self.role, variant.get("cp").get("min_ram")) + cpu: int = getCpu(self.role, variant.get("cp").get("cpu")) slot: str = variant.get("cp").get("slot") super(SROS_cp, self).__init__( @@ -1303,8 +1303,8 @@ def __init__(self, lc_config, conn_mode, num_nics, slot=1, nic_eth_start=1): # role lc if for a line card. role is used to create a separate overlay image name self.role = "lc" - ram: int = vrnetlab.getMem(self.role, lc_config.get("min_ram")) - cpu: int = vrnetlab.getCpu(self.role, lc_config.get("cpu")) + ram: int = getMem(self.role, lc_config.get("min_ram")) + cpu: int = getCpu(self.role, lc_config.get("cpu")) super(SROS_lc, self).__init__( None,