fixed bypass unique phy doc under refactored code
This commit is contained in:
parent
beb5be2ee9
commit
8963ef51e3
1 changed files with 7 additions and 0 deletions
|
@ -18,3 +18,10 @@ class EmaneBypassModel(emanemodel.EmaneModel):
|
|||
_config_phy = []
|
||||
config_matrix = _config_mac + _config_phy
|
||||
config_groups = "Bypass Parameters:1-1"
|
||||
|
||||
def create_phy_doc(self, emane_manager, values):
|
||||
phy_document = emane_manager.xmldoc("phy")
|
||||
phy_element = phy_document.getElementsByTagName("phy").pop()
|
||||
phy_element.setAttribute("name", "%s PHY" % self.name)
|
||||
phy_element.setAttribute("library", "bypassphylayer")
|
||||
return phy_document
|
||||
|
|
Loading…
Reference in a new issue