Removed the hardcoded nodes and their powerclasses from the PowerClasses map as now it will populated dynamically
This commit is contained in:
parent
ee94e13d86
commit
ed8799566b
1 changed files with 1 additions and 18 deletions
|
@ -14,24 +14,7 @@ var Hosts = make(map[string]struct{})
|
||||||
The power classes are labelled in the decreasing order of the corresponding TDP, with class A nodes
|
The power classes are labelled in the decreasing order of the corresponding TDP, with class A nodes
|
||||||
having the highest TDP and class C nodes having the lowest TDP.
|
having the highest TDP and class C nodes having the lowest TDP.
|
||||||
*/
|
*/
|
||||||
var PowerClasses = map[string]map[string]bool{
|
var PowerClasses = make(map[string]map[string]struct{})
|
||||||
"A": map[string]bool{
|
|
||||||
"stratos-005.cs.binghamton.edu": true,
|
|
||||||
"stratos-006.cs.binghamton.edu": true,
|
|
||||||
},
|
|
||||||
"B": map[string]bool{
|
|
||||||
"stratos-007.cs.binghamton.edu": true,
|
|
||||||
},
|
|
||||||
"C": map[string]bool{
|
|
||||||
"stratos-008.cs.binghamton.edu": true,
|
|
||||||
},
|
|
||||||
"D": map[string]bool{
|
|
||||||
"stratos-001.cs.binghamton.edu": true,
|
|
||||||
"stratos-002.cs.binghamton.edu": true,
|
|
||||||
"stratos-003.cs.binghamton.edu": true,
|
|
||||||
"stratos-004.cs.binghamton.edu": true,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Margin with respect to the required power for a job.
|
Margin with respect to the required power for a job.
|
||||||
|
|
Reference in a new issue