alphabetizing emane options

This commit is contained in:
Blake J. Harnden 2018-03-22 09:58:23 -07:00
parent 86afded824
commit 7ae3385ff0
2 changed files with 9 additions and 12 deletions

View file

@ -8,9 +8,6 @@ from core.enumerations import ConfigDataTypes
class EmaneTdmaModel(EmaneModel):
def __init__(self, session, object_id=None):
EmaneModel.__init__(self, session, object_id)
# model name
name = "emane_tdma"
xml_path = "/usr/share/emane/xml/models/mac/tdmaeventscheduler"
@ -49,6 +46,9 @@ class EmaneTdmaModel(EmaneModel):
config_groups = "TDMA MAC Parameters:1-%d|Universal PHY Parameters:%d-%d" % (
len(_confmatrix_mac), len(_confmatrix_mac) + 1, len(config_matrix))
def __init__(self, session, object_id=None):
EmaneModel.__init__(self, session, object_id)
def buildnemxmlfiles(self, e, ifc):
"""
Build the necessary nem, mac, and phy XMLs in the given path.