further cleanup to vnode.py and corrections to function docs
This commit is contained in:
parent
01060c50ff
commit
719670c895
9 changed files with 133 additions and 162 deletions
|
@ -389,7 +389,7 @@ class CoreDocumentParser1(object):
|
|||
hwaddr = MacAddress.from_string(mac[0])
|
||||
else:
|
||||
hwaddr = None
|
||||
ifindex = node.newnetif(network, addrlist=ipv4 + ipv6, hwaddr=hwaddr, ifindex=None, ifname=if_name)
|
||||
ifindex = node.newnetif(network, address_list=ipv4 + ipv6, hwaddr=hwaddr, ifindex=None, ifname=if_name)
|
||||
# TODO: 'hostname' addresses are unused
|
||||
msg = 'node \'%s\' interface \'%s\' connected ' \
|
||||
'to network \'%s\'' % (node.name, if_name, network.name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue