Zun

Add API endpoint to remove security group

Bug #1698467 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
Fix Released
Low
cooldharma06

Bug Description

This patch [1] implemented the endpoint to add security group to container. For example,

  $ TOKEN=$(openstack token issue | awk '/ id /{print $4}')
  $ curl -g -i -X POST http://192.168.11.4:9517/v1/containers/test/add_security_group?name=default -H "X-Auth-Token: $TOKEN" -H "Content-Type: application/json" -H "Accept: application/json"

It would be great to implement the equivalent endpoint to remove security group. The implementation should be very similar to security group addition.

[1] https://review.openstack.org/#/c/463681/

hongbin (hongbin034)
description: updated
hongbin (hongbin034)
Changed in zun:
importance: Undecided → Low
Changed in zun:
assignee: nobody → feng.shengqin@zte.com.cn (feng-shengqin)
hongbin (hongbin034)
Changed in zun:
status: New → Triaged
Changed in zun:
assignee: feng.shengqin@zte.com.cn (feng-shengqin) → cooldharma06 (cooldharma06)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun (master)

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

Changed in zun:
status: Triaged → In Progress
Changed in zun:
assignee: cooldharma06 (cooldharma06) → hongbin (hongbin034)
hongbin (hongbin034)
Changed in zun:
assignee: hongbin (hongbin034) → cooldharma06 (cooldharma06)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zun (master)

Reviewed: https://review.openstack.org/526659
Committed: https://git.openstack.org/cgit/openstack/zun/commit/?id=d10d65fdd25b8c5b9c5cb786500b4f6676603b17
Submitter: Zuul
Branch: master

commit d10d65fdd25b8c5b9c5cb786500b4f6676603b17
Author: cooldharma06 <email address hidden>
Date: Fri Dec 8 16:11:00 2017 +0530

    Add API endpoint to remove security group

    Change-Id: I817d5b8dde2029e2e70276f1b7196119518d5be0
    Closes-Bug: #1698467

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

This issue was fixed in the openstack/zun 1.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.