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

Bug #1320796 reported by shihanzhang
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Low
Unassigned

Bug Description

when I use ml2 plugin with openvswtich driver, I found 'net-update' lack of many help information,
root@ubuntu01:/var/log/nova# neutron help net-update
usage: neutron net-update [-h] [--request-format {json,xml}] NETWORK

Update network's information.

positional arguments:
  NETWORK ID or name of network to update

optional arguments:
  -h, --help show this help message and exit
  --request-format {json,xml}
                        The xml or json request format

I can update network with parapeter:
net-update NETWORK --name
net-update NETWORK --admin-state-up
net-update NETWORK --shared

net-update NETWORK --router:external will be handled by Bug 1320793

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

I think this is somewhat by design to allow the client to be 'friendly' to vendor's specific extensions and/or parameters that are admin only. However, something like name should be visible nonetheless.

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

thanks for your comment, I will commit the patch as soon as possilbe!

Revision history for this message
Pavel Vaylov (pvaylov) wrote :

I think these parameters (that can be changed by neutron net-update) should be listed in output of
neutron net-update --help
and in the OpenStack manuals http://docs.openstack.org/user-guide/content/neutronclient_commands.html

There is lack of informatin in the CLI output and OpenStack manual.

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/137279

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
Reedip (reedip-banerjee-deactivatedaccount) wrote :

As there is no progress on this bug , so assigning to myself.

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

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

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

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

commit b687aadfda82f19f8c7fc1fdfe3b9dd0cc7dcb06
Author: Reedip Banerjee <email address hidden>
Date: Wed Dec 9 10:08:05 2015 +0530

    Add possible updatable options to net-update CLI

    net-update CLI now displays all the possible updatable options.
    net-update CLI shows the following information:
        --name
        --description

    Change-Id: I69aa284ee4a217f6627bb7120a0fc63b856bd6cc
    Closes-Bug: #1320796

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-neutronclient (master)

Change abandoned by Armando Migliaccio (<email address hidden>) on branch: master
Review: https://review.openstack.org/137279
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Changed in python-neutronclient:
assignee: Reedip (reedip-banerjee) → nobody
assignee: nobody → Reedip (reedip-banerjee)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-neutronclient 6.0.0

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

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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