'Get all metadata.'

def _get_all_instance_metadata(self, context, search_filts, metadata_type):

    instances = self._get_instances_by_filters(context, filters={}, sort_keys=['created_at'], sort_dirs=['desc'])
    return utils.filter_and_format_resource_metadata('instance', instances, search_filts, metadata_type)
