added unit tests to help check new utils functions and usages within nodes for adding addresses and macs

This commit is contained in:
Blake Harnden 2020-01-09 14:23:08 -08:00
parent 834ceea55d
commit 7028d3e78f
3 changed files with 93 additions and 1 deletions

View file

@ -800,7 +800,7 @@ class CoreNode(CoreNodeBase):
with self.lock:
# TODO: emane specific code
if net.is_emane is True:
if net is not None and net.is_emane is True:
ifindex = self.newtuntap(ifindex, ifname)
# TUN/TAP is not ready for addressing yet; the device may
# take some time to appear, and installing it into a