reverted to using class variables for emane models due to inheritence from config class

This commit is contained in:
Blake J. Harnden 2018-03-29 14:38:32 -07:00
parent 19ccd6a63b
commit beb5be2ee9
6 changed files with 28 additions and 32 deletions

View file

@ -6,12 +6,12 @@ import os
from core import constants
from core import logger
from core.emane.emanemodel import EmaneModel
from core.emane import emanemodel
from core.enumerations import ConfigDataTypes
from core.misc import utils
class EmaneTdmaModel(EmaneModel):
class EmaneTdmaModel(emanemodel.EmaneModel):
# model name
name = "emane_tdma"
library = "tdmaeventschedulerradiomodel"
@ -46,6 +46,9 @@ class EmaneTdmaModel(EmaneModel):
"enable strict dequeueing to specified queues only"),
]
config_matrix = _config_mac + emanemodel.EmaneModel._config_phy
config_groups = emanemodel.create_config_groups(_config_mac, config_matrix)
def post_startup(self, emane_manager):
"""
Logic to execute after the emane manager is finished with startup.