<div dir="ltr"><div>Awesome!!! that's exactly what we were looking for!!!<br><br><i>neutron agent-list --agent-type "BGP dynamic routing agent" --host <a href="http://network-node.domain.com">network-node.domain.com</a></i><br><br></div>Thanks Kevin!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 22, 2017 at 5:20 PM, Kevin Benton <span dir="ltr"><<a href="mailto:kevin@benton.pub" target="_blank">kevin@benton.pub</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">https://docs.openstack.org/<wbr>python-openstackclient/latest/<wbr>cli/command-objects/network-<wbr>agent.html</a><br></div><div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Aug 22, 2017 5:15 PM, "Sterdnot Shaken" <<a href="mailto:sterdnotshaken@gmail.com" target="_blank">sterdnotshaken@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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></div></div>______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">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/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
<br></blockquote></div></div>
</blockquote></div><br></div>