2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

138 Commits

Author SHA1 Message Date
immarvin
e6b64be7ae support mkdef --template;support lsdef --template 2016-06-03 03:59:47 -04:00
chenglch
d3004ddae9 fix lsdef performance issue
Previously lsdef command access nodelist table for each
node with getNodeAttribs. This patch will use getNodesAttribs
to fetch the attributes for multiple nodes at one time.
2016-03-17 02:27:17 -04:00
bybai
2c535712d7 enhance DBobjectdefs.pm 2016-01-12 02:35:53 -05:00
bybai
f8178de0ed support configuring bond/vlan/bridge 2015-11-25 02:32:00 -05:00
Samveen Gulati
655a180ff7 [xCAT-server]Add check for existing target names for chdef -n 2015-09-21 14:21:33 +08:00
Samveen
338b22c301 [xCAT-server]: Fix messed up tab based indentation in DBobjectdefs.pm 2015-08-27 14:11:43 +00:00
Samveen
d8306c6316 [xCAT-server]: Make string assignmets consistent in DBobjectdefs.pm (missed in previous commit) 2015-08-27 14:07:11 +00:00
Samveen
d23ac40a5b [xCAT-server]: Make string assignmets consistent in DBobjectdefs.pm 2015-08-27 14:04:53 +00:00
Samveen
dd5dadd8ce [xCAT-server]: Remove an unnecessary string comparison from DBobjectdefs.pm 2015-08-27 13:57:01 +00:00
Samveen
2f88aff982 [xCAT-server]: Fix extraneous whitespace and bad indentation in DBobjectdefs.pm 2015-08-27 13:54:21 +00:00
Casandra Qiu
d048c404fc #4706 The global variables need to be undefine if not defined in GetOpts 2015-06-19 09:36:37 -04:00
ligc
0f2de76f02 fix for bug 4675: only allow alpha characters and numbers and dash in the new object name with chdef -n 2015-06-08 03:00:40 -04:00
ligc
dfb5132d84 fix for bug 4676: add more error checks when the groups is blank when running mkdef/chdef 2015-05-24 22:10:41 -04:00
ligc
4322c2b553 remove install|statelite|netboot from usage statements 2015-05-14 04:11:52 -04:00
linggao
729907f7eb Allow specifying mtu and connected_mode settings in configeth and configib per request from defect 3567 2014-12-04 09:32:59 -05:00
immarvin
3f59552d0c fix defect #4307 [FVT]:chdef newimage -u give out wrong arch in ubuntu; fix defect #4345 Utils->osver routine does not support Redhat7 or SLES12;fix defect #4308 [FVT]: osarch default value of user defined osimage is ppc64le. needs to change to ppc64el 2014-11-21 00:19:37 -08:00
Casandra Qiu
5cb4f7a8d9 bug #4081, remove syntax warnings 2014-10-08 13:51:48 -04:00
ligc
687b9b1dd5 fix for bug 4130: mkdef/chdef handle the nics* attributes for node group 2014-05-19 10:59:16 -05:00
zhaoertao
7112eaed3f fix bug 3934: mkdef/chdef -u needs better doc and 1 fix 2014-04-28 22:17:10 -07:00
lissav
0274937478 defect 4072 2014-04-16 12:34:09 -04:00
ligc
7f63cf564c fix for bug 3935: support nic name with space, like Local Area Network on windows 2014-03-14 17:49:49 -05:00
ligc
6f79aead61 fix for bug 3937: return 1 when lsdef <object> can not find the object 2014-03-14 17:02:47 -05:00
zhaoertao
8987ad4702 update manpage of mkdef/chdef for osimage 2014-02-13 00:56:48 -08:00
lissav
0fab0368ec defect 3541 2014-01-13 12:55:15 -05:00
e01827f9d3 first commit for prefix hostname feature 2014-01-09 21:02:53 +00:00
ligc
bfe3cdad05 fix for bug 3748: lsdef --osimage need to list all osimage attributes 2013-09-18 13:46:00 +08:00
ligc
94f876a1cc fix for bug 3574: the blank grptype means static nodegroup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16289 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 07:17:21 +00:00
ligc
e8edeca80c fix for bug 3476: set @::finalTypeList based on both CLI and FILEATTR
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-16 02:48:38 +00:00
zhaoertao
db6fc2c563 change \'-s\' to \'-u\' for mkdef|chdef command to have osimage find custom files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 07:03:24 +00:00
zhaoertao
0a89522d18 add -s for *def command to have osimage find custom files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 11:43:18 +00:00
ligc
83bed2cb04 chdef,mkdef enhancements to support nic attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 06:41:01 +00:00
ligc
bab48dbc50 lsdef enhancements to show nics attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15594 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-20 06:56:32 +00:00
lissav
9a7dba6d86 fix defect 3401
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 16:46:28 +00:00
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