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
35341142
Commit
35341142
authored
15 years ago
by
Bob Lantz
Browse files
Options
Downloads
Patches
Plain Diff
Minor formatting changes.
parent
c70aab0a
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
INSTALL
+3
-0
3 additions, 0 deletions
INSTALL
examples/README
+7
-5
7 additions, 5 deletions
examples/README
examples/linearbandwidth.py
+1
-1
1 addition, 1 deletion
examples/linearbandwidth.py
mininet/node.py
+1
-1
1 addition, 1 deletion
mininet/node.py
with
12 additions
and
7 deletions
INSTALL
+
3
−
0
View file @
35341142
Preliminary Mininet Installation/Configuration Notes
Development version, March 2010
---
Disclaimer: this is not (yet) a 'release'; things may be broken.
These installation notes assume you understand how to do things
...
...
This diff is collapsed.
Click to expand it.
examples/README
+
7
−
5
View file @
35341142
Mininet Examples
These examples are intended to help you get started using Mininet via its
Python API.
---
These examples are intended to help you get started using
Mininet's Python API:
linearbandwidth.py
linearbandwidth.py
:
This example shows how to create a custom topology programatically
by subclassing Topo, and how to run a series of tests on it.
scratchnet.py, scratchnetuser.py
scratchnet.py, scratchnetuser.py
:
These two examples demonstrate how to create a network by using the lowest-
level Mininet functions. Generally the higher-level API is easier to use,
but scratchnet shows what is going on behind the scenes.
udpbwtest.py
udpbwtest.py
:
This example shows how to run a test across an entire network, and monitor
the output of a set of hosts in real time.
...
...
This diff is collapsed.
Click to expand it.
examples/linearbandwidth.py
+
1
−
1
View file @
35341142
...
...
@@ -71,7 +71,7 @@ def linearBandwidthTest( lengths ):
switches
=
{
'
reference kernel
'
:
KernelSwitch
,
'
reference user
'
:
UserSwitch
,
'
Open vSwitch kernel
'
:
OVSKernelSwitch
}
for
datapath
in
switches
.
keys
():
print
"
*** testing
"
,
datapath
,
"
datapath
"
Switch
=
switches
[
datapath
]
...
...
This diff is collapsed.
Click to expand it.
mininet/node.py
+
1
−
1
View file @
35341142
...
...
@@ -270,7 +270,7 @@ def connectionsTo( self, node):
if
dstNode
==
node
:
connections
.
append
(
(
intf
,
dstIntf
)
)
return
connections
# This is a symmetric operation, but it makes sense to put
# the code here since it is tightly coupled to routines in
# this class. For a more symmetric API, you can use
...
...
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