further removal and refactoring of methods used within misc/utils.py
This commit is contained in:
parent
6211b09585
commit
00b3c97448
23 changed files with 181 additions and 293 deletions
|
@ -158,7 +158,7 @@ class PhysicalNode(PyCoreNode):
|
|||
netif.localname = netif.name
|
||||
if hwaddr:
|
||||
self.sethwaddr(ifindex, hwaddr)
|
||||
for addr in utils.maketuple(addrlist):
|
||||
for addr in utils.make_tuple(addrlist):
|
||||
self.addaddr(ifindex, addr)
|
||||
if self.up:
|
||||
self.cmd([constants.IP_BIN, "link", "set", "dev", netif.localname, "up"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue