net-gateway-create's help isn't correct

Bug #1262527 reported by Mitsuru Kanabuchi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Low
Mitsuru Kanabuchi

Bug Description

"neutron help net-gateway-create" said:

  --device DEVICE Device info for this gateway device_id=<device
                        identifier>,interface_name=<name_or_identifier> It can
                        be repeated for multiple devices for HA gateways

However, actually parameter name of DEVICE is "id". Not "device_id".

$ neutron net-gateway-create --device device_id=2862ca2a-74d4-4f40-a84f-ffc32acf1f18,interface_name=eth0 ngw
Invalid input for devices. Reason: Validation of dictionary's keys failed.Expected keys: set(['id']) Provided keys: set([u'interface_name', u'device_id']).

Changed in python-neutronclient:
assignee: nobody → Mitsuru Kanabuchi (kanabuchi)
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/63328

Changed in python-neutronclient:
status: New → In Progress
Revision history for this message
Mitsuru Kanabuchi (kanabuchi) wrote :

Already got Core +2 and a lot of Reviewers +1.
Dear neutron approver, could you check this?

Changed in python-neutronclient:
assignee: Mitsuru Kanabuchi (kanabuchi) → Anita Kuno (anteaya)
Changed in python-neutronclient:
assignee: Anita Kuno (anteaya) → Mitsuru Kanabuchi (kanabuchi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

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

commit 24bb8f40a92bbc63190648acba48b8f2ec1f409b
Author: Mitsuru Kanabuchi <email address hidden>
Date: Wed Feb 12 13:20:29 2014 +0900

    Fix net-gateway-create help message

    "neutron help net-gateway-create" said:

      --device DEVICE Device info for this gateway device_id=<deviceidentifier>...

    However, actually parameter name of DEVICE is "id". Not "device_id".

    Change-Id: Ifa19f11f250101ddf4803c3c591bb19274fae869
    Closes-Bug: #1262527

Changed in python-neutronclient:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in python-neutronclient:
milestone: none → 2.3.5
status: Fix Committed → Fix Released
importance: Undecided → Low
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.