Commit Graph

42 Commits

Author SHA1 Message Date
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
vallard
4a8403596c added tabch -d so that you can also delete records.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 04:03:46 +00:00
vallard
4068ba6e81 added support for tabch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-03 22:06:43 +00:00
wuzhy
e564e4a8d0 Add the support for sorting the output of the xCAT command which list nodes or VM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-29 08:23:22 +00:00
vallard
0d0cf639e1 added gennr for using nodels without database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-05 05:12:38 +00:00
mxi1
dac4be5735 the bug #2889373 is fixed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-30 11:36:23 +00:00
linggao
724ca82e49 prevent calling table.commit for the tables that has not been changed in nodech nodeadd and noderm command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4460 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-28 19:28:00 +00:00
jbjohnso
cedc11b537 -Fix for breaking ,= and ^= operators in nodech by restructuring the nodegrpch/nodech handling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4328 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-08 22:23:10 +00:00
jbjohnso
ee88b149f3 -Change nodech ,= to prepend rather than append the value, making group splice assignment tend to designate the new entry as more important/specific
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4268 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-30 18:32:54 +00:00
jbjohnso
6bc4a63848 -Implement a nodegrpch command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4262 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-29 20:41:13 +00:00
lissav
2685de1e1a comment out debug messages left in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-28 17:14:07 +00:00
jbjohnso
021f0e991a -Allow schema to specify a column to treat in the same special way that we treat 'node'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 18:27:07 +00:00
jbjohnso
4c8c4ff701 -Provide graceful error when tabrestore has an unrecognized column defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-16 15:38:40 +00:00
jbjohnso
23a52ec995 -Fix bug in recent feature implementation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 19:11:39 +00:00
jbjohnso
540bf7da21 -Allow a site entry to enable service pruning where noderm actively removes data from related services rather than just xCAT configuration itself
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 18:37:18 +00:00
bp-sawyers
c9151502b9 - improved gettab man page
- added usage support to tabgrep
- fixed 2 uninitialized var msgs in xcatd

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-26 19:41:30 +00:00
jbjohnso
f97cc4c345 -Fix nodeadd bug with no nodegroup table
-Fix makehosts command


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-19 17:49:51 +00:00
ligc
137f2978c0 add dynamic node group check in subroutine nodech
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-02 05:29:55 +00:00
jbjohnso
2c41215e6a -Fix nodeadd bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-15 16:45:48 +00:00
jbjohnso
be121bafb2 -Add xcoll abbreviation support by popular demand
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-14 18:27:43 +00:00
linggao
37db64b1e8 fix tabrestore to handle columns that are auto increment.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-04 01:53:34 +00:00
lissav
03a4bd8cd0 fix usage of getAllEntries, adding a flag for all and default only entries that are not disabled
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2604 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-14 19:46:13 +00:00
jbjohnso
b2debb322d -Fix problem with the noderes sample
-Provide sane error when a csv has unrecognized columns, TODO: option to drop unrecognized column on restore


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2598 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-14 14:41:38 +00:00
jbjohnso
05b4df7c71 -Add rvid for AMM (BPET46C tested)
-Have nodech implement explicit blank override of group level attributes


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-12-09 15:23:12 +00:00
lissav
b372e5a948 fix perl error from nodeadd and nodech with no parms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-31 13:38:57 +00:00
lissav
d16eaee9f5 nodels -h returns fatal error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2430 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-31 12:16:28 +00:00
jbjohnso
28a84cd465 -Implement criteria similar to nodles to restrict nodech
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 20:43:03 +00:00
jbjohnso
010436cd68 -Allow // around regexes in nodels criteria selection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 16:33:47 +00:00
jbjohnso
d0dc5dd96a -Implement table selection criteria for nodels.
table.column==value will only show nodes where table.column is exactly value
    table.column!=value will mask out nodes where table.column is exactly value
    table.column=~regex will only show nodes where the table.column value matches regex
    table.column!~regex will mask out nodes where the table.column value matches regex


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 16:31:56 +00:00
jbjohnso
400c655ae4 -Fix problem in 2.1 where noderm fails due to strict violation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1999 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-08 17:20:32 +00:00
jbjohnso
8c5083bcc6 -Fix problem where tabdump without arguments would not work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-31 18:19:11 +00:00
jbjohnso
fb49cbb60c -Fix perl warnings indicated potential issues, might have caused usage messages to be suppressed incorrectly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-18 22:36:32 +00:00
jbjohnso
9792aea585 -Change tabutils plugin to be compliant with strict
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-18 19:37:43 +00:00
jbjohnso
68671563d7 -Speed up nodels at scale
-Have nodels report multiple equally valid records for a node when encountered


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-18 19:25:15 +00:00
lissav
58ea144016 add call to Utils->Version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-07 18:29:55 +00:00
jbjohnso
e68fe9d2db -Move xCAT-server and client to not have 2.0 in name for trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 14:56:33 +00:00