adding predefined groups based on hardware types

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2013-06-06 03:22:53 +00:00
parent e8d1d7cf00
commit 5921d3cd95
6 changed files with 36 additions and 7 deletions

View File

@ -1,2 +1,5 @@
#node,mpa,id,comments,disable
"blade","|\D+(\d+).*$|amm(($1-1)/14+1)|","|\D+(\d+).*$|(($1-1)%14+1)|",,
#node,mpa,id,nodetype,comments,disable
"blade","|\D+(\d+).*$|amm(($1-1)/14+1)|","|\D+(\d+).*$|(($1-1)%14+1)|",,,
"x220",,,"blade",,
"x240",,,"blade",,
"x440",,,"blade",,

1 #node mpa id nodetype comments disable
2 blade |\D+(\d+).*$|amm(($1-1)/14+1)| |\D+(\d+).*$|(($1-1)%14+1)|
3 x220 blade
4 x240 blade
5 x440 blade

View File

@ -1,5 +1,12 @@
#node,power,mgt,cons,termserver,termport,conserver,serialspeed,serialflow,getmac,comments,disable
"ipmi",,"ipmi",,,,,,,,,
"blade",,"blade",,,,,,,,,
"cyclades",,,"cyclades",,,,,,,,
"mrv",,,"mrv",,,,,,,,
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,comments,disable
"ipmi",,"ipmi",,,,,,,,,,
"blade",,"blade",,,,,,,,,,
"cyclades",,,"cyclades",,,,,,,,,
"mrv",,,"mrv",,,,,,,,,
"x3250",,"ipmi","ipmi",,,,"0","115200",,,,
"x3550",,"ipmi","ipmi",,,,"0","115200",,,,
"x3650",,"ipmi","ipmi",,,,"0","115200",,,,
"dx360",,"ipmi","ipmi",,,,"0","115200",,,,
"x220",,"ipmi","ipmi",,,,"0","115200",,,,
"x240",,"ipmi","ipmi",,,,"0","115200",,,,
"x440",,"ipmi","ipmi",,,,"0","115200",,,,

1 #node power mgt cons termserver termport conserver serialport serialspeed serialflow getmac comments disable
2 ipmi ipmi
3 blade blade
4 cyclades cyclades
5 mrv mrv
6 x3250 ipmi ipmi 0 115200
7 x3550 ipmi ipmi 0 115200
8 x3650 ipmi ipmi 0 115200
9 dx360 ipmi ipmi 0 115200
10 x220 ipmi ipmi 0 115200
11 x240 ipmi ipmi 0 115200
12 x440 ipmi ipmi 0 115200

View File

@ -1,2 +1,9 @@
#node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
"compute",,,"compute",,
"x3250",,,,,,"osi",,
"x3550",,,,,,"osi",,
"x3650",,,,,,"osi",,
"dx360",,,,,,"osi",,
"x220",,,,,,"mp",,
"x240",,,,,,"mp",,
"x440",,,,,,"mp",,

Can't render this file because it has a wrong number of fields in line 2.

View File

@ -0,0 +1,4 @@
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,comments,disable
"p260",,"fsp","fsp",,,,,,,"blade",,,
"p460",,"fsp","fsp",,,,,,,"blade",,,
"p470",,"fsp","fsp",,,,,,,"blade",,,
1 #node power mgt cons termserver termport conserver serialport serialspeed serialflow getmac cmdmapping comments disable
2 p260 fsp fsp blade
3 p460 fsp fsp blade
4 p470 fsp fsp blade

View File

@ -0,0 +1,4 @@
#node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
"p260",,,,,,"ppc,osi",,
"p460",,,,,,"ppc,osi",,
"p470",,,,,,"ppc,osi",,
1 #node os arch profile provmethod supportedarchs nodetype comments disable
2 p260 ppc,osi
3 p460 ppc,osi
4 p470 ppc,osi

View File

@ -0,0 +1,4 @@
#node,hcp,id,pprofile,parent,nodetype,supernode,sfp,comments,disable
"p260",,"1",,,"blade",,,,
"p460",,"1",,,"blade",,,,
"p470",,"1",,,"blade",,,,
1 #node hcp id pprofile parent nodetype supernode sfp comments disable
2 p260 1 blade
3 p460 1 blade
4 p470 1 blade