fixed emane version checks, fixed emane config message handling, added initial emane test cases
This commit is contained in:
parent
613e550e8a
commit
dced47b588
8 changed files with 275 additions and 57 deletions
|
@ -110,11 +110,11 @@ class EmaneRfPipeModel(EmaneModel):
|
|||
mac = macdoc.getElementsByTagName("mac").pop()
|
||||
mac.setAttribute("name", "RF-PIPE MAC")
|
||||
mac.setAttribute("library", "rfpipemaclayer")
|
||||
if e.version < e.EMANE091 and \
|
||||
if emane.VERSION < emane.EMANE091 and \
|
||||
self.valueof("transmissioncontrolmap", values) is "":
|
||||
macnames.remove("transmissioncontrolmap")
|
||||
# EMANE 0.7.4 support
|
||||
if e.version == e.EMANE074:
|
||||
if emane.VERSION == emane.EMANE074:
|
||||
# convert datarate from bps to kbps
|
||||
i = names.index('datarate')
|
||||
values = list(values)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue