Commit Graph

79 Commits

Author SHA1 Message Date
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
yinle
01260508a4 change the way of get nodetype
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9733 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-03 03:31:17 +00:00
ligc
8f32293390 bug 3243565: fix for <xcatmaster> support for networks.gateway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-30 06:06:38 +00:00
ligc
cfb3c68892 change networks.gateway value <myself> to <xcatmaster>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-22 02:22:58 +00:00
ligc
ad652bc828 keyword <myself> as gateway in networks table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-24 03:15:01 +00:00
yinle
99f4de86e3 FSP/BPA redundancy: add process of the wrong condition, fix some mistakes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-19 09:55:34 +00:00
yinle
f8efba5118 FSP/BPA redundancy :add a function judge_node to judge if the data is defined in xCAT 2.5 or later
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-17 08:13:16 +00:00
yinle
5892e90145 FSP/BPA redundancy: add a function to getchildren
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-16 10:04:51 +00:00
yinle
288990c73d FSP/BPA redundancy: fix a mistake
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-06 08:11:27 +00:00
yinle
173252fa88 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8528 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-30 02:07:02 +00:00
yinle
b1e92f9885 FSP/BPA redundancy: add sub function to get the CECs located in a specified Frame.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8494 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-21 07:34:25 +00:00
yinle
afce441be1 add supporting of find node parent and find node type
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-16 02:33:22 +00:00
ligc
87fb0fdddc fix for bug 3136752: add internal flag --nocache to *def commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-15 01:47:06 +00:00
ligc
750a8bbf70 rmdef could not remove all the entries in the tables with multiple keys, such as ppcdirect
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7669 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-27 13:50:49 +00:00
ligc
cbac99ecd8 fix for bug 3065024: handle tables with multiple keys
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7422 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-13 05:22:04 +00:00
daniceexi
430511e226 The code drop for the changing object name by chdef command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-08 10:38:25 +00:00
ligc
367f2cd295 make the message better if any table can not be opened
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-31 02:41:48 +00:00
ligc
b6d64ce682 fix for bug 3039320: commit all the changes for one non-node object in one invocation, this is also a performance enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-30 06:25:34 +00:00
ligc
16ab21e6e3 fix for bug 3043788, use non-greedy regular expression, the value can contain "="
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 05:33:50 +00:00
ligc
75cdca63e6 fix for bug 3043788: the node attribut name may contain special characters such as .
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 08:08:58 +00:00
ligc
8c3b6117e2 fix for bug 2974910: check if the entry exists when running with chdef -m
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-13 08:42:05 +00:00
ligc
414e1bdbe9 fix for a problem reported on mailing list, the node name can not be used in the dynamic node group selection string
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6417 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-10 05:18:12 +00:00
daniceexi
3fce8957d7 defect 3013537: make the chdef -m keep the order of old value of attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-09 09:05:45 +00:00
ligc
1de6b0b66e fix for bug 2998069
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 09:08:50 +00:00
ligc
4915e69508 ipv6 subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 09:56:01 +00:00
ligc
dfb30a46a9 call NetworkUtils.pm subroutines instead of Utils.pm subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 02:44:50 +00:00
ligc
051eaae467 ipv6 support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 09:32:49 +00:00
daniceexi
24f8a1f5b4 defect 2945882: fix some warning issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-01 10:11:59 +00:00
daniceexi
c72ad7b844 defect: 2935237: use the static as the defualt value of grouptype
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-03 09:52:03 +00:00
daniceexi
0cb7ef99f2 getobjdefs: only the node type has the special case for performance enhance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-13 03:21:50 +00:00
daniceexi
68de42c84b def commands performance enhancement: 1. fix performance issue in the getobjdefs; 2. def commands only get necessary attribute by getobjdefs; 3. lsdef without flags only displays node name; 4. rmobjdefs does not check the only_if condition; 5. Make Table::delEntries function can handle multiple records for a table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-30 07:50:28 +00:00
daniceexi
62b94e5eb7 make def commands support the default postscripts for postbootscripts attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4828 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-18 08:40:54 +00:00
ligc
0ae8e75fa6 xcatdefaults can be treated as a node, special case for this
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-07 07:03:55 +00:00
ligc
590425a581 fix for bug 2887320: check postscripts whether in xcatdefaults before setting to the database.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4494 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-06 03:25:48 +00:00
linggao
b2b42e2844 removed unnecessay table.commit calls for def command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-28 20:03:35 +00:00
ligc
11e9fe107b fix for bug 2868914: chdef group allows creation of invalid node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-12 07:41:20 +00:00
ligc
4aba90d029 fix for bug 2871459: should not return error message when the table is empty
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4335 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-10 01:55:15 +00:00
wanghuaz
dcf192a350 fixed bug 2865553
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 08:30:11 +00:00
jbjohnso
fed8bbf89f -Fix syntax errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4216 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 18:42:25 +00:00
ligc
25037e7c4e bug 2864882:Replace getTable in DBobjUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4206 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 09:43:36 +00:00