immarvin
ef8b638460
add a subroutine filter_nostatusupdate to support updating provision status thru feedback instead of rpower/rnetboot
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 04:11:30 +00:00
lissav
22468165b6
add req->{status} to runxcmd for defect 3641
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-23 10:50:24 +00:00
daniceexi
b6a22759e0
change filter_nodes subroutine that (renergy relhistogram) goto ipmi.pm and (rspconfig network|textid) goto blade.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16200 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 04:34:46 +00:00
jbjohnso
d3f9b881f5
Have rspconfig textid work for x86 ngp blades
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-06 14:50:11 +00:00
yinle
c16a9a31d7
support rspconfig system-x-node network=*
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15693 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 08:04:37 +00:00
wanghuaz
47bcc75d71
enhanced function Utils->osver() to accept paramerters to output different data. If no parameter, the output will be same as before.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-27 10:19:30 +00:00
lissav
123abffe4f
fix for defect 3436
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 17:59:15 +00:00
daniceexi
b964b3f563
code drop for flex energy management support through cmm snmp interface
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 10:50:18 +00:00
xq2005
e50efd16db
osver support on debian
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14774 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 07:52:16 +00:00
lissav
42e7811d54
Fix runxcmd, if refoutput=2 ( noparsing of the returned data, will not display output
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-10 12:06:39 +00:00
lissav
d608be3d11
fix processing when MN in database and has multiple groups defined
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 14:48:21 +00:00
lissav
c8db25f98d
change comment
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 19:23:59 +00:00
lissav
0a554136b9
checkin enhanced support for runxcmd
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 18:54:37 +00:00
lissav
22eec83752
This adds an interface to runxcmd to return the response structure, still needs test though
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 19:21:28 +00:00
lissav
40a74f4310
check if MN defined
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 11:10:12 +00:00
bp-sawyers
dd11950993
chomped newlines from runcmd streaming output and updated site.runbootscripts description
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 15:37:47 +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
bp-sawyers
a18348883d
Eliminated hard requires for SOAP::Lite and JSON
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-22 16:20:24 +00:00
lissav
d913682fe2
base check for MN on __mgmtnode group name
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 18:59:47 +00:00
zhaoertao
a732cb476d
fix bug 3556007: modifications related to Utils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 04:21:28 +00:00
zhaoertao
64519483ae
list out all the functions that has been moved out of Utils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 07:03:02 +00:00
lissav
41b34ff9cb
add check if nodetype defined
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 16:14:44 +00:00
zhaoertao
571f3e3962
for item: clean up Utils.pm, the code in perl-xCAT/xCAT
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:48:50 +00:00
nott
ac30816620
fix perl INC path
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:27:50 +00:00
lissav
84ab9da2cf
add check to see if the Management Node is contained in the defined noderange array input
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 14:55:24 +00:00
jbjohnso
55819f9bab
Refine FSM packaging, make SHA1 optional
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 14:17:07 +00:00
jbjohnso
cb482e73f8
Further refinement of FSM build
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 18:43:11 +00:00
jjhua
2a89911f9e
use xCAT::Utils->get_site_attribute() instead of opening the site to read the attr
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 07:53:50 +00:00
jjhua
5550022ab1
in the get_site_attribute() subroutine, try %::XCATSITEVALS first, if the attribute is not popluated in %::XCATSITEVALS, then open site table to read the attribute
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 08:39:01 +00:00
jbjohnso
c82eea4b25
When doing getAllNodeAttribs, institute a noderange result cache to avoid many noderange() calls
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 19:33:27 +00:00
jbjohnso
14c2613546
Shave off an unneeded database call
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:54:31 +00:00
jjhua
dfaf88f244
remove getIPaddress() from Utils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:28:24 +00:00
lissav
b10b8057a6
get rid of warning for perl -c
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-22 10:25:50 +00:00
lissav
d6b8daaf33
Start of fix for SF3519602
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 18:50:42 +00:00
lissav
bf313c1b3f
revert code back to 11757
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 15:18:04 +00:00
jjhua
22e99e551b
performance improvement. collect the CEC/Frames' Children in preprocess_nodes() of PPC.pm, instead of getIPaddress() in Utils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 10:30:09 +00:00
zhaoertao
ab867292a3
for NGP, fix some bugs found by UT
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 06:38:47 +00:00
linggao
2dd8e712c7
added support for Nagios monitorin
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-10 20:19:54 +00:00
zhaoertao
cc452b7485
Adding support of NGP FSPs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11383 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-16 06:40:55 +00:00
zhaoertao
0749556a7d
service vlan redundancy related updates
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-15 07:28:02 +00:00
lissav
1eb9f9b547
fix 2:EOF error return
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-17 17:10:20 +00:00
lissav
a0ab156078
fix performance issue with getNodeIPaddress, the problem is in DBobjUtils->getchildren, but this routine never should have called DBobjUtils->getchildren.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-04 17:55:35 +00:00
lissav
57daa01fe9
add comment
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-19 10:24:34 +00:00
jjhua
aca5df65e5
remove the from the get_ServiceNode() which was added by me
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10834 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-19 05:27:07 +00:00
lissav
158b578de9
change require RemoteShell
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-18 12:32:51 +00:00
jjhua
7121c53aa7
fixed the uninitialized error in get_ServiceNode()
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-18 03:19:19 +00:00
lissav
9a45a3dede
fix reference to remoteshell.expect
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-17 13:19:25 +00:00
lissav
71355722fe
change remoteshell.expect to using perl.expect
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-17 13:09:20 +00:00
jjhua
79079511d6
in DFM hierarchical cluster, mkhwconn/lshwconn/rmhwconn with -T fnm will send the command to CEC/Frame direclty, not through the service node if specified.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-14 05:43:26 +00:00
ericagar
cede69d8d7
Fix for defect 3419745: Fix Method to Determine if System is Ubuntu
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-06 17:45:08 +00:00