Add options to allow filtering by agent type and host on agent list

Bug #1641868 reported by Zhou Zhihong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Undecided
Zhou Zhihong

Bug Description

root@zhouzh:~# openstack network agent list
+--------------------------------------+--------------------+--------+-------------------+-------+-------+---------------------------+
| ID | Agent Type | Host | Availability Zone | Alive | State | Binary |
+--------------------------------------+--------------------+--------+-------------------+-------+-------+---------------------------+
| 053d4087-bad5-4dfa-8e1e-edde9fda6411 | L3 agent | zhouzh | nova | True | UP | neutron-l3-agent |
| 4541d4f1-721c-44cd-b22e-5e44d8fdb16b | Metadata agent | zhouzh | None | True | UP | neutron-metadata-agent |
| 93727ed5-0cc1-4868-9496-5565ae42f86e | Open vSwitch agent | zhouzh | None | True | UP | neutron-openvswitch-agent |
| f46be9bb-1b28-481e-9dee-81b9e90db273 | DHCP agent | zhouzh | nova | True | UP | neutron-dhcp-agent |
+--------------------------------------+--------------------+--------+-------------------+-------+-------+---------------------------+

If the agent number is large scale, it spend too many time via agent list with grep.

Tags: network
Changed in python-openstackclient:
assignee: nobody → Zhou Zhihong (shuihushen)
Richard Theis (rtheis)
tags: added: network
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/398017

Changed in python-openstackclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/398017
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=2e78c11c8d485195b9ae40b9d00cf3a557aebd6d
Submitter: Jenkins
Branch: master

commit 2e78c11c8d485195b9ae40b9d00cf3a557aebd6d
Author: Zhou Zhihong <email address hidden>
Date: Wed Dec 21 18:27:26 2016 -0800

    Add options to allow filtering on agent list

    Add options to allow filtering via --agent-type
    and --host on agent list

    Change-Id: I1800f0777aa92a76b4b95f64f8acc18454809e81
    Closes-Bug: #1641868
    Partially-Implements: blueprint network-commands-options

Changed in python-openstackclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-openstackclient 3.7.0

This issue was fixed in the openstack/python-openstackclient 3.7.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.