#NEWLINE# def add_br( self , name , may_exist = True , datapath_type = None ) : #NEWLINE# #INDENT# opts = ( [ '--may-exist' ] if may_exist else None ) #NEWLINE# params = [ name ] #NEWLINE# if datapath_type : #NEWLINE# #INDENT# params += [ '--' , 'set' , 'Bridge' , name , ( 'datapath_type=%s' % datapath_type ) ] #NEWLINE# #UNINDENT# return BaseCommand ( self . context , 'add-br' , opts , params )