#NEWLINE# def request( self , source , filter = None ) : #NEWLINE# #INDENT# 'Retrieve all or part of a specified configuration.\n\n        *source* name of the configuration datastore being queried\n\n        *filter* specifies the portion of the configuration to retrieve (by default entire configuration is retrieved)\n\n        :seealso: :ref:`filter_params`' #NEWLINE# node = new_ele ( 'get-config' ) #NEWLINE# node . append ( util . datastore_or_url ( 'source' , source , self . _assert ) ) #NEWLINE# if ( filter is not None ) : #NEWLINE# #INDENT# node . append ( util . build_filter ( filter ) ) #NEWLINE# #UNINDENT# return self . _request ( node )