daemon: updates to support running emane on the fly for a newly connected link
This commit is contained in:
parent
5cc4d92760
commit
b3a4b1cb10
3 changed files with 14 additions and 4 deletions
|
@ -252,8 +252,8 @@ class EmaneManager(ModelManager):
|
|||
"""
|
||||
with self._emane_node_lock:
|
||||
if emane_net.id in self._emane_nets:
|
||||
raise KeyError(
|
||||
f"non-unique EMANE object id {emane_net.id} for {emane_net}"
|
||||
raise CoreError(
|
||||
f"duplicate emane network({emane_net.id}): {emane_net.name}"
|
||||
)
|
||||
self._emane_nets[emane_net.id] = emane_net
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue