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

153 Commits

Author SHA1 Message Date
chenglch
98785fbddf Make nics attribute inhertable
As the attribute value in the nics table can not match the regular
expresion format supported by the table library, this patch add the
logic in the def utils to handle the regular expresion.

close-issue: #2412
2017-02-09 14:25:53 +08:00
immarvin
b0791921bb fix issue "xCAT Object Name Format" error when trying to name osimages starting with "rhels7.3" #2157 2016-11-16 03:22:48 -05:00
immarvin
ee67c68086 fix [FVT]mkdef with osimage returns object name invalid #2131 2016-11-10 00:48:28 -05:00
immarvin
07df7fb890 fix issue xcat object naming is too restrictive after sourceforge issue 4675 fix #2100 2016-11-08 23:58:08 -05:00
Yuan Bai
49709e3f4d fix 1660 incorrect warning message when define an osimage (#1778)
* fix 1660 incorrect warning message when define an osimage

* polished

* polished
2016-09-11 18:00:21 +08:00
Mark Gurevich
560d01ab84 Cleanup boot configuration files when processing rmdef 2016-08-04 08:28:13 -04:00
Mark Gurevich
db9a71750e Fix sytax errors reported by perltidy 2016-07-25 08:56:18 -04:00
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
immarvin
44506cbfe0 fix issue [FVT]Please update the 'chdef template' return message #1440 2016-06-30 22:52:06 -04:00
Xiaopeng Wang
838d764b91 Merge pull request #1370 from immarvin/onmkdeftemplate
fix issue  [FVT]lsdef/mkdef commands <Error: Unsupported request error> on rh6.8 ppc64 #1369 @github
2016-06-23 15:07:08 +08:00
immarvin
e7f3446bd4 fix issue [FVT]lsdef/mkdef commands <Error: Unsupported request error> on rh6.8 ppc64 #1369 @github 2016-06-23 02:09:24 -04:00
Victor Hu
4750bd7e15 Merge pull request #1345 from gurevichmark/rmdef_count
Correct the count of removed objects
2016-06-22 16:57:23 -04:00
Mark Gurevich
52798de7c4 Simplify solution and handle verbose option 2016-06-21 14:57:32 -04:00
Mark Gurevich
17d6cd35d0 Correct the count of removed objects 2016-06-20 15:31:39 -04:00
immarvin
f7700925dc support mkdef/lsdef --template 2016-06-20 02:44:40 -04:00
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