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" <sterdnotsha...@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@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/ > openstack > >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack