'help router-update' cli output lacks options that can be updated using this cli

Bug #1401030 reported by yatin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Wishlist
P. Watsalya Mishra

Bug Description

The output do not contains all the options that can be updated using the cli.
For example:-
[root@otcstack yatin(keystone_admin)]# neutron help router-update
usage: neutron router-update [-h] [--request-format {json,xml}] ROUTER

Update router's information.

positional arguments:
  ROUTER ID or name of router to update.

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

I am able to update name of router using below CLI
[root@otcstack yatin(keystone_admin)]# neutron router-update ba490366-9916-4c09-828c-28099f6a3413 --name testrouter

And there are other options that can be updated like: tenant-id, admin-state-up, etc.

Liyingjun (liyingjun)
Changed in python-neutronclient:
assignee: nobody → Liyingjun (liyingjun)
status: New → Confirmed
Revision history for this message
P. Watsalya Mishra (watsalya-mishra) wrote :

User can't update "tenant-id", as it is a read only attribute.
Only options that are available to the user are:-
--name
--admin-state-up

As this bug is not set to "In Progress" state, so I assume the assignee has not yet started working on the patch.
So I am assigning this bug to myself as I have started working on the patch and I will submit it soon.

Changed in python-neutronclient:
assignee: Liyingjun (liyingjun) → 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
P. Watsalya Mishra (watsalya-mishra) wrote :

Also there is one more parameter that can be updated :-
--distributed

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in python-neutronclient:
assignee: P. Watsalya Mishra (watsalya-mishra) → Amandeep (rattenpal-amandeep)
Kyle Mestery (mestery)
Changed in python-neutronclient:
milestone: none → 2.3.11
importance: Undecided → Wishlist
Changed in python-neutronclient:
assignee: Amandeep (rattenpal-amandeep) → P. Watsalya Mishra (watsalya-mishra)
Kyle Mestery (mestery)
Changed in python-neutronclient:
milestone: 2.3.11 → 2.3.12
Changed in python-neutronclient:
assignee: P. Watsalya Mishra (watsalya-mishra) → Amandeep (rattenpal-amandeep)
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/146054
Reason: refer
https://review.openstack.org/#/c/141006

Changed in python-neutronclient:
assignee: Amandeep (rattenpal-amandeep) → P. Watsalya Mishra (watsalya-mishra)
Kyle Mestery (mestery)
Changed in python-neutronclient:
milestone: 2.4.0 → 2.5.0
Kyle Mestery (mestery)
Changed in python-neutronclient:
milestone: 2.5.1 → none
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

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

commit ada1568809168fcf9d3024b09c3d90af4eeee7ec
Author: watsalya <email address hidden>
Date: Sat Feb 14 00:58:00 2015 +0530

    "neutron help router-update" help info updated

    Initially we were unable to see complete help
    info for "neutron router-update" command.
    Now, with this patch complete help info is
    displayed to the user. Apart from the existing
    information, the following information will
    also be displayed:-
        --name
        --admin-state-up
        --distributed

    Change-Id: I149855e86a2d874c10f1ff315a2627e0f0f306c7
    Closes-Bug: #1401030

Changed in python-neutronclient:
status: In Progress → Fix Committed
Changed in python-neutronclient:
milestone: none → 3.0.0
status: Fix Committed → Fix Released
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.