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
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager
[nodemanager.git]
/
plugins
/
omf_resctl.py
diff --git
a/plugins/omf_resctl.py
b/plugins/omf_resctl.py
index
7d82e79
..
a5f4c68
100644
(file)
--- a/
plugins/omf_resctl.py
+++ b/
plugins/omf_resctl.py
@@
-13,7
+13,8
@@
import subprocess
import tools
import logger
import tools
import logger
-priority = 50
+# we need this to run after sliverauth
+priority = 150
def start():
pass
def start():
pass
@@
-22,10
+23,9
@@
def start():
# hard-wire this for now
# once the variables are expanded, this is expected to go into
config_ple_template="""---
# hard-wire this for now
# once the variables are expanded, this is expected to go into
config_ple_template="""---
-# Example:
-# _slicename_ = nicta_ruby
-# _hostname_ = planetlab1.research.nicta.com.au
-# _xmpp_server_ = xmpp.planet-lab.eu
+# slicename = _slicename_
+# hostname = _hostname_
+# xmpp_server = _xmpp_server_
# we extract expires time here, even in a comment so that the
# trigger script gets called whenever this changes
# expires: _expires_
# we extract expires time here, even in a comment so that the
# trigger script gets called whenever this changes
# expires: _expires_