Commit e2b88a8b authored by Jérome Perrin's avatar Jérome Perrin

configure possible values

parent 803b0af4
......@@ -26,6 +26,9 @@ schema = {
"name": "Distribution Type",
"description": "The distribution type, one of Fixed, Exp, Normal",
"type": "string",
"choice": ([["Fixed", "Fixed"],
["Exp", "Exp"],
["Normal", "Normal"]]),
"_class": "Dream.Property",
"_default": "Fixed"
},
......@@ -81,8 +84,10 @@ schema = {
"id": "operationType",
"type": "string",
"name": "Operation Type",
"choice": [["Auto", "MT-Load-Setup"],
["Manual", "MT-Load-Processing"]],
"_class": "Dream.Property",
"_default": "Processing"
"_default": "MT-Load-Processing"
},
"isDummy": {
"id": "isDummy",
......@@ -96,6 +101,7 @@ schema = {
"name": "Scheduling Rule",
"description": "Scheduling Rule, one of %s" % (" ".join(
Queue.getSupportedSchedulingRules())),
"choice": [(rule, rule) for rule in Queue.getSupportedSchedulingRules()],
"_class": "Dream.Property",
"_default": "FIFO"
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment