mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	add the hardware information to support more hardware type on the graphical layout page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -9,7 +9,7 @@ var hardwareInfo = {
 | 
			
		||||
    '9133-55A' : [ 'P5-55A', 4 ],
 | 
			
		||||
    '9116-561' : [ 'P5-560Q', 4 ],
 | 
			
		||||
    '9117-570' : [ 'P5-570', 4 ],
 | 
			
		||||
    '9118-575' : [ 'P5-575', 42 ],
 | 
			
		||||
    '9118-575' : [ 'P5-575', 4 ],
 | 
			
		||||
    '9119-590' : [ 'P5-590', 42 ],
 | 
			
		||||
    '9119-595' : [ 'P5-595', 42 ],
 | 
			
		||||
 | 
			
		||||
@@ -21,18 +21,23 @@ var hardwareInfo = {
 | 
			
		||||
    '9409-M50' : [ 'P6-550', 4 ],
 | 
			
		||||
    '8234-EMA' : [ 'P6-560', 4 ],
 | 
			
		||||
    '9117-MMA' : [ 'P6-570', 4 ],
 | 
			
		||||
    '9125-F2A' : [ 'P6-575', 42 ],
 | 
			
		||||
    '9125-F2A' : [ 'P6-575', 4 ],
 | 
			
		||||
    '9119-FHA' : [ 'P6-595', 42 ],
 | 
			
		||||
 | 
			
		||||
    // P7
 | 
			
		||||
    '8202-E4B' : [ 'P7-720', 4 ],
 | 
			
		||||
    '8202-E4C' : [ 'P7-720', 4 ],
 | 
			
		||||
    '8205-E6C' : [ 'P7-740', 4 ],
 | 
			
		||||
    '8205-E6B' : [ 'P7-740', 4 ],
 | 
			
		||||
    '8231-E2B' : [ 'P7-710/730', 2 ],
 | 
			
		||||
    '8231-E1C' : [ 'P7-710', 2 ],
 | 
			
		||||
    '8233-E8B' : [ 'P7-750', 4 ],
 | 
			
		||||
    '8236-E8C' : [ 'P7-755', 4 ],
 | 
			
		||||
    '9117-MMB' : [ 'P7-770', 4 ],
 | 
			
		||||
    '9117-MMC' : [ 'P7-770', 4 ],
 | 
			
		||||
    '9119-FHB' : [ 'P7-795', 4 ],
 | 
			
		||||
    '9179-MHB' : [ 'P7-780', 42 ],
 | 
			
		||||
    '9179-MHB' : [ 'P7-780', 4 ],
 | 
			
		||||
    '9179-MHC' : [ 'P7-780', 4 ],
 | 
			
		||||
    '8231-E2C' : [ 'P7 HE', 4 ],
 | 
			
		||||
    '9125-F2C' : [ 'Power 775', 2], 
 | 
			
		||||
    '78AC-100' : [ 'Power 775', 2] // FSP
 | 
			
		||||
 
 | 
			
		||||
@@ -779,6 +779,10 @@ function createFspDiv(fspName, mtm, fsp) {
 | 
			
		||||
        temp = mtm;
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    if (!hardwareInfo[temp]){
 | 
			
		||||
    	hardwareInfo[temp] = ['unkown', 2];
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    if (hardwareInfo[temp][1]) {
 | 
			
		||||
        divClass += 'fspDiv' + hardwareInfo[temp][1];
 | 
			
		||||
    } else {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user