add independent mtm file

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2010-11-04 07:37:03 +00:00
parent 1d48c77342
commit ad0840eeba
3 changed files with 38 additions and 17 deletions

36
xCAT-UI/js/nodes/mtm.js Normal file
View File

@ -0,0 +1,36 @@
var hardwareInfo = {
'7037-A50' : ['P5-185', '5' ],
'9115-505' : ['P5-505', '1' ],
'9110-510' : ['P5-510', '2' ],
'9110-51A' : ['P5-510', '2' ],
'9111-520' : ['P5-520', '4' ],
'913A-52A' : ['P5-52A', '4' ],
'9113-550' : ['P5-550', '4' ],
'9133-55A' : ['P5-55A', '4' ],
'9116-561' : ['P5-560Q', '4' ],
'9117-570' : ['P5-570', '4' ],
'9118-575' : ['P5-575', '42'],
'9119-590' : ['P5-590', '42'],
'9119-595' : ['P5-595', '42'],
//P6
'8203-E4A' : ['P6-520', '4' ],
'9407-M15' : ['P6-520', '4' ],
'9408-M25' : ['P6-520', '4' ],
'8204-E8A' : ['P6-550', '4' ],
'9409-M50' : ['P6-550', '4' ],
'8234-EMA' : ['P6-560', '4' ],
'9117-MMA' : ['P6-570', '4' ],
'9125-F2A' : ['P6-575', '42'],
'9119-FHA' : ['P6-595', '42'],
//P7
'8202-E4B' : ['P7-720', '4' ],
'8205-E6B' : ['P7-740', '4' ],
'8231-E2B' : ['P7-710/730', '2' ],
'8233-E8B' : ['P7-750', '4' ],
'8236-E8C' : ['P7-755', '4' ],
'9117-MMB' : ['P7-770', '4' ],
'9119-FHB' : ['P7-795', '42'],
'9179-MHB' : ['P7-780', '42']
};

View File

@ -1,17 +1,3 @@
var hardwareInfo = {
'7037-A50' : ['P5-185', '5' ],
'9115-505' : ['P5-505', '1' ],
'9110-510' : ['P5-510', '2' ],
'9110-51A' : ['P5-510', '2' ],
'9111-520' : ['P5-520', '4' ],
'913A-52A' : ['P5-52A', '4' ],
'9113-550' : ['P5-550', '4' ],
'9133-55A' : ['P5-55A', '4' ],
'9116-561' : ['P5-560Q', '4' ],
'9117-570' : ['P5-570', '4' ],
'9118-575' : ['P5-575', '42'],
'9119-590' : ['P5-590', '42'],
'9119-595' : ['P5-595', '42'],
//P6
'8203-E4A' : ['P6-520', '4' ],
@ -290,9 +276,7 @@ function createGraphical(bpa, fsp, area){
area.append(graphical_area);
$('.fspDiv2, .fspDiv4, .fspDiv42').tooltip({
showURL: false,
showBody: " - ",
fade: 250
});
$('.fspDiv2, .fspDiv4, .fspDiv42').bind('click', function(){

View File

@ -455,6 +455,7 @@ function initPage() {
includeJs("js/nodes/rnetboot.js");
includeJs("js/nodes/updatenode.js");
includeJs("js/nodes/physical.js");
includeJs("js/nodes/mtm.js");
headers.eq(0).css('background-color', '#A9D0F5');
loadNodesPage();
} else if (page == 'configure.php') {