git://git.onelab.eu
/
nepi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68ea764
)
constants for recovery policy
author
Alina Quereilhac
<alina.quereilhac@inria.fr>
Wed, 27 Jul 2011 11:56:28 +0000
(13:56 +0200)
committer
Alina Quereilhac
<alina.quereilhac@inria.fr>
Wed, 27 Jul 2011 11:56:28 +0000
(13:56 +0200)
src/nepi/util/constants.py
patch
|
blob
|
history
diff --git
a/src/nepi/util/constants.py
b/src/nepi/util/constants.py
index
2a0ade0
..
03b354a
100644
(file)
--- a/
src/nepi/util/constants.py
+++ b/
src/nepi/util/constants.py
@@
-47,6
+47,7
@@
class TestbedStatus:
STATUS_CONFIGURED = 5
STATUS_STARTED = 6
STATUS_STOPPED = 7
+ STATUS_FAILED = 8
class DeploymentConfiguration:
MODE_SINGLE_PROCESS = "SINGLE"
@@
-55,6
+56,9
@@
class DeploymentConfiguration:
ACCESS_LOCAL = "LOCAL"
ERROR_LEVEL = "Error"
DEBUG_LEVEL = "Debug"
+ POLICY_FAIL = "Fail"
+ POLICY_RECOVER = "Recover"
+ POLICY_RESTART = "Restart"
DEPLOYMENT_MODE = "deployment_mode"
DEPLOYMENT_COMMUNICATION = "deployment_communication"
@@
-70,4
+74,6
@@
class DeploymentConfiguration:
USE_AGENT = "useAgent"
LOG_LEVEL = "logLevel"
RECOVER = "recover"
+ RECOVER_POLICY = "recoverPolicy"
+