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

Method connected

mininet/node.py:1026–1030  ·  view source on GitHub ↗

Is the switch connected to a controller?

( self )

Source from the content-addressed store, hash-verified

1024 ' ' + listenAddr )
1025
1026 def connected( self ):
1027 "Is the switch connected to a controller?"
1028 status = self.dpctl( 'status' )
1029 return ( 'remote.is-connected=true' in status and
1030 'local.is-connected=true' in status )
1031
1032 @staticmethod
1033 def TCReapply( intf ):

Callers

nothing calls this directly

Calls 1

dpctlMethod · 0.95

Tested by

no test coverage detected