Incorrect protocol value in create_security_group_rule() example

Bug #2052860 reported by Radoslaw Smigielski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstacksdk
Fix Released
Undecided
Radoslaw Smigielski

Bug Description

Example conn.network.create_security_group_rule() in examples/network/security_group_rules.py file uses wrong protocol type protocol='HTTPS'. HTTPS is not allowed value, allowed values are: icmp, udp, tcp.
It should be "protocol='tcp'" instead.

Changed in openstacksdk:
assignee: nobody → Radoslaw Smigielski (radoslaw-smigielski)
assignee: Radoslaw Smigielski (radoslaw-smigielski) → nobody
status: New → In Progress
assignee: nobody → Radoslaw Smigielski (radoslaw-smigielski)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstacksdk (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstacksdk (master)

Reviewed: https://review.opendev.org/c/openstack/openstacksdk/+/908734
Committed: https://opendev.org/openstack/openstacksdk/commit/4baf2eb2c391261ed44161329d8b0727b2ce8e33
Submitter: "Zuul (22348)"
Branch: master

commit 4baf2eb2c391261ed44161329d8b0727b2ce8e33
Author: Radoslaw Smigielski <email address hidden>
Date: Sat Feb 10 18:12:17 2024 +0100

    Incorrect protocol type in create_security_group_rule()

    Example conn.network.create_security_group_rule() in examples/network/security_group_rules.py
    uses wrong protocol type protocol='HTTPS'. HTTPS is not allowed value,
    allowed values are: icmp, udp, tcp. It should be "protocol='tcp'" instead.

    Closes-Bug: #2052860
    Change-Id: I0fb0532ca562bcf93672a1ca3f1ce2e3ad864c6d

Changed in openstacksdk:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstacksdk 3.0.0

This issue was fixed in the openstack/openstacksdk 3.0.0 release.

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.