Commit Graph

85 Commits

Author SHA1 Message Date
lissav
5535a5de5f add setAttribs XML routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 17:34:18 +00:00
lissav
b5a0cd34f9 getNodesAttribs XML ALL attributes support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 16:25:49 +00:00
lissav
f81a83bef4 add getAttribs XML support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 19:28:17 +00:00
lissav
7c314e731f Add delEntries XML support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 11:44:38 +00:00
lissav
245dd3a189 fix setNodesAttribs1 in non-bypass mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 19:36:48 +00:00
lissav
75ff38db92 Add setNodesAttribs1 (format 1) for setNodesAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 15:19:21 +00:00
lissav
a2eff1840f put XML table routines in tabutils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 12:32:58 +00:00
lissav
e16dc4a470 fix defect 3474497
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-22 18:57:50 +00:00
lissav
2ecf1cd9f0 change globals in tabch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12292 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-22 10:17:43 +00:00
lissav
bf841a2946 fix tabch -h
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 14:59:07 +00:00
lissav
58dd01e0dc lsxcatd -t added to show whether we are a Management or Service Node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-02 13:45:51 +00:00
lissav
b53624684c add tabprune # days, needs more testing and man page and doc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10522 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-14 11:06:02 +00:00
lissav
c50e2522dd enable tabch plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-07 15:20:00 +00:00
yinle
b06fdb8519 Add check for avoiding warning messages.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-20 13:40:59 +00:00
lissav
5b26f94f27 fix defect 3313824, add version to lscatd -a
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 12:57:50 +00:00
lissav
d790beb7bd Do not allow tabdump/tabrestore of TEAL tables defect 3267008
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-12 12:44:10 +00:00
yinle
47c73a3ca5 Avoid warning message when removing a node without finding its children.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9573 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-12 03:00:44 +00:00
lissav
098db00aa5 add support for filename on tabdump
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9568 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-11 17:49:18 +00:00
lissav
ce5dff7e68 tabprune support for ISNM tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9418 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-27 16:04:37 +00:00
lissav
19bbcae850 add dbloc to output of lsxcatd -d for DB2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9316 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-14 16:53:58 +00:00
lissav
3e18056c47 fix null entry bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-30 14:35:11 +00:00
lissav
0b68e93d5f support for tabdump -w, needs more testing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9179 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-29 19:29:17 +00:00
yinle
4ec4e586c5 Fix bug 3219114: If delete CEC/Frmae, FSP/BPA should also be deleted from tab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-25 09:42:56 +00:00
yinle
25a778e399 Fix bug 3212767: "lsdef -l"& nodels shouldn't display hidden info.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-20 06:56:10 +00:00
yinle
c5841edbc4 Remove tab characters.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-20 06:53:44 +00:00
ligc
08cac583ba fix for bug 3215604: lsxcat --all does not work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-17 07:16:24 +00:00
lissav
f7f6adee7d remove support for TEAL tables in tabprune. They are supplying there on table delete commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-04 18:24:24 +00:00
lissav
56328880b2 add support to tabprune for all the TEAL tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-22 17:12:56 +00:00
yinle
69ccde934d FSP/BPA redundancy: minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-18 15:14:54 +00:00
yinle
00b7d766d7 FSP/BPA redundancy: add -S flag to nodels to hide the FSP/BPA nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-18 14:18:55 +00:00
lissav
3e425c1063 support for lsxcatd command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7941 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-27 15:27:04 +00:00
lissav
619bd26748 check at least one flag supplied
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5997 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 18:53:17 +00:00
lissav
9f6f525dc9 tabprune with table output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-09 14:00:43 +00:00
lissav
cbf519cce3 make routine of output table code for tabdump and tabprune to share
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-08 12:06:11 +00:00
lissav
77e97cc1ed add verbose mode ( output change to tabprune... -a
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5704 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-07 17:51:37 +00:00
lissav
72ed095ccb add tabprune -p support for percentage to delete
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-07 14:42:03 +00:00
lissav
459025746e add tabprune -n support, take into account the table is not necessarily ordered and find the smallest and largest recid and use that to calculate recid to use to input to the tabprune -i process, which is the safest way to delete
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-07 12:41:52 +00:00
lissav
adfd551781 change get table handle not to create, problems in DB2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5686 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-06 14:52:10 +00:00
lissav
f473040ca5 add support for DB2 in Where clause
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5684 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-06 13:34:11 +00:00
lissav
48ce35ed07 add tabprune <table> -i function, prune on an recid
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-05 19:44:12 +00:00
lissav
258c3611e0 tabprune table -a function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5633 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-31 18:01:59 +00:00
lissav
d051f10988 more tabprune interface checking
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-31 14:35:49 +00:00
lissav
d5a488523a checkin some basic start for tabprune
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-31 14:07:19 +00:00
daniceexi
55530c5ae0 change the warning message for nodeadd,mkdef,chdef add node name with capitcal letter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-30 04:13:18 +00:00
daniceexi
c0b9d01cb3 defect 2968792: add warning when the node name has capital for nodeadd, mkdef, chdef(only for new node)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-24 14:51:26 +00:00
jbjohnso
f3daa4d8e0 -Provide a means for nodels to display group inheritence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-05 22:28:36 +00:00
lissav
21ae7993c7 Changed the parsing in tabedit to allow newlines in the column fields within double quotes
Tested with:
#node,rack,u,chassis,slot,room,comments,disable
"
rr
a004a",,"42",,,,"te
st",
"rra
004b",,,,,,"test2",
"rra004c",,,,,,"test3",
"bca01","1","2",,,,,"ssdf
sdfsd
sdfs
sdf
d
dfdf""
sdf
"




git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-19 16:06:06 +00:00
wuzhy
4e5d693305 fix the output sorting about "nodels lpar"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-08 04:30:01 +00:00
wuzhy
5e5b262047 fix the output sorting about "nodels lpar"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-08 04:17:59 +00:00
vallard
1c38bfa4e4 update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 06:03:24 +00:00