Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mininet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Olaf Bergmann
mininet
Commits
7d4b7b7f
Commit
7d4b7b7f
authored
15 years ago
by
Bob Lantz
Browse files
Options
Downloads
Patches
Plain Diff
Comment tweaks and additions.
parent
496b5f9e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
mininet/net.py
+1
-0
1 addition, 0 deletions
mininet/net.py
mininet/node.py
+31
-1
31 additions, 1 deletion
mininet/node.py
mininet/util.py
+1
-0
1 addition, 0 deletions
mininet/util.py
mininet/xterm.py
+2
-2
2 additions, 2 deletions
mininet/xterm.py
with
35 additions
and
3 deletions
mininet/net.py
+
1
−
0
View file @
7d4b7b7f
...
...
@@ -14,6 +14,7 @@
top of a single Linux kernel.
Each host has:
A virtual console (pipes to a shell)
A virtual interfaces (half of a veth pair)
A parent shell (and possibly some child processes) in a namespace
...
...
This diff is collapsed.
Click to expand it.
mininet/node.py
+
31
−
1
View file @
7d4b7b7f
#!/usr/bin/env python
"
Node objects for Mininet.
"
"""
Node objects for Mininet.
Nodes provide a simple abstraction for interacting with
hosts, switches and controllers. Local nodes are simply
one or more processes on the local machine.
Node: superclass for all (currently only local) network nodes.
Host: a virtual host.
Switch: superclass for switch nodes.
UserSwitch: a switch using the user-space switch from the OpenFlow
reference implementation.
KernelSwitch: a switch using the kernel switch from the OpenFlow reference
implementation.
OVSSwitch: a switch using the OpenVSwitch OpenFlow-compatible switch
implementation (openvswitch.org).
Controller: superclass for OpenFlow controllers. The default controller
is controller(8) from the reference implementation.
NOXController: a controller node using NOX (noxrepo.org).
RemoteController: a remote controller node, which may use any
arbitrary OpenFlow-compatible controller.
"""
from
subprocess
import
Popen
,
PIPE
,
STDOUT
import
os
...
...
This diff is collapsed.
Click to expand it.
mininet/util.py
+
1
−
0
View file @
7d4b7b7f
#!/usr/bin/env python
"
Utility functions for Mininet.
"
from
time
import
sleep
...
...
This diff is collapsed.
Click to expand it.
mininet/xterm.py
+
2
−
2
View file @
7d4b7b7f
...
...
@@ -2,9 +2,9 @@
"""
XTerm creation and cleanup.
Utility functions to run an xterm (
connected via screen(
1 )
) on each host.
Utility functions to run an xterm (connected via screen(
1)
) on each host.
Requires xterm(
1
) and GNU screen(
1
).
Requires xterm(
1
) and GNU screen(
1
).
"""
import
re
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment