#NEWLINE# def addHost( self , name , cls = Host , **opts ) : #NEWLINE# #INDENT# 'Adds a host using the MiniNExT host constructor.\n           name: host name\n           cls: host constructor\n           opts: host options\n           returns: host name' #NEWLINE# if ( ( not opts ) and self . hopts ) : #NEWLINE# #INDENT# opts = self . hopts #NEWLINE# #UNINDENT# return BaseTopo . addNode ( self , name , cls = cls , ** opts )