Commit Graph

241 Commits

Author SHA1 Message Date
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
jbjohnso
ae8990d359 Suppress a little noise in debug when using IPv6 networks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-04 15:57:15 +00:00
lissav
40084edcaa fix getHomeDir so it can find the home directory even if the id is not in /etc/passwd (for example in LDAP)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10692 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-03 19:03:03 +00:00
lissav
fbeac6be1a fix for xdsh -K for non-root userid in LDAP defect 3414742
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-29 18:51:11 +00:00
lissav
89919c7272 fix defect 3415106 remove nimprime check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-29 13:32:05 +00:00
lissav
be3c5a0d84 fix streaming mode output format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-28 12:08:15 +00:00
lissav
ba0fc0f95e changing setting of nimprime to support Linux/AIX mixed clusters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-28 11:32:42 +00:00
lissav
9627e68cf3 changing setting of nimprime to support Linux/AIX mixed clusters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-28 11:31:53 +00:00
lissav
c0723e42da fix perl syntax error with mixed clusters, see defect 3413295
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-23 12:47:24 +00:00
mellor
72407f52f6 refix defect 3377019: someone overwrote my change to Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10436 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-02 15:34:27 +00:00
lissav
cce45fb66f missing lib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10366 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-25 13:06:55 +00:00
lissav
a9af8d12cb improvements to runcmd streaming
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-25 12:52:19 +00:00
lissav
1f2be1b3b9 merge runcmd_S into runcmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10358 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-24 18:05:11 +00:00
lissav
39c6fee693 add isSELINUX routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10335 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-22 11:50:44 +00:00
otubo
3fc059acb4 Fix for bug #3391658, by Renan Guerra <renan.nannetti@gmail.com>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-15 00:30:40 +00:00
lissav
cd5a92dc4d add streaming to genimage defeict 3374073
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-28 17:01:37 +00:00
mellor
6db4432ce3 defect 3377019 - setAppStatus - do not set appstatus if node is blank
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10179 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-28 00:04:31 +00:00
yinle
1d6f346366 add check in getNodeIPaddress, return 0 if the input node is undef.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-27 08:52:56 +00:00
jbjohnso
65aa1d842d Correct mistake in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-23 12:54:41 +00:00
jbjohnso
6856e705db Use XCATSITEVALS instead of slower table lookup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 17:29:43 +00:00
yinle
da9770c8f7 change the way of getting node type
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-07 09:52:45 +00:00
lissav
ab14c86bb4 move version routine from Utils.pm to Version.pm so I will not mess up again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9406 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-26 16:57:13 +00:00
lissav
c63e15eb18 remove invalid comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-20 19:31:39 +00:00
lissav
fe13d08474 fix defect 3289850
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-20 19:20:53 +00:00
lissav
8ddf863e48 Comment out use/require Data:Dumper
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-11 13:49:13 +00:00
jjhua
1ee230494f fix the defect that it failed to get the IP address of the BPA or FSP nodename defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-02 07:29:50 +00:00
lissav
9d62d08147 move the require for Table.pm into only the routines that actually use it this is to save reevaluation of schemas on calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-01 14:02:44 +00:00
ellen56
8a17b167d6 change eventtime format from mm-dd-yyyy to yyyy-mm-dd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-27 12:18:38 +00:00