updated tdma schedule file option to leverage gui file widget

This commit is contained in:
Blake J. Harnden 2018-03-25 22:16:23 -07:00
parent 1f2c78d54a
commit 2ede524ec3
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -21,7 +21,7 @@ class EmaneTdmaModel(EmaneModel):
# MAC parameters # MAC parameters
_confmatrix_mac = [ _confmatrix_mac = [
(schedule_name, ConfigDataTypes.STRING.value, default_schedule, "", "TDMA schedule that will be set"), (schedule_name, ConfigDataTypes.STRING.value, default_schedule, "", "TDMA schedule file"),
("enablepromiscuousmode", ConfigDataTypes.BOOL.value, "0", "True,False", "enable promiscuous mode"), ("enablepromiscuousmode", ConfigDataTypes.BOOL.value, "0", "True,False", "enable promiscuous mode"),
("flowcontrolenable", ConfigDataTypes.BOOL.value, "0", "On,Off", "enable traffic flow control"), ("flowcontrolenable", ConfigDataTypes.BOOL.value, "0", "On,Off", "enable traffic flow control"),
("flowcontroltokens", ConfigDataTypes.UINT16.value, "10", "", "number of flow control tokens"), ("flowcontroltokens", ConfigDataTypes.UINT16.value, "10", "", "number of flow control tokens"),