Nova - "Add rule to security group" operation is not documented

Bug #1393804 reported by Jamie Hannaford
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Keiichiro Tokunaga

Bug Description

From what I understand, there is a one-to-many mapping between a Security Group and a Rule, but right now there are no documented operations to create this association.

It looks like POST /os-security-group-rules with "parent_group_id" set will add a rule to a specific security group, but I had to follow the debug trace in nova client to understand how it works.

summary: - "Add rule to security group" operation is not documented
+ Nova - "Add rule to security group" operation is not documented
Anne Gentle (annegentle)
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
Anne Gentle (annegentle)
Changed in openstack-api-site:
assignee: nobody → Anne Gentle (annegentle)
Changed in openstack-api-site:
assignee: Anne Gentle (annegentle) → Keiichiro Tokunaga (keiichiro)
Revision history for this message
Keiichiro Tokunaga (keiichiro) wrote :

Per my research, what I found out is this:

  1) os-security-group-rules is not documented on either v2 nor v2.1 Nova api-site.
  2) os-security-group-rules only has Create (POST) and Delete (DELETE) methods.

I'll make and post a patch to add a description about os-security-group-rules (Create and Delete) to both v2 and v2.1 api-sites.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

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

Changed in openstack-api-site:
status: Confirmed → In Progress
Revision history for this message
Keiichiro Tokunaga (keiichiro) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/215940
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=f6d3ae4d6ad5bb5f4938801cf7a0ba268cac85f3
Submitter: Jenkins
Branch: master

commit f6d3ae4d6ad5bb5f4938801cf7a0ba268cac85f3
Author: Keiichiro Tokunaga <email address hidden>
Date: Sun Aug 23 00:51:52 2015 +0900

    Nova - add os-security-group-rules to v2 and v2.1

    I found out:

      1) os-security-group-rules is not documented on either v2 nor v2.1
         Nova api-site.
      2) os-security-group-rules only has Create (POST) and Delete
         (DELETE) methods.

    This patch adds a description about os-security-group-rules (Create
    and Delete) to both v2 and v2.1 api-sites.

    Change-Id: I0fef6b00a13b615b5c37f9c41cd30711e0bc0029
    Closes-Bug: #1393804

Changed in openstack-api-site:
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.