def _list_nodes_full(location=None):
 provider = (__active_provider_name__ or 'ec2')
 if (':' in provider):
  comps = provider.split(':')
  provider = comps[0]
 params = {'Action': 'DescribeInstances'}
 instances = aws.query(params, location=location, provider=provider, opts=__opts__, sigver='4')
 if ('error' in instances):
  raise SaltCloudSystemExit('An error occurred while listing nodes: {0}'.format(instances['error']['Errors']['Error']['Message']))
 ret = _extract_instance_info(instances)
 __utils__['cloud.cache_node_list'](ret, provider, __opts__)
 return ret

def _list_nodes_full ( location = None ) : provider = ( __active_provider_name__ or 'ec2' ) if ( ':' in provider ) : comps = provider . split ( ':' ) provider = comps [ 0 ] params = { 'Action' : 'DescribeInstances' } instances = aws . query ( params , location = location , provider = provider , opts = __opts__ , sigver = '4' ) if ( 'error' in instances ) : raise SaltCloudSystemExit ( 'An error occurred while listing nodes: {0}' . format ( instances [ 'error' ] [ 'Errors' ] [ 'Error' ] [ 'Message' ] ) ) ret = _extract_instance_info ( instances ) __utils__ [ 'cloud.cache_node_list' ] ( ret , provider , __opts__ ) return ret
return a list of the vms that in this location .