Commit Graph

49 Commits

Author SHA1 Message Date
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
nott
2c8137a5c3 Minor change to lsdef output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 14:06:03 +00:00
nott
11ca1c125e Extended verbose output should only be for lsdef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2958 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-22 19:15:19 +00:00
nott
c009862027 Modify lsdef verbose output format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2955 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-22 16:12:03 +00:00
nott
524405e55b Add table name and key values to verbose output of lsdef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-20 19:38:06 +00:00
nott
0d3911cfaa Reduce the number of table lookups done by getobjdefs to improve lsdef performance.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-12-17 14:48:53 +00:00
nott
afde43bf13 Make sure rmdef removes entries from each table even if the key is the only thing set.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2548 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-12-15 16:53:35 +00:00
nott
cd6b419037 fix chdef -m option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-18 18:07:46 +00:00
nott
ce6d08f615 Undo previous change for perf enhancement - does not handle all situations.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-10 20:48:46 +00:00
nott
2c16741262 Make performance enhancements for lsdef cmd.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-08 18:55:13 +00:00
nott
1e1bc9ab11 Remove bogus error message when running lsdef -a
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-31 12:47:21 +00:00
nott
04715a869f Fix lsdef so it displays password and username attrs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-30 12:55:41 +00:00
nott
6b83f0d1fb Fix bug reading stanza file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-22 14:13:28 +00:00
nott
739ca852f7 fix lsdef group output to give regex - and not exanded value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-01 16:44:58 +00:00
nott
4fd9a21a84 Misc code cleanup.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-09 18:03:41 +00:00
nott
c8d28e0986 Add support for monitoring-monsetting table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-24 14:50:21 +00:00
nott
f436cf68f3 Add mkdef error msg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1607 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-07 16:30:09 +00:00
jbjohnso
77d55609c0 -Move perl-xCAT to not have version in trunk name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 15:00:37 +00:00