

def take_action(self, parsed_args):
    compute_client = self.app.client_manager.compute
    columns = ('Agent ID', 'Hypervisor', 'OS', 'Architecture', 'Version', 'Md5Hash', 'URL')
    data = compute_client.agents.list(parsed_args.hypervisor)
    return (columns, (utils.get_item_properties(s, columns) for s in data))

dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/compute/v2/agent.py ListAgent.take_action/original