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:
Rod A Santiago 2016-04-20 08:36:58 -07:00
parent c66914ec21
commit b91b5125f2
3 changed files with 15 additions and 3 deletions

View file

@ -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: