Bob Lantz
ee15ce2243
print -> info; end the horror of print vs. print()
...
Although we could use print() from __future__, this messes
up scripts which use examples as modules.
The simple, if not nicest for 2.7, solution is to use
info(), output() and other mininet.log functions. The disadvantage
is that we may have to adjust things if we change info() to
add automatic newlines, but we can burn that bridge in Mininet
3.x.
2016-08-23 01:54:54 -07:00
Bob Lantz
8ac077a721
Remove "from __future__ import print"
...
This was well-intentioned, but it causes more trouble
than it's worth.
Fixes #652
2016-08-08 15:28:52 -07:00
Brad Walker
70fcc45893
Use print function
2016-06-21 16:27:04 -07:00
Bob Lantz
643c9f912f
More pylint changes...
2014-12-04 05:55:57 -08:00
Bob Lantz
e0bf8ece3c
Minor code cleanup
2014-11-23 17:17:21 -08:00
cody burkard
f1b61c629a
Merge branch 'master' of github.com:mininet/mininet into patches/fix_sshd
...
Conflicts:
examples/cpu.py
2014-09-27 04:31:46 -07:00
cody burkard
cf5bbd597a
promote waitListening to util.py
2014-09-27 04:30:16 -07:00
cody burkard
54bd9e6112
continue to test cfs if rt is not enabled in kernel
2014-09-27 03:20:07 -07:00
Brandon Heller
2eb0593cd2
examples/cpu: Fix typo, note existence in README
2012-11-13 18:06:19 -08:00
Brandon Heller
c0095746af
pep8: Fix E121/126, continuation line indention
2012-11-13 16:08:26 -08:00
Bob Lantz
612b21cbe7
Pass code check.
2012-03-23 18:38:49 -07:00
Bob Lantz
74ea006d92
Increase the quota and cpu fraction to get max cfs performance.
2012-03-23 18:17:08 -07:00
Bob Lantz
4deb735425
Simple cpu limiting example.
2012-03-22 14:44:20 -07:00