Commit 73b30d50 authored by Jérome Perrin's avatar Jérome Perrin

do not output scheduling rules for queues

parent 5a3daff5
......@@ -308,6 +308,5 @@ class Queue(CoreObject):
def outputResultsJSON(self):
from Globals import G
json = {'_class': 'Dream.%s' % self.__class__.__name__,
'id': str(self.id),
'schedulingRule': self.schedulingRule}
'id': str(self.id), }
G.outputJSON['elementList'].append(json)
......@@ -3,8 +3,7 @@
"elementList": [
{
"_class": "Dream.Queue",
"id": "DummyQ",
"schedulingRule": "FIFO"
"id": "DummyQ"
},
{
"_class": "Dream.Exit",
......@@ -37,8 +36,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.Repairman",
......
......@@ -3,8 +3,7 @@
"elementList": [
{
"_class": "Dream.Queue",
"id": "DummyQ",
"schedulingRule": "FIFO"
"id": "DummyQ"
},
{
"_class": "Dream.Exit",
......
......@@ -3,8 +3,7 @@
"elementList": [
{
"_class": "Dream.Queue",
"id": "DummyQ",
"schedulingRule": "FIFO"
"id": "DummyQ"
},
{
"_class": "Dream.Exit",
......@@ -37,8 +36,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.Repairman",
......
......@@ -41,8 +41,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
}
],
"general": {
......
......@@ -3,8 +3,7 @@
"elementList": [
{
"_class": "Dream.Queue",
"id": "DummyQ",
"schedulingRule": "FIFO"
"id": "DummyQ"
},
{
"_class": "Dream.Exit",
......@@ -47,8 +46,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.Repairman",
......
......@@ -42,8 +42,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
}
],
"general": {
......
......@@ -52,8 +52,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
}
],
"general": {
......
......@@ -52,8 +52,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
}
],
"general": {
......
......@@ -3,8 +3,7 @@
"elementList": [
{
"_class": "Dream.Queue",
"id": "DummyQ",
"schedulingRule": "FIFO"
"id": "DummyQ"
},
{
"_class": "Dream.Exit",
......@@ -47,8 +46,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.Repairman",
......
......@@ -3,8 +3,7 @@
"elementList": [
{
"_class": "Dream.Queue",
"id": "DummyQ",
"schedulingRule": "FIFO"
"id": "DummyQ"
},
{
"_class": "Dream.Exit",
......@@ -57,8 +56,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.Repairman",
......
......@@ -12,8 +12,7 @@
},
{
"_class": "Dream.Queue",
"id": "DummyQ",
"schedulingRule": "FIFO"
"id": "DummyQ"
},
{
"_class": "Dream.Exit",
......
......@@ -12,8 +12,7 @@
},
{
"_class": "Dream.Queue",
"id": "DummyQ",
"schedulingRule": "FIFO"
"id": "DummyQ"
},
{
"_class": "Dream.Exit",
......
......@@ -3,8 +3,7 @@
"elementList": [
{
"_class": "Dream.Queue",
"id": "DummyQ",
"schedulingRule": "FIFO"
"id": "DummyQ"
},
{
"_class": "Dream.Exit",
......@@ -37,8 +36,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
}
],
"general": {
......
......@@ -145,18 +145,15 @@
},
{
"_class": "Dream.QueueJobShop",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.QueueJobShop",
"id": "Q2",
"schedulingRule": "FIFO"
"id": "Q2"
},
{
"_class": "Dream.QueueJobShop",
"id": "Q3",
"schedulingRule": "FIFO"
"id": "Q3"
}
],
"general": {
......
......@@ -280,18 +280,15 @@
},
{
"_class": "Dream.QueueJobShop",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.QueueJobShop",
"id": "Q2",
"schedulingRule": "FIFO"
"id": "Q2"
},
{
"_class": "Dream.QueueJobShop",
"id": "Q3",
"schedulingRule": "FIFO"
"id": "Q3"
}
],
"general": {
......
......@@ -444,18 +444,15 @@
},
{
"_class": "Dream.QueueJobShop",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.QueueJobShop",
"id": "Q2",
"schedulingRule": "MC"
"id": "Q2"
},
{
"_class": "Dream.QueueJobShop",
"id": "Q3",
"schedulingRule": "FIFO"
"id": "Q3"
}
],
"general": {
......
......@@ -22,8 +22,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
}
],
"general": {
......
......@@ -42,13 +42,11 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.Queue",
"id": "Q2",
"schedulingRule": "FIFO"
"id": "Q2"
}
],
"general": {
......
......@@ -42,13 +42,11 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.LineClearance",
"id": "Q2",
"schedulingRule": "FIFO"
"id": "Q2"
}
],
"general": {
......
......@@ -3,8 +3,7 @@
"elementList": [
{
"_class": "Dream.Queue",
"id": "DummyQ",
"schedulingRule": "FIFO"
"id": "DummyQ"
},
{
"_class": "Dream.Exit",
......@@ -37,8 +36,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
}
],
"general": {
......
......@@ -42,18 +42,15 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.LineClearance",
"id": "Q2",
"schedulingRule": "FIFO"
"id": "Q2"
},
{
"_class": "Dream.Queue",
"id": "Q3",
"schedulingRule": "FIFO"
"id": "Q3"
}
],
"general": {
......
......@@ -291,18 +291,15 @@
},
{
"_class": "Dream.QueueJobShop",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.QueueJobShop",
"id": "Q2",
"schedulingRule": "FIFO"
"id": "Q2"
},
{
"_class": "Dream.QueueJobShop",
"id": "Q3",
"schedulingRule": "FIFO"
"id": "Q3"
}
],
"general": {
......
......@@ -32,13 +32,11 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.Queue",
"id": "Q2",
"schedulingRule": "FIFO"
"id": "Q2"
}
],
"general": {
......
......@@ -32,13 +32,11 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.Queue",
"id": "Q2",
"schedulingRule": "FIFO"
"id": "Q2"
}
],
"general": {
......
......@@ -32,13 +32,11 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.Queue",
"id": "Q2",
"schedulingRule": "FIFO"
"id": "Q2"
}
],
"general": {
......
......@@ -3,8 +3,7 @@
"elementList": [
{
"_class": "Dream.Queue",
"id": "DummyQ",
"schedulingRule": "FIFO"
"id": "DummyQ"
},
{
"_class": "Dream.Exit",
......@@ -37,8 +36,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
}
],
"general": {
......
......@@ -3,8 +3,7 @@
"elementList": [
{
"_class": "Dream.Queue",
"id": "DummyQ",
"schedulingRule": "FIFO"
"id": "DummyQ"
},
{
"_class": "Dream.Exit",
......@@ -37,8 +36,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.Repairman",
......
......@@ -3,8 +3,7 @@
"elementList": [
{
"_class": "Dream.Queue",
"id": "DummyQ",
"schedulingRule": "FIFO"
"id": "DummyQ"
},
{
"_class": "Dream.Exit",
......@@ -57,8 +56,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.Repairman",
......
......@@ -172,13 +172,11 @@
},
{
"_class": "Dream.QueueJobShop",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.QueuePreemptive",
"id": "Q2",
"schedulingRule": "FIFO"
"id": "Q2"
}
],
"general": {
......
......@@ -172,13 +172,11 @@
},
{
"_class": "Dream.QueueJobShop",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.QueuePreemptive",
"id": "Q2",
"schedulingRule": "FIFO"
"id": "Q2"
}
],
"general": {
......
......@@ -22,8 +22,7 @@
},
{
"_class": "Dream.Queue",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
}
],
"general": {
......
......@@ -190,18 +190,15 @@
},
{
"_class": "Dream.QueueJobShop",
"id": "Q0",
"schedulingRule": "FIFO"
"id": "Q0"
},
{
"_class": "Dream.QueueJobShop",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.QueueJobShop",
"id": "Q2",
"schedulingRule": "FIFO"
"id": "Q2"
}
],
"general": {
......
......@@ -302,18 +302,15 @@
},
{
"_class": "Dream.QueueJobShop",
"id": "Q1",
"schedulingRule": "FIFO"
"id": "Q1"
},
{
"_class": "Dream.QueueJobShop",
"id": "Q2",
"schedulingRule": "FIFO"
"id": "Q2"
},
{
"_class": "Dream.QueueJobShop",
"id": "Q3",
"schedulingRule": "FIFO"
"id": "Q3"
}
],
"general": {
......
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