Commit Graph

67 Commits

Author SHA1 Message Date
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
wanghuaz
9c556ff8ad Give error message if some attributes cannot be set into db with chdef command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 07:42:58 +00:00
wanghuaz
6533cc809b Give error message if some attributes cannot be set into db with chdef command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 07:40:24 +00:00
ligc
a185867673 *def commands support for multiple keys in xcat database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-09 09:07:28 +00:00
ligc
d07e4f6e5c selection string code updates based on review meeting comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3705 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-06 09:45:22 +00:00
ligc
ccba97c088 selection string change effects the *def commands -m and -p flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-30 11:28:26 +00:00
ligc
1b72ba40b7 *def commands selection string syntax change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-30 09:47:48 +00:00
ligc
1cc1a6ba9a dynamic node group performance improvement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-03 08:40:32 +00:00
ligc
7f28622333 change the / to | for dynamic node group regular expression
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-02 05:30:59 +00:00
ligc
4e92c89515 subroutine setobjdefs: chdef/mkdef performance improvement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3462 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-01 06:35:43 +00:00
ligc
c9f45e190d dynamic node group support: Noderange.pm->expandatom, DBobjectdefs.pm->defmk and defch, DBobjUtils.pm->getGroupMembers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3389 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-15 02:29:28 +00:00
ligc
d133bc2afb fix for bug 2790619 chdef add member to the group failed, a regular expression match issue in defch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3367 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-13 08:48:27 +00:00
nott
6a8412018b Improve chdef performance and handling of tables with multiple keys
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-07 13:58:00 +00:00