Removed the hardcoded nodes and their powerclasses from the PowerClasses map as now it will populated dynamically

This commit is contained in:
Abhishek Jain 2017-03-24 16:25:24 -04:00
parent ee94e13d86
commit ed8799566b

View file

@ -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
having the highest TDP and class C nodes having the lowest TDP.
*/
var PowerClasses = map[string]map[string]bool{
"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,
},
}
var PowerClasses = make(map[string]map[string]struct{})
/*
Margin with respect to the required power for a job.