refactored configuration managers and options into a single class, now the models that can be configured will deal with and handle configurations for nodes themselves
This commit is contained in:
parent
1b843e2868
commit
52230bc026
22 changed files with 284 additions and 422 deletions
|
@ -654,8 +654,7 @@ class DeviceElement(NamedXmlElement):
|
|||
# per-interface models
|
||||
# XXX Remove???
|
||||
if netmodel and netmodel.name[:6] == "emane_":
|
||||
cfg = self.coreSession.emane.getifcconfig(device_object.objid, netmodel.name,
|
||||
None, interface_object)
|
||||
cfg = netmodel.getifcconfig(device_object.objid, interface_object)
|
||||
if cfg:
|
||||
interface_element.addModels(((netmodel, cfg),))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue