cxhong
fe33d7d98f
Log Number of Nodes for xCAT command to command.log ( #5729 )
...
* Log Number of Nodes for chdef/mkdef/rmdef/lsdef/nodels command to
command.log
* Create a new tag for reponse object
2018-10-29 17:12:20 +08:00
GONG Jie
e3bc094b77
Remove trailing spaces in file xCAT-server/lib/xcat/plugins/DBobjectdefs.pm
2017-12-31 23:59:59 +00:00
Yuan Bai
ccc69fc330
remind incorrect syntax in object name regular expression ( #5455 )
...
Remind incorrect syntax in object name regular expression
2018-08-02 11:22:43 +08:00
Yuan Bai
ee6314cb10
enhance lsdef Noderange format error ( #5442 )
...
* Enhancement for handling lsdef node-range format error
2018-07-27 17:00:36 +08:00
Casandra Qiu
66cbeeeee9
Use comma separate list
2018-05-21 09:21:50 -04:00
Casandra Qiu
c7af2c30c8
the error message of *def command is disordered when running internally
2018-05-16 14:43:25 -04:00
Yuan Bai
492b8fe5a9
unify chdef and mkdef some actions for node type ( #4968 )
...
* unify chdef and mkdef some actions for node type
* polished
* adjust format
2018-03-26 11:31:55 +08:00
Yuan Bai
a6a14d3bfe
group validation ( #4945 )
2018-03-15 14:13:13 +08:00
Yuan Bai
c0314a36b6
enhance invalid node name error msg ( #4931 )
2018-03-14 13:49:08 +08:00
chenglch
e86d544242
Add makegocons -C|--cleanup to remove entries that do not exist
...
`rmdef` command do not help clean up the recousrces that related to
the node when removing the node. this is a technical debt. This patch
is only a work around to add -C|--cleanup option to help remove the
entries in goconserver.
2018-03-01 16:13:12 +08:00
ertaozh
92d9740f14
1. add "makeconserver -d" to "rmdef -C", 2. add "makeconserver -C|--cleanup" to remove entries for removed nodes
2017-11-30 09:35:16 -05:00
bybai
7afbaaded1
enhance netname/net/mask duplicate or invalid
2017-08-11 02:42:12 -04:00
Mark Gurevich
83e0e51944
Merge pull request #3045 from zet809/fix_issue_2577
...
Fix issue 2577: chdef -m should return correct warning message when s…
2017-05-15 10:16:45 -04:00
chenglch
b5448dc6f8
Fix regular expression issue while listing group object
...
Group object should not be translate with the object name even if
the attribute contains regular expression.
Fix-issue: #3047
2017-05-15 09:57:12 +08:00
ertaozh
e07b607b44
Fix issue 2577: chdef -m should return correct warning message when some attributes is not permit to be changed.
2017-05-12 06:33:37 -04:00
Mark Gurevich
a5dda1a07e
Better processing mkdef if object already exists
2017-05-11 14:47:33 -04:00
Mark Gurevich
973d71517b
Make running nodeset offline optional for rmdef
2017-03-09 17:24:00 -05:00
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