Commit Graph

153 Commits

Author SHA1 Message Date
jjhua 151296661c use the getIPaddress() in FSPUtils instead of Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 12:54:26 +00:00
jbjohnso e43ba22d99 Correct mistake in clicmds change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12569 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 16:28:57 +00:00
jbjohnso 6484d0b141 Revert "add use xCAT::FSPUtils;"
This reverts commit e49deecc8cfbba534ba7cf713b79709f63efaead.

This change broke SSH automation

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 16:15:47 +00:00
zhaoertao eebe399699 fix bug 3519426: FB:rspconfig network=ip,host,gateway,netmask can't work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 07:07:03 +00:00
daniceexi 8cf075b62d fixed the case that import sshkey failed,but no error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 02:25:19 +00:00
daniceexi 13db6d7692 Change the keyword to identify the flex power node. handle the failure case that setting network without output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 08:03:26 +00:00
jjhua a82e83dcc6 add use xCAT::FSPUtils;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 04:49:07 +00:00
jbjohnso 67505c4c3b Table.pm would die unceremoniously when faced with undefined argument, tolerate it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 18:31:02 +00:00
zhaoertao 24ac5b5ecf delete username HMC from usage page of rspconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-13 03:10:34 +00:00
jbjohnso 6cd35e6f9c Instead of pestering user, when CMM is detected auto-switch behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 19:28:14 +00:00
jbjohnso 36d3b43194 Fix ssh to wait for system> prompt before trying to type. Also, defer MM reset until all 'clicmds' are processed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 19:13:12 +00:00
jbjohnso 35fab70399 Add missing use statement to support the ip lookup checked in previously
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 18:55:35 +00:00
jbjohnso 9271d58115 Have blade.pm support filling in based on name lookup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 18:54:19 +00:00
jbjohnso 7e3c1b8b90 Add more neutral syntax for rspconfig account management of AMM, not everyone wants 'USERID'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 18:26:23 +00:00
jbjohnso 0e30e06d04 Change clicmds argument passing to be more flexible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 15:26:52 +00:00
jbjohnso 8a3b5596af Flesh out the blade clicmds ssh support a bit more and accomodate CMM default password behavior/requirements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 15:13:54 +00:00
jbjohnso 905caa2b18 Enhance blade.pm in preparation for deeper CMM support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12096 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 19:27:34 +00:00
jbjohnso 2638fd549b Step 1 of blade.pm ssh-ification... rename telnetcmds to clicmds... cosmetic change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 20:26:16 +00:00
jbjohnso db4d440467 Have SvrUtils allow 'export' of sendmsg for brevity in calling code if calling code so desires it.
Get ready to have blade.pm do ssh out of the gate on at least CMMs
Get ready for SLP based 'node' discovery, including MM initial setup

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 21:06:04 +00:00
zhaoertao 19bc3d77c4 delete the using and implementation of getNodeSpecAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 11:21:58 +00:00
zhaoertao 36fc7fca02 for bug 3510200: only don't user HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 09:35:08 +00:00
zhaoertao 20606e36d5 fix bug 3510200: can use username other than USERID
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11956 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 08:44:03 +00:00
zhaoertao e7cf5580d0 modify password for USERID failed, need update password for SNMPv3.1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:20:30 +00:00
daniceexi 190927b42c update the output format of rscan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 11:36:25 +00:00
zhaoertao badef3d17d not check the installnic or primarynic param in getmacs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-09 09:08:13 +00:00
zhaoertao 2a9414124f fix bugs about rspconfig cmm USERID=<new_passwd>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-09 01:57:25 +00:00
zhaoertao 36e927228d enhancement of 'rspconfig cmm HMC=<passwd>' that update the password to all the FB blades managed by CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-08 06:12:27 +00:00
jbjohnso 594c3df011 Fix problem where single-wide blades 'after' double-wide blades are reported incorrectly in various commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-07 15:16:58 +00:00
zhaoertao 8759c66130 support blade cycle: rpower blade cycle
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-07 05:41:13 +00:00
jbjohnso 6dab868b55 Fix rspconfig for blade community string
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 20:41:33 +00:00
jbjohnso 5ee88c2603 Make program flow a bit more sane when debugging, don't modify data in the request structure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 19:59:54 +00:00
jbjohnso 38c71e86bc Have blade.pm check both representations of uuid to search for a match....
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 15:55:40 +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
zhaoertao d6d8739cdf For NGP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 10:25:08 +00:00
daniceexi 5ef9fb08e8 output message for unhandled nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 03:48:42 +00:00
daniceexi 122e46682f remove the fsp obj for NGP blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 03:29:45 +00:00
jbjohnso ae5b37598d Have blade.pm also be able to match discovering nodes by UUID
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-03 01:46:19 +00:00
daniceexi 4a1e7494bd add more condition to match the system p NGP blade for rscan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-22 06:30:36 +00:00
daniceexi 9859b16eca continue update the condition to recognize the cmm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 07:06:41 +00:00
daniceexi f1db4ebf47 Change the condition to know whether it's a ppc NGP blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 06:48:38 +00:00
zhaoertao a3f3b3b46a fix bug 3486467: rscan -z can not parse out the IP address for FSPs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-10 07:32:54 +00:00
daniceexi d1f2042462 set cons=fsp for NGP power blade during the rscan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11493 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-07 03:17:34 +00:00
zhaoertao 706b89520f Use option '-D' of getmacs to determinate the operation mode of a pblade, -D for DFM, else for CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-06 09:30:08 +00:00
daniceexi e819282af8 to support the solcfg enable/disable for cmm/blades
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-05 07:17:54 +00:00
daniceexi 1f6cb219ae not set the hidden att for ngp; fix the cmm slot-> eth_fsp mapping
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-13 08:19:43 +00:00
daniceexi e20bf54dfc NGP support. -u only update the defined objects. -u displays message that matched to which obj or does not matched. If not set hwtype for a cmm, an error message will be displayed for rspconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-06 11:45:45 +00:00
sjing 77107e1575 lstree implementation.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-27 03:41:21 +00:00
daniceexi 09fe391c8b display the ip for the rscan command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-27 02:12:07 +00:00
daniceexi 99c1733f50 fix the issue that cannot handle the rspconfig without args
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11287 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-22 06:41:39 +00:00
daniceexi 6db0afe70c Make the nodetype.nodetype to be ppc for fsp and NGP ppc blade, and to be mp for the mm and common blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-21 08:42:05 +00:00