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

Method __init__

mininet/node.py:1553–1560  ·  view source on GitHub ↗

Init. name: name to give controller ip: the IP address where the remote controller is listening port: the port where the remote controller is listening

( self, name, ip='127.0.0.1',
                  port=None, **kwargs)

Source from the content-addressed store, hash-verified

1551 "Controller running outside of Mininet's control."
1552
1553 def __init__( self, name, ip='127.0.0.1',
1554 port=None, **kwargs):
1555 """Init.
1556 name: name to give controller
1557 ip: the IP address where the remote controller is
1558 listening
1559 port: the port where the remote controller is listening"""
1560 Controller.__init__( self, name, ip=ip, port=port, **kwargs )
1561
1562 def start( self ):
1563 "Overridden to do nothing."

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected