removed emane nodes netif install and setaddrs, install was always skipped and setaddrs is done by zebra/quagga
This commit is contained in:
parent
bfbee35a53
commit
b03662dbeb
2 changed files with 4 additions and 7 deletions
|
@ -117,7 +117,7 @@ class EmaneNode(EmaneNet):
|
|||
"""
|
||||
return sorted(self._netif.values(), key=lambda ifc: ifc.node.objid)
|
||||
|
||||
def installnetifs(self, do_netns=True):
|
||||
def installnetifs(self):
|
||||
"""
|
||||
Install TAP devices into their namespaces. This is done after
|
||||
EMANE daemons have been started, because that is their only chance
|
||||
|
@ -129,9 +129,6 @@ class EmaneNode(EmaneNet):
|
|||
logger.error(warntxt)
|
||||
|
||||
for netif in self.netifs():
|
||||
if do_netns and "virtual" in netif.transport_type.lower():
|
||||
netif.install()
|
||||
# netif.setaddrs()
|
||||
if not self.session.emane.genlocationevents():
|
||||
netif.poshook = None
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue