2017-04-25 16:45:34 +01:00
|
|
|
"""
|
2013-08-29 15:21:13 +01:00
|
|
|
rfpipe.py: EMANE RF-PIPE model for CORE
|
2017-04-25 16:45:34 +01:00
|
|
|
"""
|
|
|
|
|
2018-03-30 20:08:33 +01:00
|
|
|
from core.emane import emanemanifest
|
2018-03-29 22:38:32 +01:00
|
|
|
from core.emane import emanemodel
|
2013-08-29 15:21:13 +01:00
|
|
|
|
|
|
|
|
2018-03-29 22:38:32 +01:00
|
|
|
class EmaneRfPipeModel(emanemodel.EmaneModel):
|
2013-08-29 15:21:13 +01:00
|
|
|
# model name
|
2017-04-25 16:45:34 +01:00
|
|
|
name = "emane_rfpipe"
|
2013-08-29 15:21:13 +01:00
|
|
|
|
2018-03-29 21:32:06 +01:00
|
|
|
# mac configuration
|
2018-03-30 20:08:33 +01:00
|
|
|
mac_library = "rfpipemaclayer"
|
|
|
|
mac_xml = "/usr/share/emane/manifest/rfpipemaclayer.xml"
|
|
|
|
mac_defaults = {
|
|
|
|
"pcrcurveuri": "/usr/share/emane/xml/models/mac/rfpipe/rfpipepcr.xml",
|
|
|
|
}
|
2018-03-30 20:52:10 +01:00
|
|
|
mac_config = emanemanifest.parse(mac_xml, mac_defaults)
|