added metaclass to reduce emane model code, fixed broken emaneuniversal references

This commit is contained in:
Blake J. Harnden 2018-03-30 12:52:10 -07:00
parent fd32e1cf78
commit 405614bbd8
7 changed files with 59 additions and 47 deletions

View file

@ -14,17 +14,14 @@ class EmaneBypassModel(emanemodel.EmaneModel):
# mac definitions
mac_library = "bypassmaclayer"
config_mac = [
mac_config = [
("none", ConfigDataTypes.BOOL.value, "0", "True,False",
"There are no parameters for the bypass model."),
]
# phy definitions
phy_library = "bypassphylayer"
config_phy = []
phy_config = []
# defines overall config
config_matrix = config_mac + config_phy
# gui display tabs
config_groups = "Bypass Parameters:1-1"
# override gui display tabs
config_groups_override = "Bypass Parameters:1-1"