

def take_action(self, parsed_args):
    neutron_client = self.get_client()
    pool_id = neutronV20.find_resourceid_by_name_or_id(self.get_client(), 'pool', parsed_args.id)
    params = {
        
    }
    if parsed_args.fields:
        params = {
            'fields': parsed_args.fields,
        }
    data = neutron_client.retrieve_pool_stats(pool_id, **params)
    self.format_output_data(data)
    stats = data['stats']
    if ('stats' in data):
        return zip(*sorted(six.iteritems(stats)))
    else:
        return None

dataset/ETHPy150Open openstack/python-neutronclient/neutronclient/neutron/v2_0/lb/pool.py RetrievePoolStats.take_action/original