Inadvertently added verbosity into Node.setIP(); removed.
This commit is contained in:
+1
-1
@@ -199,7 +199,7 @@ class Node( object ):
|
|||||||
return intfName
|
return intfName
|
||||||
def setIP( self, intf, ip, bits ):
|
def setIP( self, intf, ip, bits ):
|
||||||
"Set an interface's IP address."
|
"Set an interface's IP address."
|
||||||
result = self.cmdPrint( [ 'ifconfig', intf, ip + bits, 'up' ] )
|
result = self.cmd( [ 'ifconfig', intf, ip + bits, 'up' ] )
|
||||||
self.ips[ intf ] = ip
|
self.ips[ intf ] = ip
|
||||||
return result
|
return result
|
||||||
def setHostRoute( self, ip, intf ):
|
def setHostRoute( self, ip, intf ):
|
||||||
|
|||||||
Reference in New Issue
Block a user