run lsvm when the machine type is s390

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9181 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2011-03-30 07:38:27 +00:00
parent 8f32293390
commit 8a97e9d79d

View File

@ -896,12 +896,18 @@ function loadNodes(data) {
// Get index of hcp column
var i = $.inArray('hcp', sorted);
var archCol = $.inArray('arch', sorted);
if (i) {
// Get hardware control point
var rows = nodesTable.object().find('tbody tr');
var hcps = new Object();
for (var j in rows) {
var rowsNum = rows.size();
for (var j = 0; j < rowsNum; j++) {
var val = rows.eq(j).find('td').eq(i).html();
var archval = rows.eq(j).find('td').eq(archCol).html();
if (-1 == archval.indexOf('390')){
continue;
}
hcps[val] = 1;
}