Commit Graph

1821 Commits

Author SHA1 Message Date
phamt
db43394393 Added dedicated disk support in nodeset for RH.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 13:14:11 +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
jbjohnso
47b6c89a4c Have MacMap throttle itself to 64 switches at a time to fend off memory starvation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12005 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 17:36:22 +00:00
jbjohnso
a92b34d80d Fix SLP mistake of discarding two bytes from the attribute list erroneously
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12003 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 14:19:16 +00:00
jbjohnso
a2f1109df8 Fix problem where we failed to broadcast all requested service types
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 13:39:46 +00:00
jbjohnso
0a069e3b88 Have Client work to aggregate some XML processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 17:45:34 +00:00
jbjohnso
e24cc45b70 Fix problem where Table.pm fails to skip cache for low nodecounts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 15:15:58 +00:00
yinle
28354c529c minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 02:16:10 +00:00
jbjohnso
9184142745 Bring in some logic from IPMI plugin to get a better assurance of optimal receive buffer behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11936 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 17:50:15 +00:00
jbjohnso
31fb9e555f Have SLP support IPv6-less perl environments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 17:25:20 +00:00
daniceexi
4bb34e0e92 fixing bug 3490738: one additional change from last chackin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 09:54:53 +00:00
daniceexi
9e173d19ff fixing bug 3490738: for getmacs -F option, mac address now can be with or without colon, uppercase and lowcase is also supported.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 09:49:34 +00:00
yinle
13ad428934 Fix bug 3504211:update xcat from 2.6.11 to 2.7 occur error on sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:25:44 +00:00
zhaoertao
1c006a4162 fix bug 3500392: FB->console abnormal if off/on blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:12:47 +00:00
jbjohnso
dbb6040955 Prevent some extraneous process spawing and futile transmit attempts.
Also, do broadcast IPv4 in addition to multicast IPv4 and multicast IPv6.  Some switches seem to make the admin work for multicast to work at all...

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 20:55:41 +00:00
jbjohnso
dae8ae2210 Do some retries on SLP transmits
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 18:38:22 +00:00
jbjohnso
ccb3040219 Add RFC 3059 support for AMM support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 14:21:48 +00:00
jbjohnso
22d2645e28 Add IPv4 support.
After adding IPv4 support, noted that IMM and AMM behaved far less nicely,
restore the service-request prelude to attribute request as a result

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 21:06:17 +00:00
jbjohnso
05e6a27704 Refactor get_interfaces internal function.
First off, have it called outside a loop to avoid many invocations of 'ip'
Secondly, IPv4 multicast demands local ip address, extract those too

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 21:06:09 +00:00
jbjohnso
5dddb7ed3d Skip Service Request, contrary to slptool impressions, it's actually pretty
pointless (at least for us, services are pretty deterministic and skipping straight to attribute request makes a lot of sense).

To make up for giving up the service request provide url list, track and fill in srvtype when the reply comes back so that caller knows which data elements match which of the requested service types.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-18 21:46:07 +00:00
jbjohnso
df4c56729d Finish IPv6-only phase 1 of native xCAT SLP library
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 20:00:11 +00:00
jbjohnso
1e3fa72a93 Implement sending attribute request, after processing replies, phase 1 of slp is done
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 20:00:05 +00:00
jbjohnso
d93542fc49 Advance state of SLP.pm to actually take and parse service replies
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 19:59:58 +00:00
jbjohnso
f9886db053 Rework SLP.pm to do each srvtype as a distinct packet, now mandate caller
to specifiy srvtypes.  Problem being that SLP hashed multicast addresses don't pan out so well if not very precise

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 19:59:52 +00:00
jbjohnso
2152035a14 Add SLP.pm to perl-xCAT. Currently selectively does IPv6 SLP
TODO includes IPv4 SLP and reworked multi-srvtype support since RFC indicated behavior doesn't work (divide multiple srvtypes into separate packets to workaround)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 19:59:46 +00:00
jjhua
8805c4c1f1 add the rpower with cycle action for NGP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 14:18:10 +00:00
zhaoertao
1c996c4c7a modify the output of 'rpower blade state'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 14:04:59 +00:00
zhaoertao
74e2960ed7 modify the output of rpower blade state
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 04:31:05 +00:00
zhaoertao
229618d4ed use 'cec_state' instead of 'bpa_state' for 'rpower blade state'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 03:06:04 +00:00
zhaoertao
4bc914d0e6 fix bug 3496892: need to check the state of lpar strictly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 07:48:52 +00:00
jjhua
f6deceee5d fix a defect after invoking the cec_state to get the blade state
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-09 10:20:05 +00:00
yinle
d266a464d8 Fix bug 3491699: rnetboot "-V" issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-08 05:18:32 +00:00
yinle
16f97547b4 Fix bug 3491699 :rnetboot "-V" issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-08 05:15:41 +00:00
yinle
12115a7186 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-08 04:36:14 +00:00
bp-sawyers
49baf3f4d2 Fixed bug 3496915: svn revision # not showing for -v flags
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-07 11:37: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
yinle
ae098e0ae1 Fix bug 3492997 Hierachical deployment issue on AIX; 3497212 getmacs -o -D gives no warning message when node state
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11764 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 14:33:57 +00:00
zhaoertao
a4e1fb7ebe fix bug about 'mkhwconn blade -t'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 11:07:25 +00:00
zhaoertao
1f6d451c67 fix bug about Table::getNodeSpecAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 07:55:45 +00:00
wanghuaz
ff00b0716e Added getmacs -M option to disable mac address failover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 07:51:22 +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
jjhua
e73644c44d cec_off_policy, pending_power_on_side functions for FB
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 05:15:33 +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
jjhua
8d9d474525 remove the redundant error messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 07:33:06 +00:00
yinle
893cf3f594 Fix bug 3496026:Poor lsvm error msg when hwtype not set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 02:15:58 +00:00
jjhua
8962b5b7ce DFM supports for blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 02:05:11 +00:00
zhaoertao
d68316e467 modify the output about 'lsvm <noderange>'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 02:03:12 +00:00
jjhua
6505ea2869 add one global nodetype blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11735 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 01:50:47 +00:00
jbjohnso
dad755c521 Have NodeRange.pm not flip out in the face of excessive quotes.
Also, just in case, bail out after 4,096 recursions, just in case something else tortuous is being missed.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11731 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-02 23:59:39 +00:00
nott
d3c95f2d2a fixed target in dolitesetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-01 21:12:04 +00:00