daemon: changes to support optional retainment of per-interface parameters for EMANE models when multiple EMANE models of the same type are used as interfaces for a node
This commit is contained in:
parent
c66914ec21
commit
b91b5125f2
3 changed files with 15 additions and 3 deletions
|
@ -232,6 +232,7 @@ class PyCoreNode(PyCoreObj):
|
|||
if ifindex in self._netif:
|
||||
raise ValueError, "ifindex %s already exists" % ifindex
|
||||
self._netif[ifindex] = netif
|
||||
netif.netindex = ifindex
|
||||
|
||||
def delnetif(self, ifindex):
|
||||
if ifindex not in self._netif:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue