Commit Graph

72 Commits

Author SHA1 Message Date
ertaozh
733e2bc0cd Fix a defect for the function that generate network boot kernel parameters 2015-02-16 21:29:27 -05:00
daniceexi
a2d89b5d69 Continue the change to refine installnic and primarynic code 2015-02-11 02:31:54 -05:00
daniceexi
18dfb991c0 refine the code to use installnic and primarynic to generate network boot kernel parameters. All the logic to use installnic/primarynic have been put in NetworkUtils->gen_net_boot_params 2015-02-09 07:02:19 -05:00
daniceexi
77d46e97cc defect 3969: support return multiple ips for networkUtils->my_ip_facing() 2014-12-23 06:59:00 -05:00
immarvin
66feb6f8fc fix defect #4481 netmask being picked up from active MN instead of Networks table 2014-12-18 00:04:22 -08:00
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
fdfa1fe290 defect 4283: fix the syntax issues in the hosts.pm and NetworkUtils.pm for the code that support multiple domain and makehosts against nics table 2014-10-10 11:13:39 -04:00
immarvin
eb34ca52c0 fix defect#4171 [FVT]:xcatd is not running after rh7 sn is setup 2014-06-24 08:12:43 -07:00
immarvin
e41e21b9b5 correct the getNodeNetworkCfg to get the network gateway 2014-05-23 02:56:39 -07:00
lissav
3ad0eb8f16 defect 4091 remove linux ifconfig calls 2014-05-07 11:07:15 -04:00
lissav
2e1aa300ec Redhat7 support defect 4092 2014-04-23 14:53:43 -04:00
lissav
852e6d8bd0 remove getFacingIP. It is not used and does not support Redhat7 defect 4091 2014-04-22 11:06:29 -04:00
ligc
204737f826 fix for bug 4074: different ifconfig -a output on RHEL7 2014-04-17 21:23:27 -05:00
immarvin
7235387417 enhance the dhcp unicast for some specific cases on nameservers and gateway value 2014-04-17 03:10:15 -07:00
immarvin
78b2d75c94 enhance the getNodeNetworkCfg to return the gateway info 2014-04-14 02:21:17 -07:00
creativezj
5184e7da2b fix nodeimport generate brocadcast ip or gateway ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 02:36:44 +00:00
jbjohnso
6839048a17 Fix networkutils to work with CIDR again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16297 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 15:28:11 +00:00
leiaibj
4650f29bb7 The function isValidHostname, it can not detect illegal hostname like 'a=b-c'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 02:04:52 +00:00
leiaibj
9c69cb198a Fix a bug for hostname valiation pattern
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 01:56:46 +00:00
leiaibj
b327574f26 1. support minus network incremental value. 2. resolve can not discover nodes issue. 3. create new command noderegenips: for supporting reconfigure nic ips without reinstall
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 08:55:14 +00:00
xq2005
93a23bc8d2 enable ip forwarding on debian/ubuntu when running xcatconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14973 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 05:14:34 +00:00
leiaibj
3fd2310ec6 1. resolve #3283: a typo issue. 2. drop uselessness method isReservedIP. 3. do not validate IP address whlie creating an unmanaged device. 4. Correct some messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 08:20:19 +00:00
nott
f1ac1431d6 add support for new nics table delimiter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 20:23:12 +00:00
leiaibj
7b75b8b766 update hostname validate rule: only 0-9 a-z and - are valid characters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 09:17:27 +00:00
ligc
4b32bc602e fix a typo in my_nets, to not throw away all the remote networks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14610 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 02:08:09 +00:00
leiaibj
b61ff28739 Create FQDN verify while createing a unmanaged node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 09:03:03 +00:00
ligc
588a72d358 fix for bug 3168: safeguard code in NetworkUtils::ishostinsubnet, for 127.0.0.1 subnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14308 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 14:48:48 +00:00
ligc
ce737cfcda fix a syntax error in xCAT::NetworkUtils->getNodeDomains
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 02:53:51 +00:00
nott
915492b44a remove msgs from getNodeDomains
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 13:48:48 +00:00
ligc
8d07e61c14 Add NetworkUtils::setup_ipv6_forwarding
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 11:25:12 +00:00
ligc
2cb4c75e2f undo the CMM password expire changing code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 12:34:41 +00:00
linggao
0592ad03d6 changed the monitoring code to use nmap for getting node status
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 15:05:57 +00:00
leiaibj
bef2a2a82e Node management sprint2 works, reviewed by xCAT beijing team
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13724 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-07 08:19:36 +00:00
nott
cc76a05db4 add getNodeDomains
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 16:56:08 +00:00
zhaoertao
a732cb476d fix bug 3556007: modifications related to Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 04:21:28 +00:00
zhaoertao
64519483ae list out all the functions that has been moved out of Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 07:03:02 +00:00
zhaoertao
571f3e3962 for item: clean up Utils.pm, the code in perl-xCAT/xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:48:50 +00:00
nott
ac30816620 fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:27:50 +00:00
jbjohnso
d5e4736a96 Fix NetworkUtils.pm to work correctly with IPv6 nets with '/64' in netmask field
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-14 16:09:38 +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
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