Commit Graph

105 Commits

Author SHA1 Message Date
ligc
38fcd2f3a8 fix for bug 3051: search /install/custom and /opt/xcat for lsdef --osimage against nodes with provmethod=install/netboot/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-29 08:33:14 +00:00
ligc
1521e5834b fix for bug 3050: -t and -a could not be used together
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 05:50:35 +00:00
ligc
ad3b48cae4 fix for bug 3221: check if the attributes specified with -i are valid attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 13:30:55 +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
xq2005
696ba151a5 defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:08:47 +00:00
ligc
80d7105e4b fix for bug 3530169: display a warning message when can not find group member
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 07:05:01 +00:00
ligc
2c8c856097 fix for bug 3522897: not allow chdef -t <object_type> xx=yy to change all objects
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 02:53:42 +00:00
ligc
820beb4ffa fix for bug 3496309: print warning message if could not find osimage information for nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 07:57:24 +00:00
ligc
0456b6ef6c fix for bug 3422448: lsdef -t <type> -h -i attrs_list support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 08:03:15 +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
ligc
4e60d179cf fix for bug 3458183: mkdef performance improvement, do not grep array, do not access nodegroup table in foreach node loop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-20 12:10:55 +00:00
ligc
84baedcc78 add node number information for mkdef,chdef,rmdef output message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10719 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-09 01:39:37 +00:00
ligc
cb9f712d6e fix for bug 3388874: mkdef handle existing objects
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-30 07:55:06 +00:00
ligc
1ce7d0080f fix for bug 3286305: print warning message when no boject is provided
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 00:50:26 +00:00
ligc
da15d75ae4 fix for bug 3299844: add -t node as default value for lsdef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 00:41:05 +00:00
ligc
e56933c733 lsdef --osimage to list osimage information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-07 06:51:28 +00:00
ligc
746792eed9 fix for flag conflict between --nocache and --compress
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-26 08:36:06 +00:00
ligc
0105f20655 fix for bug 3219819: do not add hosts into /etc/hosts if the ip field is not an ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-18 06:19:48 +00:00
yinle
0a7d9ced55 Fix the mistake that the -l flag can't work with -S flag.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-20 06:51:35 +00:00
ligc
0a0427657c fix for bug 3284076: lsdef -S check nodelist table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-12 06:32:58 +00:00
yinle
412decbd9e Fix bug 3219114:If delete CEC/Frmae, FSP/BPA should also be deleted from tab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-24 10:41:58 +00:00
yinle
bc7c729722 Remove tab characters. Fix bug 3212767: "lsdef -l"& nodels shouldn't display hidden info.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-20 05:56:47 +00:00
nott
4b121c149f fix return codes for *def cmds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-18 14:58:45 +00:00
ligc
9dfcfa4291 fix for bug 3182341: site name check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-02 08:37:08 +00:00
ligc
62d388406a fix for bug 3196468: initialize global variables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-02 06:36:24 +00:00
ligc
f9dde75c19 fix for bug 3153314: check flags
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8958 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-02 06:04:15 +00:00
yinle
86fded6cad FSP/BPA redundancy: modify the process of flag -S with lsdef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-20 13:25:32 +00:00
yinle
6930f17ceb fix defect: 3157028 lsdef -a could not list other objects except node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-15 07:30:37 +00:00
yinle
fa4801ba2f FSP/BPA redundancy: modify the hidden attribute according to the design
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8638 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-13 03:22:42 +00:00
yinle
cb07d67b4d minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8603 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-11 11:48:26 +00:00
yinle
8ab1e35be0 fsp/bpa redundancy: change lsdef -H flag to -S to match the flag used by nodels.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-10 09:26:46 +00:00
yinle
23fbaf4dd3 fsp/bpa redundancy: add -H flag to lsdef for avoiding to list of fsp/bpa nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-10 09:12:35 +00:00
ligc
43016e2f4f fix for bug 3131333: rmdef should not delete all objects if no objects were provided through command line
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-27 08:17:12 +00:00
ligc
3ec8cc018c remove the unnecessary blank line before each object name in lsdef output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-19 13:37:20 +00:00
bp-sawyers
157a81f6de Support hostnames like f1c1p1 and a new flag to delete all the nodes xcatsetup has created.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-17 19:14:32 +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
25dbd9a2df fix for bug 3105433: postscripts table with -V
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-03 09:16:46 +00:00
ligc
8686e4c4a5 fix the rmdef,chdef,mkdef return code problem, found by automation bucket
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-14 13:03:54 +00:00
daniceexi
303d79fbe3 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@7375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-08 10:38:12 +00:00
ligc
0118e0ff31 fix for bug 2984196, check for site name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 09:43:30 +00:00
ligc
ba9ec8ca75 fix for bug 3007510
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-28 09:50:15 +00:00
ligc
233a46c2e7 remove the message Setting the name of the site definition to 'clustersite'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 13:57:56 +00:00
ligc
e64801d534 the object names are not checked if the -o flag is specified
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-15 08:49:20 +00:00
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