Vinícius Ferrão
f71ddef6ba
fix(nodech): support multiple groups in the ^= operator
...
nodech's ^= operator removed only a single literal value, so
"nodech n1 groups^=a,b" tried to strip the combined string "a,b" and left the
individual groups in place. Split the value on commas and remove each piece.
Recovered from the unmerged lenovobuild branch (original 95c78b33 ).
Co-authored-by: Jarrod Johnson <10814490+jjohnson42@users.noreply.github.com >
2026-07-22 19:21:08 -03:00
Vinícius Ferrão
6e33661fc0
fix(nodech): handle comma-delimited values in the ,= operator
...
nodech's ,= operator appended the whole right-hand side as one value, so
"nodech n1 groups,=a,b" added the literal "a,b" and its duplicate check only
compared against that combined string. Split the value on commas and add each
piece individually, skipping any already present.
Recovered from the unmerged lenovobuild branch (original 086b0c0d ).
Co-authored-by: Jarrod Johnson <10814490+jjohnson42@users.noreply.github.com >
2026-07-22 19:20:49 -03:00
besawn
faa721ddce
Fixed error message typo in tabutils.pm
2022-05-11 14:14:29 -04:00
zet809
8f3c3f7677
Fix issue 5150: tabch and tabdump commands can not deal with invalid attribute names ( #5846 )
...
* Fix issue 5150: tabch and tabdump commands can not deal with invalid attribute names
* reuse buildWhereClause for key retriving
2018-11-30 08:19:42 +08:00
cxhong
fe33d7d98f
Log Number of Nodes for xCAT command to command.log ( #5729 )
...
* Log Number of Nodes for chdef/mkdef/rmdef/lsdef/nodels command to
command.log
* Create a new tag for reponse object
2018-10-29 17:12:20 +08:00
bxuxa
9c6ae3ed6e
Handle the wrong table name when using tabch ( #5151 )
...
- As a compatible, still using data to report the error message, but set exit code non-zero
2018-10-17 15:08:53 +08:00
Mark Gurevich
2361cda1f2
Man and usage updates for chtab and tabch commands
2018-05-08 13:34:17 -04:00
Jarrod Johnson
358ea0584f
Sort nodels attribute names
...
The ordering of attribute names out of nodels
is inconsistent. Use sort to provide consistent
output
2017-10-24 16:21:11 -04:00
Mark Gurevich
db9a71750e
Fix sytax errors reported by perltidy
2016-07-25 08:56:18 -04:00
Mark Gurevich
0a3fbd8d51
perltidy all perl files
2016-07-20 11:40:27 -04:00
mellor
afe37ebeab
initialize rc var in Table.pm and tabutils.pm to remove warnings when running xcatd in foreground
2014-11-19 17:34:04 -05:00
lissav
72d312347d
better examples for setAttribs XML interface
2014-04-23 09:06:25 -04:00
lissav
5694147a73
tabprune -a supports all tables
2014-03-21 14:45:56 -04:00
lissav
149f0fd277
fix defect 4028
2014-03-19 07:23:32 -04:00
lissav
4a04c8fb10
defect 3823
2013-10-10 09:09:37 -04:00
lissav
25c5e4686a
defect 3150, check for errors from DB. We can do itgit diff tabutils.pm
2013-09-19 13:06:08 -04:00
lissav
df24dc4db9
add support for -a (addrows) flag
2013-09-13 14:17:36 -04:00
lissav
f18d19a102
Change tabprune and tabdump to use MAXMIN routine
2013-08-06 11:55:54 -04:00
linggao
da34a50431
add support to tabdump -n <#records> for auditlog and eventlog
2013-08-01 11:48:39 -04:00
lissav
e921722aa2
test
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 15:26:03 +00:00
lissav
46af214a9e
add ALL option
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 15:12:03 +00:00
lissav
0680a2fab9
add XML getTablesAllRowAttribs routine
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13804 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 13:25:54 +00:00
lissav
56ab665d2a
change name
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 18:24:34 +00:00
lissav
e786262c56
add getTablesNodeAttribs XML support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 12:01:48 +00:00
lissav
25c4b4ec8f
checkin getTablesAllNodeAttribs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 13:45:34 +00:00
lissav
c1906b8e08
rename XML routine to setNodesAttribs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 11:33:45 +00:00
lissav
c7cf72f3a2
fix for defect 3546058
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 17:14:21 +00:00
lissav
48367b9fb6
fix getNodesAttribs multiple entry problem
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-28 19:37:01 +00:00
zhaoertao
40e144b4cc
for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
jbjohnso
b45ccfc13e
Fix problem where nodegrpch would fail to modify tables where 'nodecol' is not 'node'
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 16:34:42 +00:00
jbjohnso
805fb1510d
Fix problem where tabdump -f would fail to correct for relative paths. It really shouldn't be doing this server side at all....
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 18:16:29 +00:00
lissav
9cc7c080d3
fix tabch -h
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-25 10:39:49 +00:00
jjhua
e819e0c23e
For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:02:23 +00:00
lissav
36381d4170
Add NodeRange XML interface
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-20 18:12:21 +00:00
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