Commit Graph

25 Commits

Author SHA1 Message Date
yinle
23dda49cdc Fix bug 3524622:lsslp return no response on P7 IH
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:09:06 +00:00
yinle
75a543f116 Fix the issue that too many IPs in the PRLIST of the package.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 02:49:07 +00:00
yinle
cfcfbb429f Add filling-in prlist in the slp request.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 09:40:57 +00:00
yinle
e97573587a Fix some mistakes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-05 02:06:19 +00:00
yinle
6ddbbe0505 Add support of lsslp -C -T
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 09:48:32 +00:00
yinle
5623cb3a9e Fix bug 3522940: FB->lsslp no response on aix71D
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12500 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 06:47:36 +00:00
yinle
7ddb1fa4aa Add retry part to support lsslp -t retrytimes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12358 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 15:32:21 +00:00
yinle
abb3d4989a add support of lsslp -i (specify the nic to do lsslp) and fix a bug.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 08:56:24 +00:00
jbjohnso
17593ac412 Move send_service_request_single inside the while loop so that it actually would work as a retry mechanism
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 12:39:37 +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
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
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