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

@ -100,7 +100,7 @@ class EmaneIeee80211abgModel(EmaneModel):
nemdoc = e.xmldoc("nem")
nem = nemdoc.getElementsByTagName("nem").pop()
nem.setAttribute("name", "ieee80211abg NEM")
e.appendtransporttonem(nemdoc, nem, self.objid)
e.appendtransporttonem(nemdoc, nem, self.objid, ifc)
mactag = nemdoc.createElement("mac")
mactag.setAttribute("definition", self.macxmlname(ifc))
nem.appendChild(mactag)