support linking RJ45 with EMANE 0.9.2 using Raw transport;

build extra XML and launch emane process on host for the raw devices
(Boeing r1882)
This commit is contained in:
ahrenholz 2014-09-23 20:24:19 +00:00
parent e825b94e13
commit 4ee92d1711
6 changed files with 96 additions and 33 deletions

View file

@ -95,7 +95,7 @@ class EmaneCommEffectModel(EmaneModel):
nem = nemdoc.getElementsByTagName("nem").pop()
nem.setAttribute("name", "commeffect NEM")
nem.setAttribute("type", "unstructured")
e.appendtransporttonem(nemdoc, nem, self.objid)
e.appendtransporttonem(nemdoc, nem, self.objid, ifc)
nem.appendChild(e.xmlshimdefinition(nemdoc, self.shimxmlname(ifc)))
e.xmlwrite(nemdoc, self.nemxmlname(ifc))