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