I just checked and it seems it is possible to do with OpenStack client with commands like:
openstack network agent list --network private and openstack network agent list --router router1 ** Changed in: neutron Status: New => Invalid ** Changed in: neutron Assignee: (unassigned) => Slawek Kaplonski (slaweq) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1926219 Title: neutron command l3-agent-list-hosting-router and dhcp-agent-list- hosting-net don't exist in openstack client Status in neutron: Invalid Bug description: these two useful neutron cli command aren't in openstack client: (overcloud) [stack@undercloud-0 ~]$ neutron l3-agent-list-hosting-router tempest-router-2120132397 neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. +--------------------------------------+---------------------------+----------------+-------+----------+ | id | host | admin_state_up | alive | ha_state | +--------------------------------------+---------------------------+----------------+-------+----------+ | 1ee45cf7-1aa6-47fc-aa21-4713dd3ae119 | networker-2.redhat.local | True | :-) | standby | | 2baa2189-8d27-4477-89b8-31afb4d7b1ba | networker-0.redhat.local | True | :-) | active | | 39ae6b11-a49a-4d85-9a8f-919416f4931e | controller-1.redhat.local | True | :-) | standby | +--------------------------------------+---------------------------+----------------+-------+----------+ (overcloud) [stack@undercloud-0 ~]$ neutron dhcp-agent-list-hosting-net nova neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. +--------------------------------------+---------------------------+----------------+-------+ | id | host | admin_state_up | alive | +--------------------------------------+---------------------------+----------------+-------+ | 71befd34-b569-4d00-b6b5-d34266e5b33e | controller-0.redhat.local | True | :-) | | 77f6e7ee-1d37-4ab6-a805-455b2dbbf341 | networker-1.redhat.local | True | :-) | | 81638b13-95d0-43c1-be23-eb8422c00ce0 | controller-2.redhat.local | True | :-) | | 95bf9893-79b3-4f56-a6f2-653977e1700d | networker-2.redhat.local | True | :-) | | be3a478d-8ea7-4eca-9430-72b6e1a826d4 | controller-1.redhat.local | True | :-) | | dfd410b2-1fc0-4eb3-a383-583e37e810fb | networker-0.redhat.local | True | :-) | +--------------------------------------+---------------------------+----------------+-------+ (overcloud) [stack@undercloud-0 ~]$ To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1926219/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp