git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Supports turning off all queuing when the right flag is set.
[nodemanager.git]
/
bwmon.py
diff --git
a/bwmon.py
b/bwmon.py
index
495fabd
..
6f5c90e
100644
(file)
--- a/
bwmon.py
+++ b/
bwmon.py
@@
-662,7
+662,10
@@
def getDefaults(nmdbcopy):
return status
def allOff():
- # Get/set special slice IDs
+ """
+ Turn off all slice HTBs
+ """
+ # Get/set special slice IDs
root_xid = bwlimit.get_xid("root")
default_xid = bwlimit.get_xid("default")
kernelhtbs = gethtbs(root_xid, default_xid)