Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: code style

...

Code Block
class MininetCliDriver( Emulator ):

        def __init__( self ):
            super( MininetCliDriver, self ).__init__()
            self.handle = self

        def connect( self, user_name, ip_address, pwd, options ):
            self.handle = super( MininetCliDriver, self ).connect( user_name, ip_address, pwd )

Here the connect will call the inherited connect() method from CLI driver (via Emulator class).

...