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
83097ff9
Commit
83097ff9
authored
15 years ago
by
Brandon Heller
Browse files
Options
Downloads
Patches
Plain Diff
Fix errors from style changes
parent
6d72a3cb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/mn
+3
-3
3 additions, 3 deletions
bin/mn
mininet/cli.py
+2
-2
2 additions, 2 deletions
mininet/cli.py
with
5 additions
and
5 deletions
bin/mn
+
3
−
3
View file @
83097ff9
...
...
@@ -57,8 +57,8 @@ CONTROLLERS = { 'ref': Controller,
'
none
'
:
lambda
a
,
b
:
None
}
# optional tests to run
TESTS
=
[
'
cli
'
,
'
build
'
,
'
ping
_a
ll
'
,
'
ping
_p
air
'
,
'
iperf
'
,
'
all
'
,
'
iperf
_u
dp
'
]
TESTS
=
[
'
cli
'
,
'
build
'
,
'
ping
A
ll
'
,
'
ping
P
air
'
,
'
iperf
'
,
'
all
'
,
'
iperf
U
dp
'
]
def
addDictOption
(
opts
,
choicesDict
,
default
,
name
,
helpStr
=
None
):
...
...
@@ -120,7 +120,7 @@ class MininetRunner( object ):
opts
.
add_option
(
'
--port
'
,
type
=
'
string
'
,
default
=
6633
,
help
=
'
[port integer for a listening remote
'
'
controller]
'
)
opts
.
add_option
(
'
--in
_n
amespace
'
,
action
=
'
store_true
'
,
opts
.
add_option
(
'
--in
N
amespace
'
,
action
=
'
store_true
'
,
default
=
False
,
help
=
'
sw and ctrl in namespace?
'
)
self
.
options
=
opts
.
parse_args
()[
0
]
...
...
This diff is collapsed.
Click to expand it.
mininet/cli.py
+
2
−
2
View file @
83097ff9
...
...
@@ -46,8 +46,8 @@
class
CLI
(
object
):
"
Simple command-line interface to talk to nodes.
"
cmds
=
[
'
?
'
,
'
help
'
,
'
nodes
'
,
'
net
'
,
'
sh
'
,
'
ping
_a
ll
'
,
'
exit
'
,
'
ping
_p
air
'
,
'
iperf
'
,
'
iperf
_u
dp
'
,
'
intfs
'
,
'
dump
'
]
cmds
=
[
'
?
'
,
'
help
'
,
'
nodes
'
,
'
net
'
,
'
sh
'
,
'
ping
A
ll
'
,
'
exit
'
,
'
ping
P
air
'
,
'
iperf
'
,
'
iperf
U
dp
'
,
'
intfs
'
,
'
dump
'
]
def
__init__
(
self
,
mininet
):
self
.
mn
=
mininet
...
...
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