Firewall-Update command help content does not display "admin_state_up" argument

Bug #1503642 reported by ranjitray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Medium
Unassigned

Bug Description

Get the help contents of the firewall-update command

stack@stevens-creek:~/firewall$ neutron help firewall-update
usage: neutron firewall-update [-h] [--request-format {json,xml}]
                               [--policy POLICY]
                               [--router ROUTER | --no-routers]
                               FIREWALL

Update a given firewall.

positional arguments:
  FIREWALL ID or name of firewall to update.

optional arguments:
  -h, --help show this help message and exit
  --request-format {json,xml}
                        The XML or JSON request format.
  --policy POLICY Firewall policy name or ID.
  --router ROUTER Firewall associated router names or IDs (requires
                        FWaaS router insertion extension, this option can be
                        repeated)
  --no-routers Associate no routers with the firewall (requires FWaaS
                        router insertion extension)
stack@stevens-creek:~/firewall$

Issue :
--admin_state_up argument does not display in the contents

Expected:

Help contents should have --admin_state_up argumment since we are able to make firewall UP and DOWN by updating the --admin_state_up toTrue/False

Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

Note that by doing the change, we should not break existing behaviour (where we can pass --admin_state_up=True or --admin_state_up True, and both will work).

Revision history for this message
James Arendt (james-arendt-7) wrote :

Local tester noticed same issue - will attempt fix.

Changed in neutron:
assignee: nobody → James Arendt (james-arendt-7)
Changed in neutron:
importance: Undecided → Medium
milestone: none → mitaka-1
Revision history for this message
James Arendt (james-arendt-7) wrote :

The CLI help is in the python-neutronclient, not on the neutron server side, so moved bug there. Fix is in review https://review.openstack.org/#/c/234916/

affects: neutron → python-neutronclient
Changed in python-neutronclient:
milestone: mitaka-1 → none
Changed in python-neutronclient:
status: New → In Progress
Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote :

Hi All,
I have already reported a similar bug on https://bugs.launchpad.net/python-neutronclient/+bug/1504411 and working on it.
So , I think this might be a duplicate

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

Fix is in review : https://review.openstack.org/#/c/234518/ and it is dependent on the changes of https://review.openstack.org/#/c/190968/26

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

Also, as per the response from Akihiro Motoki:
¨There are a lot of similar discussions. I would like to make a consensus first.
I created etherpad page: https://etherpad.openstack.org/p/neutronclient-adding-update-option . Feel free to comment (with your name).¨

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

Change abandoned by James Arendt (<email address hidden>) on branch: master
Review: https://review.openstack.org/234916
Reason: Decided to abandon this change as other somewhat similar changes in the works.

Akihiro Motoki (amotoki)
Changed in python-neutronclient:
assignee: James Arendt (james-arendt-7) → nobody
status: In Progress → Confirmed
tags: added: help-improvement
Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote :
linwei,wu (wlwwu)
Changed in python-neutronclient:
assignee: nobody → linwei,wu (wlwwu)
linwei,wu (wlwwu)
Changed in python-neutronclient:
assignee: linwei,wu (wlwwu) → nobody
Changed in python-neutronclient:
assignee: nobody → Reedip (reedip-banerjee)
status: Confirmed → In Progress
Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote :

Its clone, https://bugs.launchpad.net/python-neutronclient/+bug/1504411 has successfully merged and released

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