Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6039)

Issue 6948051: Add simple tool for deleting security groups

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by gz
Modified:
11 years, 3 months ago
Reviewers:
mp+139991, dimitern, jameinel, wallyworld, rog
Visibility:
Public.

Description

Add simple tool for deleting security groups Basic test of using the current api for doing some actual task. As the live tests create lots of security groups without ever deleting them it's also sort of useful to have around. https://code.launchpad.net/~gz/goose/secgroup-delete-all/+merge/139991 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Add simple tool for deleting security groups #

Total comments: 16

Patch Set 3 : Add simple tool for deleting security groups #

Patch Set 4 : Add simple tool for deleting security groups #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -0 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A tools/secgroup-delete-all/main.go View 1 2 1 chunk +73 lines, -0 lines 0 comments Download
A tools/secgroup-delete-all/main_test.go View 1 2 1 chunk +87 lines, -0 lines 0 comments Download

Messages

Total messages: 12
gz
Please take a look.
11 years, 4 months ago (2012-12-14 18:25:58 UTC) #1
gz
Please take a look.
11 years, 3 months ago (2013-01-21 19:48:56 UTC) #2
wallyworld
LGTM but I'd like you to consider the requested change. ie construct the Openstack client ...
11 years, 3 months ago (2013-01-22 02:03:37 UTC) #3
jameinel
Overall LGTM. I think we have some feedback, but it has already taken a long ...
11 years, 3 months ago (2013-01-22 06:23:59 UTC) #4
wallyworld
https://codereview.appspot.com/6948051/diff/3001/tools/secgroup-delete-all/main_test.go File tools/secgroup-delete-all/main_test.go (right): https://codereview.appspot.com/6948051/diff/3001/tools/secgroup-delete-all/main_test.go#newcode44 tools/secgroup-delete-all/main_test.go:44: computeurl := s.Server.URL + "/v2.0/1" On 2013/01/22 06:23:59, jameinel ...
11 years, 3 months ago (2013-01-22 07:23:29 UTC) #5
rog
BTW this should make a go installable tool just fine. go install launchpad.net/goose/tools/secgroup-delete-all https://codereview.appspot.com/6948051/diff/3001/testservices/novaservice/actions.go File ...
11 years, 3 months ago (2013-01-22 07:46:09 UTC) #6
rog
oh, LGTM BTW, with the considerations below. On 2013/01/22 07:46:09, rog wrote: > BTW this ...
11 years, 3 months ago (2013-01-22 07:46:42 UTC) #7
gz
On 2013/01/22 02:03:37, wallyworld wrote: > > https://codereview.appspot.com/6948051/diff/3001/testservices/novaservice/service_http.go#newcode760 > testservices/novaservice/service_http.go:760: writeResponse(w, > http.StatusAccepted, nil) > ...
11 years, 3 months ago (2013-01-22 12:57:12 UTC) #8
gz
On 2013/01/22 07:46:09, rog wrote: > BTW this should make a go installable tool just ...
11 years, 3 months ago (2013-01-22 18:40:39 UTC) #9
gz
Please take a look.
11 years, 3 months ago (2013-01-22 18:47:02 UTC) #10
dimitern
LGTM. I used to have a bash script for the same task - using the ...
11 years, 3 months ago (2013-01-22 19:18:27 UTC) #11
gz
11 years, 3 months ago (2013-01-23 11:34:25 UTC) #12
*** Submitted:

Add simple tool for deleting security groups

Basic test of using the current api for doing some actual task. As the
live tests create lots of security groups without ever deleting them
it's also sort of useful to have around.

R=wallyworld, jameinel, rog, dimitern
CC=
https://codereview.appspot.com/6948051
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b