Bin Xu
869eabeec2
xCAT::DBobjUtils->gettbldesc does not parse params correctly and then cannot filter non used table and columns ( #6042 )
2019-02-27 10:57:45 +08:00
Bin Xu
28ba3a5cff
imporve the performance to list group object when lots of groups defined ( #5769 )
...
* imporve the performance to list group object when lots of groups defined (#5761 )
* - for list group attribute, using the similiar method as node object, but for group
not consider the inherit and regex translation (pass $options{keep_raw} = 1)
2018-11-13 14:06:10 +08:00
GONG Jie
06759062fb
Remove trailing spaces in file perl-xCAT/xCAT/DBobjUtils.pm
2017-12-31 23:59:59 +00:00
Yuan Bai
318198b1f5
chdef print warning when postscript is already included in the 'xcatdefaults' ( #5112 )
2018-04-23 17:51:53 +08:00
Aaron Knister
6230706c43
be more explicit about default stanza naming convention
2018-03-01 13:07:49 -05:00
bybai
ea58eaae63
enhance chdef invalid attr check
2017-11-03 04:33:42 -04:00
bybai
5dd725e2fc
enhance chdef pre-check attribute
2017-10-26 06:12:26 -04:00
ertaozh
17faabe04e
fix issue 3289: Changing site table attributes using chdef does not return the correct message
2017-06-21 03:57:51 -04:00
Mark Gurevich
83e0e51944
Merge pull request #3045 from zet809/fix_issue_2577
...
Fix issue 2577: chdef -m should return correct warning message when s…
2017-05-15 10:16:45 -04:00
chenglch
b5448dc6f8
Fix regular expression issue while listing group object
...
Group object should not be translate with the object name even if
the attribute contains regular expression.
Fix-issue: #3047
2017-05-15 09:57:12 +08:00
ertaozh
e07b607b44
Fix issue 2577: chdef -m should return correct warning message when some attributes is not permit to be changed.
2017-05-12 06:33:37 -04:00
chenglch
fd3e9f3d18
Ignore groups inheritance for ppcdirect table as the special desgin ( #2893 )
...
This patch aims to fix the error from automation testcase
`chdef_multiple_keys` due to the changes to support groups inheritance
for switches table.
As the strange design about access_tabentry, ppcdirect works like site
table and must not support groups.
Close-issue: #2450
2017-04-20 00:06:27 -05:00
chenglch
831a3b6e04
Make tables which contain nodecol column inheritable ( #2785 )
...
Actually, the subroutine getNodeAttribs already fetch the attributes
related to the groups, but the `defobj` related method ignore these
attributes as it is not node column although nodecol is set. This
patch treat nodecol column as node to make the attributes in these
table inheritable.
fix-issue: #2450
2017-04-18 01:46:45 -05:00
chenglch
98785fbddf
Make nics attribute inhertable
...
As the attribute value in the nics table can not match the regular
expresion format supported by the table library, this patch add the
logic in the def utils to handle the regular expresion.
close-issue: #2412
2017-02-09 14:25:53 +08: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
bybai
705a45b6d9
polish
2016-06-17 03:01:39 -04:00
bybai
4d5734558b
issue1308 lsdef and Rest API issues with regex on nicks
2016-06-16 03:47:51 -04:00
immarvin
04bd59443c
fix nicips.enP5p7s0f1 can not removed from node definition. #1276
2016-06-15 23:25:48 -04:00
Samveen Gulati
189c4cfc42
[perl-xCAT] DBobjUtils.pm Formatting - Consistent placing of {
2015-08-28 23:21:49 +00:00
Samveen Gulati
c52154d62a
[perl-xCAT] Fix indentation in DBobjUtils.pm
2015-08-28 22:40:37 +00:00
Samveen Gulati
8ea19fd193
[perl-xCAT] Remove extraneous space in DBobjUtils.pm
2015-08-28 22:16:17 +00:00
Samveen Gulati
572b0cfb96
[perl-xCAT] Fix tabs and indentation in DBobjUtils
2015-08-28 22:08:17 +00:00
ligc
7f63cf564c
fix for bug 3935: support nic name with space, like Local Area Network on windows
2014-03-14 17:49:49 -05:00
ligc
a3cad111de
fix for bug 3913: do not use autocommit=0 for table read
2013-11-19 15:50:15 +08:00
ligc
ca6318cf58
fix for bug 3833: if ip forwarding is not enabled, do not use the MN as gateway
2013-10-15 09:49:30 +08:00
ligc
97473a8b09
fix for bug 3671: use autocommit => 1 instead of autocommit => 0 when opening a table
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 08:18:36 +00:00
ligc
1dd791c776
fix for bug 3630: typo with opt_nc and opt_c
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 01:38:02 +00:00
ligc
6d4cc3f97d
fix for bug 3454: handle the object name like fd59::/64
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 08:20:15 +00:00
ligc
dfd91e4d4a
fix for bug 3476: remove empty nics definition from nics table
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15848 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-07 06:53:23 +00:00
zhaoertao
ce4e807a04
fix bug:3451 New xCAT Support for mkhwconn -s and sfp for Flex P blades with HMC
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 09:06:11 +00:00
ligc
83bed2cb04
chdef,mkdef enhancements to support nic attributes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 06:41:01 +00:00
ligc
bab48dbc50
lsdef enhancements to show nics attributes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15594 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-20 06:56:32 +00:00
ligc
426c34f342
fix for bug 3208: exclude eventlog and auditlog with lsdef -a, performance improvements for lsdef -t eventlog and lsdef -t auditlog
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 05:52:20 +00:00
ligc
d4ba1a7dd8
performance improvements for lsdef -l -t auditlog
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14531 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 02:42:37 +00:00
ligc
154603406a
use xCAT::ServiceNodeUtils->get_ServiceNode to determine the node's SN as gateway
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14515 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 03:04:04 +00:00
brianfinley
253a5dd478
- s/atrribute/attribute/
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13781 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 21:06:23 +00:00
jbjohnso
e519a1f925
Revise getnodetype function to not do N! log entries
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 18:53:05 +00:00
yinle
893cf3f594
Fix bug 3496026:Poor lsvm error msg when hwtype not set
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 02:15:58 +00:00
yinle
deccf212ee
minor fix
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 06:03:04 +00:00
yinle
5a0565c8cb
"getnodetype performance improvement": change getnodetype related code.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11540 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-10 07:47:45 +00:00
ligc
da3e4492ec
fix for bug 3458127: chdef performance improvements
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11305 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-27 06:12:19 +00:00
lissav
553141df61
Change call to getAllNodeAttribs to support reg expression in nodetype table
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-28 17:35:50 +00:00
lissav
1e9516a0c6
perf improvement getcecchildren
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-14 20:36:00 +00:00
lissav
48913f09c3
perf improvement getnodetype for array processing and documentation
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10999 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-14 19:34:06 +00:00
ligc
274b8dcf6d
remove an unecessary global variable
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10996 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-14 06:40:22 +00:00
lissav
e90723b563
performance improvement to getchildren
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-11 17:20:34 +00:00
yinle
8a164d7b5f
remove the warning message to avoid useless warning.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-05 08:39:51 +00:00
yinle
dcb7412c4c
fix bug 3346280: rcons can't work with the lpar node
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9997 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-02 01:35:50 +00:00
yinle
8785b5c332
modify the getnodetype subroutine, query nodetype table first, if it is set as ppc or zvm, query other table to get node type.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-27 08:48:59 +00:00