security-group-rule-create help should describe ICMP type/code in port-range-min/max

Bug #1523063 reported by Akihiro Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Medium
Manjeet Singh Bhatia

Bug Description

In security-group-rule, port-range-min/max are interpreted as ICMP type/code if a given protocol is ICMP. The help message of security-group-rule-create should describe it.

The description of --protocol also should be improved. It should show available protocol names.

$ neutron security-group-rule-create --help

[...]

  --protocol PROTOCOL Protocol of packet.
  --port-range-min PORT_RANGE_MIN
                        Starting port range.
  --port-range-max PORT_RANGE_MAX
                        Ending port range.

Akihiro Motoki (amotoki)
Changed in python-neutronclient:
importance: Undecided → Medium
assignee: nobody → Akihiro Motoki (amotoki)
description: updated
Hideki Saito (saitou)
Changed in python-neutronclient:
assignee: Akihiro Motoki (amotoki) → Hideki Saito (saitou)
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/256858

Changed in python-neutronclient:
assignee: Hideki Saito (saitou) → Manjeet Singh Bhatia (manjeet-s-bhatia)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

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

commit 95881a080fc4c6e19344fd0d83cdc76a7acf4353
Author: Manjeet Singh Bhatia <email address hidden>
Date: Fri Dec 11 22:41:44 2015 +0000

    Add protocol value options to sg-rule-create

    This patch will show choices of allowed protocols for security group
    rule create and also indicate type and code in help when protocol is
    ICMP.

    DocImpact

    '[0-255]' values are allowed for protocol but not listed anywhere in
    description for creating security group rule.

    Change-Id: Ib79be78c253332e27991795e8add370ae351e9a6
    Closes-Bug: #1523063

Changed in python-neutronclient:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-neutronclient 4.0.0

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

Akihiro Motoki (amotoki)
Changed in python-neutronclient:
milestone: none → 4.0.0
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.