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

Method __repr__

mininet/node.py:1483–1487  ·  view source on GitHub ↗

More informative string representation

( self )

Source from the content-addressed store, hash-verified

1481 return ip
1482
1483 def __repr__( self ):
1484 "More informative string representation"
1485 return '<%s %s: %s:%s pid=%s> ' % (
1486 self.__class__.__name__, self.name,
1487 self.IP(), self.port, self.pid )
1488
1489 @classmethod
1490 def isAvailable( cls ):

Callers

nothing calls this directly

Calls 1

IPMethod · 0.95

Tested by

no test coverage detected