xcat-core/xCAT/templates/e1350/nodepos.csv

9 lines
550 B
Plaintext
Raw Normal View History

#node,rack,u,chassis,slot,room,comments,disable
84nodeperrack,"|\D+(\d+)|(1+(($1-1)/84))|","|\D+(\d+)|(($1-1)%84+1)|"
56nodeperrack,"|\D+(\d+)|(1+(($1-1)/56))|","|\D+(\d+)|(($1-1)%56+1)|"
40nodeperrack,"|\D+(\d+)|(1+(($1-1)/40))|","|\D+(\d+)|(($1-1)%40+1)|"
41nodeperrack,"|\D+(\d+)|(1+(($1-1)/41))|","|\D+(\d+)|(($1-1)%41+1)|"
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)|"