Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
b151c7ff
Commit
b151c7ff
authored
Jan 15, 2015
by
Matt Martz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some additional output to cleanup_rax.py
parent
b8e72116
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
test/integration/cleanup_rax.py
+2
-0
No files found.
test/integration/cleanup_rax.py
View file @
b151c7ff
...
...
@@ -67,6 +67,7 @@ def prompt_and_delete(item, prompt, assumeyes):
def
delete_rax
(
args
):
"""Function for deleting CloudServers"""
print
(
"--- Cleaning CloudServers matching '
%
s'"
%
args
.
match_re
)
search_opts
=
dict
(
name
=
'^
%
s'
%
args
.
match_re
)
for
region
in
pyrax
.
identity
.
services
.
compute
.
regions
:
cs
=
pyrax
.
connect_to_cloudservers
(
region
=
region
)
...
...
@@ -79,6 +80,7 @@ def delete_rax(args):
def
delete_rax_clb
(
args
):
"""Function for deleting Cloud Load Balancers"""
print
(
"--- Cleaning Cloud Load Balancers matching '
%
s'"
%
args
.
match_re
)
for
region
in
pyrax
.
identity
.
services
.
load_balancer
.
regions
:
clb
=
pyrax
.
connect_to_cloud_loadbalancers
(
region
=
region
)
for
lb
in
rax_list_iterator
(
clb
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment