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

Method checkSetup

mininet/node.py:666–673  ·  view source on GitHub ↗

Make sure our class and superclasses are set up

( cls )

Source from the content-addressed store, hash-verified

664
665 @classmethod
666 def checkSetup( cls ):
667 "Make sure our class and superclasses are set up"
668 clas = cls
669 while clas and not getattr( clas, 'isSetup', True ):
670 clas.setup()
671 clas.isSetup = True
672 # Make pylint happy
673 clas = getattr( type( clas ), '__base__', None )
674
675 @classmethod
676 def setup( cls ):

Callers 1

__init__Method · 0.95

Calls 1

setupMethod · 0.45

Tested by

no test coverage detected