Commit Graph

33 Commits

Author SHA1 Message Date
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
sjing
0c37139db0 fix the unknown keys bug.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11526 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-09 11:36:25 +00:00
yinle
bb2b37563b fix bug :3466290 lsslp -m -i plugin error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-07 13:02:53 +00:00
yinle
17e2c2a0d3 Fix bug 3425775: lsslp plugin bug /opt/xcat/lib/perl/xCAT/NetworkUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10840 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-19 09:08:01 +00:00
yinle
c1bf9b1413 Add the description of the sub routine get_nic_ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10818 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-18 06:30:26 +00:00
yinle
e38949b282 Add a new subroutine, finding the ip and the nic's mapping.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-18 15:30:41 +00:00
jbjohnso
fc317c14fe Make NetworkUtils.pm less fatalistic about IPv6 for now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-11 14:13:46 +00:00
jbjohnso
b43617b2cd Produce a clearer message when IPv6 resolution is attempted without IPv6 capability available
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-28 17:09:24 +00:00
ligc
ad652bc828 keyword <myself> as gateway in networks table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-24 03:15:01 +00:00
jbjohnso
12ea72629f -Fix NetworkUtils to act no differently before if no arguments are passed to do otherwise.
-Have makedns get v4 and v6 addresses if both are available


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-26 16:07:01 +00:00
jbjohnso
0544006d78 -Fix mistakes in last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-26 15:44:42 +00:00
jbjohnso
d0c5d7439b -Expose more capability, for multiple address returns and requesting only v4 or v6 addresses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-26 15:43:26 +00:00
jbjohnso
737779fc4a -Fix mistake in previous checkin
-Implement 'nodeonmynet' ipv6 linux


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-17 20:24:28 +00:00
jbjohnso
27d0da5897 -Abolish unneeded Net::IP module, the calculations can be done consistently between v4 and v6 by simply using BigInts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-17 19:54:25 +00:00
jbjohnso
95e5fbfa0f -Implement phase 1 or IPv6 with DHCP (still needs Utils twek for nodeonmynet)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-17 19:17:38 +00:00
yinle
9d8a543c65 modify the getipaddr so that it would not warning when can't find the according hostname of a IP.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-14 13:34:10 +00:00
vallard
576487921a got rid of yucky undefined variable messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7733 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-29 21:12:51 +00:00
ligc
dbce719093 fix for bug 3073397: check the parameter passed to subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-25 03:08:46 +00:00
linggao
c45a6808d5 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 15:46:11 +00:00
ligc
53b4fdb42e add IPv6 subroutine prefixtomask
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6496 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-17 07:18:00 +00:00
ligc
f8b28be009 ipv6 fix: when then net and mask are IPv4 ones, the ip may be IPv6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 03:20:38 +00:00
linggao
a90e82012a ipforwarding on sn for AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6285 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-01 14:27:13 +00:00
linggao
fe30dd3adc makeroutes phase 1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-27 15:13:26 +00:00
ligc
1c68c2a98c fix for IPv6 link local address subroutine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-27 07:40:10 +00:00
ligc
d33c3d4443 in some older AIX versions, the Socket6.pm is not available, but will have IPv6 address ::1 configured on loopback, need to avoid passing ipv6 address to inet_* calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-14 01:36:40 +00:00
ligc
bb5e6cf4d1 fix gethostnameandip documentation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-13 11:59:49 +00:00
ligc
d75d747b19 ipv6 fix, replace the Socket library calls with NetworkUtils subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-11 14:03:58 +00:00
ligc
4915e69508 ipv6 subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 09:56:01 +00:00
ligc
0d4b44bc80 ipv6 support for ishostinsubnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6015 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 09:27:18 +00:00
ligc
7b1275b4ad fix ishostinsubnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6014 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 03:49:05 +00:00
ligc
0aa31123d5 call NetworkUtils.pm subroutines instead of Utils.pm subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 02:53:44 +00:00
ligc
2bc904db70 fix package name for NetworkUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 01:59:49 +00:00
ligc
a006620400 New NetworkUtils.pm, include all the network related subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6006 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 01:58:02 +00:00