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
0df8b195
Commit
0df8b195
authored
15 years ago
by
Bob Lantz
Browse files
Options
Downloads
Patches
Plain Diff
Renamed logging_mod.py -> log.py
Updated other files accordingly.
parent
ac9554d6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
bin/mn
+1
-1
1 addition, 1 deletion
bin/mn
mininet/log.py
+1
-1
1 addition, 1 deletion
mininet/log.py
mininet/net.py
+1
-1
1 addition, 1 deletion
mininet/net.py
mininet/node.py
+1
-1
1 addition, 1 deletion
mininet/node.py
mininet/util.py
+1
-1
1 addition, 1 deletion
mininet/util.py
with
5 additions
and
5 deletions
bin/mn
+
1
−
1
View file @
0df8b195
...
@@ -14,7 +14,7 @@ try:
...
@@ -14,7 +14,7 @@ try:
except
ImportError
:
except
ImportError
:
USE_RIPCORD
=
False
USE_RIPCORD
=
False
from
mininet.log
ging_mod
import
lg
,
LEVELS
from
mininet.log
import
lg
,
LEVELS
from
mininet.net
import
Mininet
,
init
from
mininet.net
import
Mininet
,
init
from
mininet.node
import
KernelSwitch
,
Host
,
Controller
,
ControllerParams
,
NOX
from
mininet.node
import
KernelSwitch
,
Host
,
Controller
,
ControllerParams
,
NOX
from
mininet.node
import
RemoteController
,
UserSwitch
,
OVSKernelSwitch
from
mininet.node
import
RemoteController
,
UserSwitch
,
OVSKernelSwitch
...
...
This diff is collapsed.
Click to expand it.
mininet/log
ging_mod
.py
→
mininet/log.py
+
1
−
1
View file @
0df8b195
...
@@ -78,7 +78,7 @@ class MininetLogger(Logger, object):
...
@@ -78,7 +78,7 @@ class MininetLogger(Logger, object):
Enable each mininet .py file to with one import:
Enable each mininet .py file to with one import:
from mininet.log
ging_mod
import lg
from mininet.log import lg
...get a default logger that doesn
'
t require one newline per logging call.
...get a default logger that doesn
'
t require one newline per logging call.
...
...
This diff is collapsed.
Click to expand it.
mininet/net.py
+
1
−
1
View file @
0df8b195
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
import
sys
import
sys
from
time
import
sleep
from
time
import
sleep
from
mininet.log
ging_mod
import
lg
from
mininet.log
import
lg
from
mininet.node
import
KernelSwitch
,
OVSKernelSwitch
from
mininet.node
import
KernelSwitch
,
OVSKernelSwitch
from
mininet.util
import
quietRun
,
fixLimits
from
mininet.util
import
quietRun
,
fixLimits
from
mininet.util
import
make_veth_pair
,
move_intf
,
retry
,
MOVEINTF_DELAY
from
mininet.util
import
make_veth_pair
,
move_intf
,
retry
,
MOVEINTF_DELAY
...
...
This diff is collapsed.
Click to expand it.
mininet/node.py
+
1
−
1
View file @
0df8b195
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
flush
=
sys
.
stdout
.
flush
flush
=
sys
.
stdout
.
flush
from
mininet.log
ging_mod
import
lg
from
mininet.log
import
lg
from
mininet.util
import
quietRun
,
macColonHex
,
ipStr
from
mininet.util
import
quietRun
,
macColonHex
,
ipStr
...
...
This diff is collapsed.
Click to expand it.
mininet/util.py
+
1
−
1
View file @
0df8b195
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
import
select
import
select
from
subprocess
import
call
,
check_call
,
Popen
,
PIPE
,
STDOUT
from
subprocess
import
call
,
check_call
,
Popen
,
PIPE
,
STDOUT
from
mininet.log
ging_mod
import
lg
from
mininet.log
import
lg
def
run
(
cmd
):
def
run
(
cmd
):
...
...
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