27 lines
639 B
Python
27 lines
639 B
Python
"""
|
|
EMANE Bypass model for CORE
|
|
"""
|
|
|
|
from core.emane import emanemodel
|
|
from core.enumerations import ConfigDataTypes
|
|
|
|
|
|
class EmaneBypassModel(emanemodel.EmaneModel):
|
|
name = "emane_bypass"
|
|
|
|
# values to ignore, when writing xml files
|
|
config_ignore = {"none"}
|
|
|
|
# mac definitions
|
|
mac_library = "bypassmaclayer"
|
|
mac_config = [
|
|
("none", ConfigDataTypes.BOOL.value, "0", "True,False",
|
|
"There are no parameters for the bypass model."),
|
|
]
|
|
|
|
# phy definitions
|
|
phy_library = "bypassphylayer"
|
|
phy_config = []
|
|
|
|
# override gui display tabs
|
|
config_groups_override = "Bypass Parameters:1-1"
|