#NEWLINE# def _get_servers( self , req , is_detail ) : #NEWLINE# #INDENT# 'Returns a list of servers, taking into account any search\n        options specified.\n        ' #NEWLINE# if ( search_opts . vsa_id is None ) : #NEWLINE# #INDENT# super ( VsaVCController , self ) . _get_servers ( req , is_detail ) #NEWLINE# #UNINDENT# context = req . environ [ 'nova.context' ] #NEWLINE# search_opts = { #NEWLINE# #INDENT# 'metadata' : dict ( vsa_id = str ( self . vsa_id ) ) , #NEWLINE# #UNINDENT# } #NEWLINE# instance_list = self . compute_api . get_all ( context , search_opts = search_opts ) #NEWLINE# limited_list = self . _limit_items ( instance_list , req ) #NEWLINE# servers = [ self . _build_view ( req , inst , is_detail ) [ 'server' ] for inst in limited_list ] #NEWLINE# return dict ( servers = servers )