Commit Graph

1804 Commits

Author SHA1 Message Date
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
jbjohnso
7a89b99b71 Move increased tolerance for list/scalar parameter ahead so it actually matters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-01 14:30:14 +00:00
yinle
a2a499420c Fix bug 3494916: getmacs -o has some issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11719 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-01 07:20:29 +00:00
linggao
fd8f5a82cd modified the description for vm.storage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-29 18:43:23 +00:00
nott
f171ef4052 remove bogus error msg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-29 16:13:45 +00:00
nott
fd285daefe change site attr name to sharedinstall
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-29 14:29:17 +00:00
jbjohnso
3e76b2102e Have Client.pm tolerate callers that neglect to 'array-ify' rsp->node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-29 12:57:59 +00:00
phamt
515507b45c Fixed network layer query problem.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11705 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-28 17:51:51 +00:00
jjhua
fb3869525a fixed bug 3491152, call all_lpars_state firstly, for the node which couldn't be queried, call the stat again.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-28 05:31:43 +00:00
zhaoertao
d7262006c3 update 'mkhwconn <noderange> -t' to support all ports in trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-24 06:45:38 +00:00
yinle
edc106e902 Fix bug 3491518:rnetboot make network boot from the wrong mac address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-23 15:57:52 +00:00
lissav
3d4dd2d433 fix formatting of the comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-22 13:02:49 +00:00
lissav
3edd437c7c add info to disjointdhcp definitions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 20:29:33 +00:00
yinle
deccf212ee minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 06:03:04 +00:00
zhaoertao
533a475aca fix bug 3489503, ipv6 in network table will bring abnormal error for 'rspconfig cmm initnetwork=*'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11647 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 03:09:35 +00:00
bp-sawyers
90261ffcca Update Schema.pm for site attrs for ipmi scaling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 21:52:34 +00:00
wanghuaz
fce8747ca4 Fixed one issue while check if I am the given service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 07:23:07 +00:00
yinle
be926e9a5d After re-writing lparnetboot, change the way of invoke lparnetboot.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-17 06:10:25 +00:00