def config_groups(self) -> List[ConfigGroup]: emulator_len = len(self.emulator_config) config_len = len(self.configurations()) return [ ConfigGroup("Platform Attributes", 1, emulator_len), ConfigGroup("CORE Configuration", emulator_len + 1, config_len), ]
def config_groups(cls): emulator_len = len(cls.emulator_config) config_len = len(cls.configurations()) return [ ConfigGroup("Platform Attributes", 1, emulator_len), ConfigGroup("NEM Parameters", emulator_len + 1, config_len), ]
def config_groups(cls) -> List[ConfigGroup]: platform_len = len(cls.platform_config) return [ ConfigGroup("Platform Parameters", 1, platform_len), ConfigGroup( "CommEffect SHIM Parameters", platform_len + 1, len(cls.configurations()), ), ]
def config_groups(cls) -> List[ConfigGroup]: """ Returns the defined configuration groups. :return: list of configuration groups. """ mac_len = len(cls.mac_config) phy_len = len(cls.phy_config) + mac_len config_len = len(cls.configurations()) return [ ConfigGroup("MAC Parameters", 1, mac_len), ConfigGroup("PHY Parameters", mac_len + 1, phy_len), ConfigGroup("External Parameters", phy_len + 1, config_len), ]
def config_groups(cls): return [ConfigGroup("CommEffect SHIM Parameters", 1, len(cls.configurations()))]
def config_groups(cls) -> List[ConfigGroup]: return [ ConfigGroup("ns-2 Mobility Script Parameters", 1, len(cls.configurations())) ]
def config_groups(cls): return [ConfigGroup("Basic Range Parameters", 1, len(cls.configurations()))]
def config_groups(cls): return [ ConfigGroup("Bypass Parameters", 1, 1), ]