Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e2e113f6
authored
Feb 06, 2014
by
Dudás Ádám
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vm: delete associated host on interface destruction
parent
11ea1162
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
circle/vm/models/network.py
+2
-0
No files found.
circle/vm/models/network.py
View file @
e2e113f6
...
...
@@ -97,6 +97,8 @@ class Interface(Model):
net_tasks
.
destroy
.
apply_async
(
args
=
[
self
.
get_vmnetwork_desc
()],
queue
=
self
.
instance
.
get_remote_queue_name
(
'net'
))
if
self
.
host
is
not
None
:
self
.
host
.
delete
()
@classmethod
def
create
(
cls
,
instance
,
vlan
,
managed
,
owner
=
None
):
...
...
Dudás Ádám
@siliconbrain
mentioned in issue
#26 (closed)
Feb 11, 2014
mentioned in issue
#26 (closed)
mentioned in issue #26
Toggle commit list
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