Document: find_security_group_rule does not take name as a parameter.

Bug #1464362 reported by Hardik Italia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack SDK
Fix Committed
High
Richard Theis

Bug Description

As per the documentation, find_security_group_name takes name or ID as a parameter but name is not an attribute of resource openstack.network.v2.security_group_rule.

Docs:
 find_security_group_rule(name_or_id)

    Find a single security group rule
    Parameters: name_or_id – The name or ID of a security group rule.
    Returns: One SecurityGroupRule or None

Create security rule does not allow name as an one of the attribute so find security group rule by name will fail too.

summary: - Documentation: find_security_group_rule does not take name as a
- parameter.
+ Document: find_security_group_rule does not take name as a parameter.
Terry Howe (thowe-g)
Changed in python-openstacksdk:
status: New → Confirmed
milestone: none → halfliberty
importance: Undecided → High
Richard Theis (rtheis)
Changed in python-openstacksdk:
assignee: nobody → Richard Theis (rtheis)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstacksdk (master)

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

Changed in python-openstacksdk:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstacksdk (master)

Reviewed: https://review.openstack.org/249453
Committed: https://git.openstack.org/cgit/openstack/python-openstacksdk/commit/?id=7f02817c043283f457ea36704163c64ba081621c
Submitter: Jenkins
Branch: master

commit 7f02817c043283f457ea36704163c64ba081621c
Author: Richard Theis <email address hidden>
Date: Tue Nov 24 16:05:56 2015 -0600

    find_security_group_rule does not find by name

    The find_security_group_rule proxy documents that a security
    group rule can be found by name or ID. However, security
    group rules do not have names. This patch set corrects the
    documentation.

    Change-Id: I06f324ace50c2ce377263727e6a6bed6e4128c93
    Closes-Bug: #1464362

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