GONG Jie
6eed2ff63e
Remove trailing spaces in file perl-xCAT/xCAT/NetworkUtils.pm
2017-12-31 23:59:59 +00:00
bybai
cc7ad619cc
add new UT and polished
2018-07-11 01:58:31 -04:00
bybai
d3e73fb435
fix check for leading zeroes in ip address when running makehosts
2018-07-11 01:43:23 -04:00
Bin Xu
804b132605
clear cache for IP change case in node discovery( #4890 ) ( #4891 )
2018-03-06 16:13:02 +08:00
immarvin
39c4e7081f
fix issue xCAT install failed on sles11.4 & rhels6.9 in automation #3693;move send_tcp_msg from Utils.pm to NetworkUtils.pm
2017-08-17 03:35:03 -04:00
Bin Xu
53d3b1bced
1, use 'disjointdhcps' for nodeset disjoint mode
...
2, handle 'disjoint' in preprocess method, to make sure that no request will be sent to SN which does not manage the nodes.
3, refine 'stat' to make sure it could query unmanaged nodes on-demand.
2017-07-24 13:36:49 +08:00
Bin Xu
c95b277a4a
Fix 3368, "noboot" is not working for mknb when multiple interfaces, and it is caused by something wrong in "get_nic_ip" ( #3371 )
2017-06-29 03:51:31 -05:00
yangsong
317845a04c
merge 2.13.perfopt branch to master branch ( #3044 )
...
* Add trace point for perf tool in xcatd (#903 )
This patch aims to enable nytprof library to analyze the performance
of xcat code in statement level.
- Add perf trace point in xcatd
- Add sleep time for db prcess to solve the race condition when
- perf instraction is used.
More reference
To enable prof:
perl -dt:NYTProf /opt/xcat/sbin/xcatd -f
Some perf test sample:
https://github.com/chenglch/xcatperf
* refine the performance of makedhcp (#2901 ), it including:
- refine the code logic in getSNList to get better performance
- refine the getipaddr, cache the dns lookup result
- refine noderangecontainsMn
- refine ishostinsubnet
2017-05-18 14:23:29 +08:00
Samveen Gulati
b3f4c5cbdc
[perl-xCAT] Fix #2521
2017-02-22 04:47:18 +00:00
immarvin
c936778f21
fix issue [DEV] several issues on generating grub.cfg-xxx when netboot=grub2 #2174 ; fix issue kcmdline for centos netboot images set incorrectly #1502
2016-11-20 21:42:26 -05:00
Mark Gurevich
db9a71750e
Fix sytax errors reported by perltidy
2016-07-25 08:56:18 -04:00
Mark Gurevich
0a3fbd8d51
perltidy all perl files
2016-07-20 11:40:27 -04:00
XuWei
4e80ec5cee
Modified error message of my_ip_facing
2016-03-31 02:29:45 -04:00
ertaozh
4a1d58ffe7
add using pipework to config ip for containers are start
2016-03-08 05:28:31 -05:00
XuWei
f2b9f6e94a
to fix Issue 302, modified my_ip_facing and related functions
2015-11-12 00:33:03 -05:00
wangxiaopeng
c26b23a383
Issue 158: fix the generated kernel parameters for OS deployment when osimage.nodebootif is set
2015-09-08 04:11:25 -04:00
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