[Openstack] Acquire UUID of Agent

Sterdnot Shaken sterdnotshaken at gmail.com
Tue Aug 22 23:35:07 UTC 2017


Awesome!!! that's exactly what we were looking for!!!

*neutron agent-list --agent-type "BGP dynamic routing agent" --host
network-node.domain.com <http://network-node.domain.com>*

Thanks Kevin!

On Tue, Aug 22, 2017 at 5:20 PM, Kevin Benton <kevin at benton.pub> wrote:

> 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/18f26115/attachment.html>


More information about the Openstack mailing list