got tdma working, leveraging an example tdma schedule that will be included with packaging

This commit is contained in:
Blake J. Harnden 2018-03-25 22:08:22 -07:00
parent 162cb20e14
commit 1f2c78d54a
4 changed files with 24 additions and 6 deletions

View file

@ -341,10 +341,11 @@ class EmaneManager(ConfigurableManager):
with self._emane_node_lock:
for key in sorted(self._emane_nodes.keys()):
emane_node = self._emane_nodes[key]
logger.debug("post startup for emane node: %s - %s", emane_node.objid, emane_node.name)
emane_node.model.post_startup(self)
for netif in emane_node.netifs():
x, y, z = netif.node.position.get()
emane_node.setnemposition(netif, x, y, z)
emane_node.model.post_startup(self, netif)
def reset(self):
"""