daemon: adjustments to emane model post startup to accept an interface, since settings may be unique per interface, updated tdma to use this information for trying to initialize its tdma schedule properly

This commit is contained in:
Blake Harnden 2021-05-25 12:14:28 -07:00
parent 8d5c3bd212
commit 820539191d
3 changed files with 18 additions and 16 deletions

View file

@ -134,10 +134,11 @@ class EmaneModel(WirelessModel):
emanexml.create_phy_xml(self, iface, config)
emanexml.create_transport_xml(iface, config)
def post_startup(self) -> None:
def post_startup(self, iface: CoreInterface) -> None:
"""
Logic to execute after the emane manager is finished with startup.
:param iface: interface for post startup
:return: nothing
"""
logger.debug("emane model(%s) has no post setup tasks", self.name)