help information of 'net-list' lack of many parameter

Bug #1320798 reported by shihanzhang
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Low
Unassigned

Bug Description

'net-update' lack of many help information:
root@ubuntu01:/var/log/nova# neutron help net-list
root@ubuntu01:/var/log/nova# neutron help net-list
usage: neutron net-list [-h] [-f {csv,table}] [-c COLUMN]
                        [--quote {all,minimal,none,nonnumeric}]
                        [--request-format {json,xml}] [-D] [-F FIELD]
                        [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]

List networks that belong to a given tenant.

optional arguments:
  -h, --help show this help message and exit
  --request-format {json,xml}
                        The xml or json request format
  -D, --show-details Show detailed info
  -F FIELD, --field FIELD
                        Specify the field(s) to be returned by server, can be
                        repeated
  -P SIZE, --page-size SIZE
                        Specify retrieve unit of each request, then split one
                        request to several requests
  --sort-key FIELD Sort list by specified fields (This option can be
                        repeated), The number of sort_dir and sort_key should
                        match each other, more sort_dir specified will be
                        omitted, less will be filled with asc as default
                        direction
  --sort-dir {asc,desc}
                        Sort list in specified directions (This option can be
                        repeated)

output formatters:
  output formatter options

  -f {csv,table}, --format {csv,table}
                        the output format, defaults to table
  -c COLUMN, --column COLUMN
                        specify the column(s) to include, can be repeated

CSV Formatter:
  --quote {all,minimal,none,nonnumeric}
                        when to include quotes, defaults to nonnumeric

net-list can use follow parameter:
net-list --status --name --admin-state-up --tenant-id --shared

Changed in python-neutronclient:
assignee: nobody → shihanzhang (shihanzhang)
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

Same comment as on bug #1320796

Changed in python-neutronclient:
status: New → Confirmed
Revision history for this message
shihanzhang (shihanzhang) wrote :

yes, because this is diffrent API, so I commit two bug.

Revision history for this message
P. Watsalya Mishra (watsalya-mishra) wrote :

As there was no progress on this bug since long time, so I have assigned it to myself to resolve it at the earliest.

Changed in python-neutronclient:
assignee: shihanzhang (shihanzhang) → tcs_openstack_group (tcs-openstack-group)
assignee: tcs_openstack_group (tcs-openstack-group) → P. Watsalya Mishra (watsalya-mishra)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-neutronclient (master)

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

Changed in python-neutronclient:
assignee: P. Watsalya Mishra (watsalya-mishra) → Amandeep (rattenpal-amandeep)
Changed in python-neutronclient:
assignee: Amandeep (rattenpal-amandeep) → P. Watsalya Mishra (watsalya-mishra)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-neutronclient (master)

Change abandoned by Amandeep (<email address hidden>) on branch: master
Review: https://review.openstack.org/145475
Reason: Already there is another patch

Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote :

Assigning to myself as there is no progress in this patch for a long time.

Changed in python-neutronclient:
assignee: P. Watsalya Mishra (watsalya-mishra) → Reedip (reedip-banerjee)
Akihiro Motoki (amotoki)
Changed in python-neutronclient:
importance: Undecided → Low
tags: added: help-improvement
Changed in python-neutronclient:
assignee: Reedip (reedip-banerjee) → Akihiro Motoki (amotoki)
Changed in python-neutronclient:
assignee: Akihiro Motoki (amotoki) → Reedip (reedip-banerjee)
Changed in python-neutronclient:
assignee: Reedip (reedip-banerjee) → Akihiro Motoki (amotoki)
Changed in python-neutronclient:
assignee: Akihiro Motoki (amotoki) → Reedip (reedip-banerjee)
Changed in python-neutronclient:
assignee: Reedip (reedip-banerjee) → Akihiro Motoki (amotoki)
Changed in python-neutronclient:
assignee: Akihiro Motoki (amotoki) → Reedip (reedip-banerjee)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

Reviewed: https://review.openstack.org/140628
Committed: https://git.openstack.org/cgit/openstack/python-neutronclient/commit/?id=92b5fe9eb1aa0dca75129fd0f0f7da25f312623b
Submitter: Jenkins
Branch: master

commit 92b5fe9eb1aa0dca75129fd0f0f7da25f312623b
Author: Reedip Banerjee <email address hidden>
Date: Thu Dec 10 09:01:27 2015 +0530

    Provide argument filtering in neutron *-list

    This implements a common framework for attribute filtering arguments
    and arguments for net-list as an initial support.

    Co-Authored-By: Reedip Banerjee <email address hidden>
    Co-Authored-By: Akihiro Motoki <email address hidden>

    Change-Id: Ie1b896d6f293b2881a7067ed9232a5957a5180cb
    Closes-Bug: #1320798
    Partial-Bug: #1488912

Changed in python-neutronclient:
status: In Progress → Fix Released
Revision history for this message
zzxwill (zzxwill) wrote :

Now 'neutron net-list' support argument '--tenant-id'? Thanks.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-neutronclient 4.1.0

This issue was fixed in the openstack/python-neutronclient 4.1.0 release.

Revision history for this message
zzxwill (zzxwill) wrote :

Got it. Thanks Doug.

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.