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

Method IP

mininet/node.py:1475–1481  ·  view source on GitHub ↗

Return IP address of the Controller

( self, intf=None )

Source from the content-addressed store, hash-verified

1473 super( Controller, self ).stop( *args, **kwargs )
1474
1475 def IP( self, intf=None ):
1476 "Return IP address of the Controller"
1477 if self.intfs:
1478 ip = Node.IP( self, intf )
1479 else:
1480 ip = self.ip
1481 return ip
1482
1483 def __repr__( self ):
1484 "More informative string representation"

Callers 1

__repr__Method · 0.95

Calls 1

IPMethod · 0.45

Tested by

no test coverage detected