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
f122489d
Commit
f122489d
authored
Aug 17, 2010
by
Martín Ferrari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netns.import_if as a convenience name for ImportedInterface class
parent
d56f5400
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/netns/node.py
src/netns/node.py
+2
-2
No files found.
src/netns/node.py
View file @
f122489d
...
@@ -5,7 +5,7 @@ import os, socket, sys, traceback, unshare, weakref
...
@@ -5,7 +5,7 @@ import os, socket, sys, traceback, unshare, weakref
from
netns.environ
import
*
from
netns.environ
import
*
import
netns.protocol
,
netns
.
subprocess_
import
netns.protocol
,
netns
.
subprocess_
__all__
=
[
'Node'
,
'get_nodes'
]
__all__
=
[
'Node'
,
'get_nodes'
,
'import_if'
]
class
Node
(
object
):
class
Node
(
object
):
_nodes
=
weakref
.
WeakValueDictionary
()
_nodes
=
weakref
.
WeakValueDictionary
()
...
@@ -189,4 +189,4 @@ def _start_child(debug, nonetns):
...
@@ -189,4 +189,4 @@ def _start_child(debug, nonetns):
# NOTREACHED
# NOTREACHED
get_nodes
=
Node
.
get_nodes
get_nodes
=
Node
.
get_nodes
import_if
=
netns
.
interface
.
ImportedInterface
(
interface
)
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