2017-04-25 08:45:34 -07:00
|
|
|
"""
|
2018-03-28 13:58:49 -07:00
|
|
|
EMANE Bypass model for CORE
|
2017-04-25 08:45:34 -07:00
|
|
|
"""
|
2013-08-29 14:21:13 +00:00
|
|
|
|
2018-03-29 14:38:32 -07:00
|
|
|
from core.emane import emanemodel
|
2017-04-25 08:45:34 -07:00
|
|
|
from core.enumerations import ConfigDataTypes
|
2013-08-29 14:21:13 +00:00
|
|
|
|
|
|
|
|
2018-03-29 14:38:32 -07:00
|
|
|
class EmaneBypassModel(emanemodel.EmaneModel):
|
2017-04-25 08:45:34 -07:00
|
|
|
name = "emane_bypass"
|
2018-03-29 13:32:06 -07:00
|
|
|
|
2018-03-30 12:08:33 -07:00
|
|
|
# values to ignore, when writing xml files
|
2018-03-29 13:32:06 -07:00
|
|
|
config_ignore = {"none"}
|
2018-03-30 12:08:33 -07:00
|
|
|
|
|
|
|
# mac definitions
|
|
|
|
mac_library = "bypassmaclayer"
|
2018-03-30 12:52:10 -07:00
|
|
|
mac_config = [
|
2018-03-28 13:58:49 -07:00
|
|
|
("none", ConfigDataTypes.BOOL.value, "0", "True,False",
|
|
|
|
"There are no parameters for the bypass model."),
|
2013-08-29 14:21:13 +00:00
|
|
|
]
|
2018-03-29 15:13:16 -07:00
|
|
|
|
2018-03-30 12:08:33 -07:00
|
|
|
# phy definitions
|
|
|
|
phy_library = "bypassphylayer"
|
2018-03-30 12:52:10 -07:00
|
|
|
phy_config = []
|
2018-03-30 12:08:33 -07:00
|
|
|
|
2018-03-30 12:52:10 -07:00
|
|
|
# override gui display tabs
|
|
|
|
config_groups_override = "Bypass Parameters:1-1"
|