Use '--agent-type' and/or '--host' to filter the results based on those fields. https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/network-agent.html On Aug 22, 2017 5:15 PM, "Sterdnot Shaken" <sterdnotshaken at gmail.com> wrote: > Is there a programmatic way to get what UUID is associated with, for > example, an l3-agent? > > I know I can run "neutron agent-list" and grep based on agent type\name of > server, but I don't want to have to grep for it… Is there a more direct API > way of getting this info? > > Is there a command that lists all the UUID's associated with a particular > server hostname for example? > > Thanks in advance!! > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/ > openstack > Post to : openstack at lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/ > openstack > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170822/4208370d/attachment.html>