2017-06-16 22:06:16 |
hongbin |
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/ |
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/ |
|