Commit Graph

12 Commits

Author SHA1 Message Date
leiaibj
7b75b8b766 update hostname validate rule: only 0-9 a-z and - are valid characters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 09:17:27 +00:00
leiaibj
c74580a8a1 enhance node info parsing mechanism: add more checks before import
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 04:47:39 +00:00
leiaibj
0ba9832d0e validate profiles existing in database and also check hostnameformat while start node discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 07:59:17 +00:00
leiaibj
28257de1fd 1. update node's status while replace mac address. 2. set blades rack info while import/discover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 03:32:16 +00:00
creativezj
dd8fc76f6f NGP Power support enhance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 02:00:48 +00:00
leiaibj
c3e8949e81 Resolve following issues: 1. return multi errors if there are multi errors for a single node entry while importing. 2. validate the numric part and hosts number. 3. validate whether the specified IP address is in provisioning network while import nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 03:33:46 +00:00
leiaibj
d31778304b Get correct provmethod for profiled nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14413 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 08:33:05 +00:00
leiaibj
5ed353a3ae Resolve 2 issues: 1- restrict numric part length in hostname format; 2- resolve db not update timely after calling nodeaddunmgd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14358 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 08:56:16 +00:00
leiaibj
c8b1b3219c 1. support groups arg while import/discovering
2. import hostinfo file format should support windows txt file
3. If no dynamic range set, display an error message while start auto discover.
4. distinguish error codes for arguments validation and hostinfo file validation errors: 1 for arguments validation failure, 2 for hostinfo file parse.
5. support hostname format validation.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 08:59:14 +00:00
leiaibj
f7c81cbae2 1. when doing importing mac file action, tag details, tag errorMessage, tag failedNodesNum, tag successNodesNum and tag invalidRecordsNum should be just under tag xcatresponse. No data needed.
2. when doing importing mac file action, plugin should return more clear message like "mac file validation failed." in progress info.

3. when removing nodes, plugin should return error message if some of nodes failed to remove.

4. when doing auto detecting nodes, xcatresponse tag should have one status tag instead of nested ones.

5. enhance lock mechanism in Utils.pm

6. create new interface for querying whether profiled node discovery is running or not: nodediscoverstatus


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 09:37:09 +00:00
leiaibj
caa1483714 1. Add support for unmanagement nodes
2. Add support for replace node's Provisioning MAC address
3. Enable specify rack/chassis info while import nodes and do nodes discovery.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 07:11:26 +00:00
leiaibj
76d1580a3e changes:
1. Change file and plugin name: remove "PCM/pcm".
2. Implenment lock query sub
3. Use sinfo indicating processing progress


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 08:40:30 +00:00