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

Method defaultIntf

mininet/node.py:951–956  ·  view source on GitHub ↗

Return control interface

( self )

Source from the content-addressed store, hash-verified

949 return '0' * ( self.dpidLen - len( dpid ) ) + dpid
950
951 def defaultIntf( self ):
952 "Return control interface"
953 if self.controlIntf:
954 return self.controlIntf
955 else:
956 return Node.defaultIntf( self )
957
958 def sendCmd( self, *cmd, **kwargs ):
959 """Send command to Node.

Callers

nothing calls this directly

Calls 1

defaultIntfMethod · 0.45

Tested by

no test coverage detected