Commit Graph

38 Commits

Author SHA1 Message Date
yinle
6ac917a748 Give warning when the user is using slpdiscover.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 05:46:07 +00:00
jbjohnso
851f0123cd Refactor setupIMM from slpdiscover.pm to IMMUtils.pm in preparation for common code usage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:42:30 +00:00
jbjohnso
cc2148cedd Change argument name in preparation for refactor of setupIMM for common use between slpdiscover and remoteimmsetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14483 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 20:54:12 +00:00
jbjohnso
160c635296 Change slpdiscover to use the common IPMI credential lookup scheme, theoretically allow for differing IPMI/CLI passwords, but we won't recommend that
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 20:30:33 +00:00
jbjohnso
847634175d Break slpdiscover activity into pieces to increase odds of success of each pass
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 19:59:08 +00:00
jbjohnso
a01c99a24f Fix slpdiscover error output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 19:59:03 +00:00
jbjohnso
5604a61f53 Have slpdiscover ultimately relax password expiry, login failure behavior, password reuse restrictions, minimal change interval to help automation work and
avoid DoS attacks

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 15:21:45 +00:00
jbjohnso
6b2de33e78 Have slpdiscover auto-use LLA when circumstances detect no user direction to the contrary and the LLA is viable (same subnet, perl ipv6 support)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14087 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 20:09:07 +00:00
jbjohnso
c492b1a276 Have slpdiscover.pm tolerate more variation in IMM prompt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 14:16:57 +00:00
daniceexi
bf530633a9 Add the logic that use the mac of cmm to match the cmm which found from slp when switch:port match failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 08:50:15 +00:00
jbjohnso
b582f177f6 Fix mistake in slpdiscover.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 18:59:08 +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
jbjohnso
ba7c29b62a Fix spacing issue in gateway append
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 20:39:14 +00:00
jbjohnso
4589f5a558 Fix -g being specified even without a gateway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 20:35:03 +00:00
jbjohnso
98c1a84cb5 Fix erroneous forking in slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 19:52:17 +00:00
jbjohnso
7d0636aa8f Tweak some messages on slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 19:40:21 +00:00
jbjohnso
cfea72f1ef Rework some output, also avoid thrashing on redundant responses. Prefer fe80 addresses when proven feasible since those are guaranteed to be unique and some ipv4 responses might not be
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 13:50:37 +00:00
jbjohnso
8e02008a83 Try to parallelize some slpdiscover activity
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 19:19:50 +00:00
jbjohnso
d1bc43db41 Correct typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 21:54:46 +00:00
jbjohnso
824d7ccd13 Fix slpdiscover message to filter out skipped IMMs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12830 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 21:47:35 +00:00
jbjohnso
996a3999d0 Add subnet mask and gateway setup that was missing previously
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 21:47:28 +00:00
jbjohnso
5ac7ac26c4 Have slpdiscover avoid doing the same IMM multiple times (due to modified SLP retry logic)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 21:13:55 +00:00
jbjohnso
9890213fb5 Fix problem where IMMs in undiscovered chassis were not processed correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12820 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:46:31 +00:00
jbjohnso
6275ebdc0f rework password variable usage to allow the already discovered case to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12819 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:46:25 +00:00
jbjohnso
661104f0a8 More tweaks to slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12818 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:46:18 +00:00
jbjohnso
4ed75a9bfe Have slpdiscover.pm have a provision to skip known IMMs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:46:05 +00:00
jbjohnso
c48a9b7325 Have imm setup close the connection when done
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 22:55:31 +00:00
jbjohnso
a94ac01399 Enable discovery of new IMMs in known CMMs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12812 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 22:48:14 +00:00
jbjohnso
7be91f0a25 Get slpdiscover at least syntax error free again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 22:48:06 +00:00
jbjohnso
6481c2508a Prepare for two-pass CMM config and IMM setup in slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 21:01:39 +00:00
jbjohnso
33c53a8182 Add a little message on success
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 20:56:12 +00:00
jbjohnso
383370e40f Have slpdiscover be case insensitive in terms of known mac addresses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 20:18:49 +00:00
jbjohnso
87edafb925 Have slpdiscover tolerate errors per managed target more gracefully
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-09 13:48:02 +00:00
jbjohnso
f9d6ddd02c Fix typo in slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12179 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 12:34:04 +00:00
jbjohnso
4e8e9cc11d Have slpdiscover manage mac table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 17:06:39 +00:00
jbjohnso
a3f7e76b03 Have slpdiscover.pm program chassis name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 14:10:37 +00:00
jbjohnso
73cd343bf5 Have slpdiscover get more fleshed out for CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 14:35:13 +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