Commit 7f14d3bb authored by Jérome Perrin's avatar Jérome Perrin

Allow changing queue scheduling rules from the GUI

parent 05e70616
...@@ -95,6 +95,12 @@ ...@@ -95,6 +95,12 @@
_class: "Dream.Property", _class: "Dream.Property",
_default: "0" _default: "0"
}, },
schedulingRule: {
id: "schedulingRule",
type: "string",
_class: "Dream.Property",
_default: "FIFO"
},
capacity: { capacity: {
id: "capacity", id: "capacity",
type: "string", type: "string",
...@@ -170,8 +176,10 @@ ...@@ -170,8 +176,10 @@
_class: 'Dream.Machine' _class: 'Dream.Machine'
}, },
"Dream-Queue": { "Dream-Queue": {
property_list: [property_container["capacity"], property_container[ property_list: [property_container["capacity"],
"isDummy"]], property_container["isDummy"],
property_container["schedulingRule"],
],
_class: 'Dream.Queue' _class: 'Dream.Queue'
}, },
"Dream-Exit": { "Dream-Exit": {
...@@ -184,8 +192,10 @@ ...@@ -184,8 +192,10 @@
_class: 'Dream.MachineJobShop' _class: 'Dream.MachineJobShop'
}, },
"Dream-QueueJobShop": { "Dream-QueueJobShop": {
property_list: [property_container["capacity"], property_container[ property_list: [property_container["capacity"],
"isDummy"]], property_container["isDummy"],
property_container["schedulingRule"],
],
_class: 'Dream.QueueJobShop' _class: 'Dream.QueueJobShop'
}, },
"Dream-ExitJobShop": { "Dream-ExitJobShop": {
......
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