Commit Graph

62 Commits

Author SHA1 Message Date
daniceexi
55530c5ae0 change the warning message for nodeadd,mkdef,chdef add node name with capitcal letter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-30 04:13:18 +00:00
daniceexi
812e96221d defect 2976609: make lsdef equal to lsdef -t node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-26 11:45:16 +00:00
daniceexi
c0b9d01cb3 defect 2968792: add warning when the node name has capital for nodeadd, mkdef, chdef(only for new node)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-24 14:51:26 +00:00
ligc
6e46cfff6a fix for bug 2974299: check spaces in the noderange syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-23 03:25:57 +00:00
ligc
9891c81a1d fix for bug 2961729: do not check the object names if the object names are got from database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-19 08:43:24 +00:00
daniceexi
20834bc61f defect 2950595,2944713: display lsdef -t site obj with long format; add node for chdef when node does not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-01 10:11:13 +00:00
daniceexi
84f358a361 lsdef command: add -s flag, improve the performance of displaying the output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-07 14:19:57 +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
0d390087cf fix for bug 208749: the groups is a required attribute with mkdef to create node definitions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4697 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-01 03:30:18 +00:00
ligc
4c77f42d1b fix for bug 2894644: check empty noderange, if empty noderange, returns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4528 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 03:29:08 +00:00
ligc
9964dae9a9 fix for bug 2881601: should not assign nodes attributes to dynamic node group
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-06 06:50:51 +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
781c5f27d1 sort the output of lsdef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4350 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-12 08:26:35 +00:00
ligc
1795a0930f 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@4349 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-12 07:41:52 +00:00
ligc
6e5f39d215 fix for bug 2871938: add check for rmdef flags, check node attribute when create dynamic node group
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4337 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-10 07:05:40 +00:00
ligc
dc4d460bd3 fix for bug 2873042: set {}{objtype} before calling xCAT::DBobjUtils->setobjdefs if the group does not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4336 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-10 03:20:33 +00:00
ligc
9740b12008 fixed a typo in DBobjectdefs.pm. caused lsdef -t node -o can not support regular expression
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-13 09:36:04 +00:00
ligc
11a809fa7f fix for bug 2833494
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-07 04:34:10 +00:00
ligc
1450616157 fix for bug 2833494
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3964 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-07 04:26:25 +00:00
ligc
263bf07852 fix for bug 2833468
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3963 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-07 02:09:33 +00:00
ligc
2a06ddcd02 fix for bug 2821742
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3962 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-07 01:18:17 +00:00
ligc
4e18f2810d fix for bug 2832009, set default imagetype=NIM if not specified with chdef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-06 01:33:14 +00:00
daniceexi
45f64ba3d9 fix a minor message error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3876 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-24 03:40:40 +00:00
ligc
6bb41bd011 fix bug 2819359: chdef should check attr syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-21 19:36:14 +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
nott
9d5777e885 Do not list blank value.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-30 17:22:25 +00:00
ligc
ee66c687c9 update *def usage for the selection string syntax changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-30 10:56:13 +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
6e599eef52 bug 2806486: With dynimic node group, chdef will change 'members' attr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3618 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-23 05:51:28 +00:00
ligc
8bafc4bb2e bug 2810670: defrm foreach logic error fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-23 05:33:53 +00:00
ligc
7c6c9a1706 bug 2810670: defrm foreach logic error fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3616 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-23 05:22:57 +00:00
ligc
79478880c4 *def command support regular expression in noderange
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-15 09:29:56 +00:00
ligc
40d9cc966a regular expression noderange support with *def commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-11 07:26:29 +00:00
ligc
ca77e78e8f xCAT_plugin::DBobjectdefs::defrm: check whether the object is in the table before try to delete it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3545 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-10 06:31:37 +00:00
ligc
46f39f5b36 redirect some error messages to STDERR
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3537 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-09 08:30:49 +00:00
ligc
5bdfaa726b Undo the code changes made for 2727882
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-02 01:35:35 +00:00
ligc
2507582e5c bug 2727882 fix: if group is not specified, use the blank as the default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-01 08:01:13 +00:00
nott
0a65c9fb49 Fix network definition error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-15 13:00:18 +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
a0e4e2499b bug 2791570 Node will not be created without 'group' attribute via mkdef. Specifying groups to be empty if not specified with mkdef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-14 09:35:08 +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
343e1a8040 Fix grep to avoid bogus error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3243 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-22 17:29:11 +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
b7905e9481 Update site table descriptions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-22 17:27:17 +00:00
nott
260d232153 Add site attribute descriptions to lsdef output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-20 18:46:11 +00:00
nott
5803c67a8f Make lsdef display zero values
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2944 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-19 18:12:11 +00:00
nott
5f60447279 Add check to make sure the objtype value is provided.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2669 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-29 18:42:59 +00:00
nott
932bd2d405 Fix bogus error message from rmdef.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-12-11 17:58:37 +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