Commit Graph

49 Commits

Author SHA1 Message Date
linggao
73d08b58fa added nmapoptions in the site table to resolve network slow response issues in nmap. defect 4300 2014-10-22 18:36:59 -04:00
daniceexi
d94108f7bb code change to support lsslp and rscan for IVM. fix the issue that IVM lpar boots to openfirmware after os deployment by adding a command [chsyscfg boot_mode=norm] after rnetboot to make the bootmode to normal instead of of 2014-07-23 10:20:17 -04:00
yinle
9db688423c minor fix 2014-01-28 13:49:26 -08:00
yinle
0f829608d1 minor fix of message 2014-01-28 13:33:57 -08:00
yinle
ae62c9e403 Add range check and message to nmap 2014-01-28 13:32:46 -08:00
ligc
99802e8a09 fix for bug 3947: add check for AIX and nmap existence 2014-01-08 23:32:40 +08:00
yinle
71213c8719 Add warning message on fsp wrong slp reply 2013-12-22 05:11:50 -08:00
yinle
22e3c40f09 Add lsslp unicast support 2013-12-13 01:13:44 -08:00
yinle
f211c92b82 fix the issue that lsslp put in the SLP request messages into the "stana" files working with lsslp -z flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 06:13:29 +00:00
jbjohnso
e3952df651 Have SLP accept unicast fragmented UDP packets to get more data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 19:55:24 +00:00
yinle
ca15e05f2d Add print information to lsslp. Put in the prm modification.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 07:05:28 +00:00
yinle
1285f0226c Fix PMR 29187,066,866
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13442 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 02:55:25 +00:00
yinle
cb28d3555c Fix the mistake that removing callback from the SLP.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13366 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-29 13:42:03 +00:00
yinle
0ecdb2c460 Made some performance improvement.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13362 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-27 14:17:37 +00:00
yinle
5877d372ff Performance improvement on processing slp ppacket
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13333 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-23 14:53:53 +00:00
yinle
b24f31515d remove callback subroutine in SLP.pm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13325 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-23 07:33:51 +00:00
yinle
5acbeefa0d Remove the part adding multicast route, suggest the user to add and delete it manually to avoid potential issues.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 03:53:48 +00:00
yinle
bb64f581c9 Fix bug 3527493:lsslp return incompete object information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 08:50:16 +00:00
jbjohnso
fef814d4d4 Have SLP try node-local scope ipv6. I don't think this is correct, but some targets work better with that destination
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 17:44:47 +00:00
yinle
c49f9ed82b delete multicat route to fix the lost message issue.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 02:25:01 +00:00
yinle
b42ce631e3 Fix bug 3528509:lsslp -r has no output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 09:31:09 +00:00
yinle
2afb7d32d1 Fix bug 3527493:lsslp return incompete object information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-20 09:07:26 +00:00
yinle
c25da18107 Fix bug 3527201: lsslp -s FRAME -i return no response on Linux ; Add multicast route on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 01:46:08 +00:00
jbjohnso
9f0ab466ee Fix problem where SLP.pm would create too large an SLP packet if there are a number of IPv6 entities on the network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 17:23:46 +00:00
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