2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-01-09 09:52:32 +00:00

-Remove '-' from nodepos.u of idataplex sample entry

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso
2008-05-14 20:04:09 +00:00
parent b0f4f91357
commit 0777b6bbd5

View File

@@ -6,4 +6,4 @@
42nodeperrack,"|\D+(\d+).*$|(1+(($1-1)/42))|","|\D+(\d+).*$|(($1-1)%42+1)|"
20nodeperrack,"|\D+(\d+).*$|(1+(($1-1)/20))|","|\D+(\d+).*$|((($1-1)%20+1)*2-1)|"
21nodeperrack,"|\D+(\d+).*$|(1+(($1-1)/21))|","|\D+(\d+).*$|((($1-1)%21+1)*2-1)|"
"idataplex","|\D+(\d+).*$|(1+(($1-1)/84))|","|\D+(\d+).*$|(sprintf(""%c"",(65+2*((($1-1)/42)%2))))-(($1-1)%42+1)|",,,,"This creates U descriptions in the form A-1 to A-42 and C-1 to C-42"
"idataplex","|\D+(\d+).*$|(1+(($1-1)/84))|","|\D+(\d+).*$|(sprintf(""%c"",(65+2*((($1-1)/42)%2))))(($1-1)%42+1)|",,,,"This creates U descriptions in the form A-1 to A-42 and C-1 to C-42"
1 #node rack u chassis slot room comments disable
6 42nodeperrack |\D+(\d+).*$|(1+(($1-1)/42))| |\D+(\d+).*$|(($1-1)%42+1)|
7 20nodeperrack |\D+(\d+).*$|(1+(($1-1)/20))| |\D+(\d+).*$|((($1-1)%20+1)*2-1)|
8 21nodeperrack |\D+(\d+).*$|(1+(($1-1)/21))| |\D+(\d+).*$|((($1-1)%21+1)*2-1)|
9 idataplex |\D+(\d+).*$|(1+(($1-1)/84))| |\D+(\d+).*$|(sprintf("%c",(65+2*((($1-1)/42)%2))))-(($1-1)%42+1)| |\D+(\d+).*$|(sprintf("%c",(65+2*((($1-1)/42)%2))))(($1-1)%42+1)| This creates U descriptions in the form A-1 to A-42 and C-1 to C-42