'create a stats pool dict that this dev is supposed to be part of
Note that this pool dict contains the stats pool\'s keys and their
values. \'count\' and \'devices\' are not included.'

def _create_pool_keys_from_dev(self, dev):

    devspec = self.dev_filter.get_devspec(dev)
    if (not devspec):
        return
    tags = devspec.get_tags()
    pool = {k: getattr(dev, k) for k in self.pool_keys}
    if tags:
        pool.update(tags)
    return pool
