fix to EMANE TDMA XML generation
This commit is contained in:
parent
e5e75756ea
commit
f8da9334d8
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ class EmaneTdmaModel(EmaneModel):
|
||||||
nemdoc = e.xmldoc("nem")
|
nemdoc = e.xmldoc("nem")
|
||||||
nem = nemdoc.getElementsByTagName("nem").pop()
|
nem = nemdoc.getElementsByTagName("nem").pop()
|
||||||
nem.setAttribute("name", "TDMA NEM")
|
nem.setAttribute("name", "TDMA NEM")
|
||||||
|
e.appendtransporttonem(nemdoc, nem, self.objid, ifc)
|
||||||
mactag = nemdoc.createElement("mac")
|
mactag = nemdoc.createElement("mac")
|
||||||
mactag.setAttribute("definition", self.macxmlname(ifc))
|
mactag.setAttribute("definition", self.macxmlname(ifc))
|
||||||
nem.appendChild(mactag)
|
nem.appendChild(mactag)
|
||||||
|
|
Loading…
Reference in a new issue