<div dir="auto">Use '--agent-type' and/or '--host' to filter the results based on those fields. <div dir="auto"><br></div><div dir="auto"><a href="https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/network-agent.html">https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/network-agent.html</a><br></div><div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Aug 22, 2017 5:15 PM, "Sterdnot Shaken" <<a href="mailto:sterdnotshaken@gmail.com">sterdnotshaken@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Is there a programmatic way to get what UUID is associated with, for example, an l3-agent? <br><br>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?<br></div><div><br></div><div>Is there a command that lists all the UUID's associated with a particular server hostname for example?</div><div><br></div><div>Thanks in advance!!<br></div></div>
<br>______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
<br></blockquote></div></div>