zhaoertao
e2e4361957
fix bug 3531793: wrong error message in rspconfig cmm initnetwork=*
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13551 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 07:26:39 +00:00
zhaoertao
40e144b4cc
for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
zhaoertao
51d77e198c
fix bug 3552543 and 3442549, the FB->getmacs <noderange> cannot work
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-31 14:09:50 +00:00
zhaoertao
0e30326a43
add flag '-i' for getmacs for Firebird blade
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 08:40:16 +00:00
zhaoertao
e532ea48ae
fix bug 3519576:Performance improvement to blade.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 08:44:37 +00:00
zhaoertao
4caebea74d
enhance 'rinv' for CMM
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 08:03:35 +00:00
zhaoertao
fb234debb6
Modify 'rvitals' to support SNMP for Firebird blade and CMM.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13199 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 07:07:27 +00:00
zhaoertao
0757920664
modify getmacs: write lowercase mac address for Firebird blade
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 02:20:36 +00:00
zhaoertao
2f4cbf7dbf
code for Adding verbose for xCAT commands item
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 09:43:16 +00:00
jbjohnso
7ba4186fff
Enhance slpdiscover to reconigure CMMs even if their password is not default if user provides an alternative
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 14:35:27 +00:00
zhaoertao
0b5567ff3c
the codes about NGP genesis state process
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 08:38:30 +00:00
jbjohnso
d87f11e52a
Fix blade.pm problem
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 14:08:55 +00:00
jbjohnso
18c9cf84ab
Fix blade.pm tolerance in a way more targetted at discovery specifically
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 16:03:51 +00:00
jbjohnso
7af1cd03fb
Revert "Fix problem where blade.pm failed to isolate table configuration problems"
...
This reverts commit 637ad509abf90eabce30321d53793139fb084aaf.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 16:03:32 +00:00
jbjohnso
b4d8def3a9
Fix problem where blade.pm failed to isolate table configuration problems
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 15:19:39 +00:00
jjhua
50001aae62
For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 02:30:43 +00:00
jbjohnso
ab40158ba6
More cleanly wrap login failures for clicmdns
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 13:59:40 +00:00
jbjohnso
c3351dc88b
Have blade.pm accept an argument to use correct username and pass, but without key check
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 20:03:15 +00:00
jbjohnso
cfef977347
-Fix race condition where make_slave_controlling_terminal could fail because pty is already closed (surprised this was a race...)
...
-Fix issue where '-nokeycheck' SSHInteract option was passed into Net::Telnet mistakenly
-Fix problem where Match specification was incorrectly done in SSHInteracte
-Fix problem where rspconfig could hang if the ssh session landed at a prompt
-Fix argument syntax in blade.pm to clicmds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12798 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 15:44:42 +00:00
jbjohnso
a9c0248442
CMM CLI syntax changed, accomodate
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 20:42:16 +00:00
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