Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nemu3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
nemu3
Commits
bf0e2cc7
Commit
bf0e2cc7
authored
Jul 22, 2010
by
Martín Ferrari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check which interfaces to destroy
parent
089dbd85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/netns/node.py
src/netns/node.py
+4
-1
No files found.
src/netns/node.py
View file @
bf0e2cc7
...
...
@@ -34,10 +34,13 @@ class Node(object):
self
.
destroy
()
def
destroy
(
self
):
if
self
.
debug
:
# pragma: no cover
sys
.
stderr
.
write
(
"*** Node(%s) destroy
\
n
"
%
self
.
pid
)
for
p
in
self
.
_processes
.
values
():
p
.
destroy
()
del
self
.
_processes
for
i
in
self
.
_interfaces
.
values
():
# Use get_interfaces to force a rescan
for
i
in
self
.
get_interfaces
():
i
.
destroy
()
del
self
.
_interfaces
del
self
.
_pid
...
...
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