MCPcopy Create free account
hub / github.com/mininet/mininet / IP

Method IP

mininet/node.py:571–573  ·  view source on GitHub ↗

Return IP address of a node or specific interface.

( self, intf=None )

Source from the content-addressed store, hash-verified

569 return self.intf( intf ).setIP( ip, prefixLen, **kwargs )
570
571 def IP( self, intf=None ):
572 "Return IP address of a node or specific interface."
573 return self.intf( intf ).IP()
574
575 def MAC( self, intf=None ):
576 "Return MAC address of a node or specific interface."

Callers 15

scratchNetFunction · 0.95
scratchNetUserFunction · 0.95
__repr__Method · 0.45
__repr__Method · 0.45
startMethod · 0.45
startMethod · 0.45
startMethod · 0.45
IPMethod · 0.45
staticArpMethod · 0.45
pingMethod · 0.45
pingFullMethod · 0.45
iperfMethod · 0.45

Calls 1

intfMethod · 0.95

Tested by

no test coverage detected