Commit Graph

177 Commits

Author SHA1 Message Date
immarvin
9c3ed358b4 fix defect #4030 [DEV]'makedhcp -n' failed to add subnet info to dhcpd.conf on rhels7.0 x86_64 mn 2014-03-19 08:15:58 -07:00
sjing
24215114c6 Fix for bug 3815
Last fix results in "makedhcp -n" not working, so re-fix it.
2014-01-09 22:20:51 -05:00
sjing
2cca891e35 Fix for bug 3952
Made makedhcp be able to handle the case where site.nameservers or
networks.nameservers is a comma delimited list with <xcatmaster>
keyword in it.
2014-01-02 01:23:43 -05:00
wanghuaz
045f334d33 fixing bug 3815: don't use global variables which doest work well in hierarchy system. 2013-12-30 11:02:02 +08:00
daniceexi
abea7eceee Rewirte the proxydhcp.c with proxydhcp-xcat in perl; Added site.installnic to control the nics setting for windows; Added servicenode.proxydhcp and noderes.proxydhcp to control the starting of proxydhcp-xcat daemon and makedhcp againsts node for windows deployment 2013-12-19 04:55:27 -05:00
daniceexi
663a0b7da8 Mutiple winpes support. nodeset (Windows.pm) will generate configuration file (path of winpe) in /var/lib/xcat/proxydhcp.cfg and send signal to proxydhcp daemon, proxydhcp daemon loads configuration file and offers 4011 service to windows compute nodes. 2013-12-10 05:35:37 -05:00
ligc
1170cda7f4 fix for bug 3902: add bridge nics into dhcpd.conf, em\d+ for Fedora 2013-12-05 12:51:49 +08:00
wanghuaz
4624c6b9fa fixing bug 3815: check options again in process_request to make sure makedhcp options can be processes on service node. 2013-11-06 17:31:36 +08:00
ligc
cac2677c1c temp fix for bug 3792: multiple nics in the same subnet, use the first nic that in the subnet for dhcp 2013-10-29 10:48:31 +08:00
nott
4e11f026ef add check for sles10 and rh5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16983 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-16 16:33:33 +00:00
brianfinley
38b5424c5d Captian Grammar fixes spelling -- s/sepcified/specified/g
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-14 15:45:27 +00:00
jwsimpson
9a7b3b91df fixed syntax problem with checking on option -n
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 12:29:22 +00:00
xq2005
72e4bea17f fix the syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-03 08:29:25 +00:00
jwsimpson
3165c35860 comment changes only to dhcp.pm to help document the code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16436 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-28 15:30:40 +00:00
ligc
1bbe000d21 fix for bug 3593: check_options error with makedhcp -s statements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-24 09:23:12 +00:00
jwsimpson
20655afd7b updates to dhcp.pm to fix the problem with plugins calling it without arguements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 12:22:17 +00:00
jbjohnso
0d6b9af866 Fix problem when request did not have adequate arg in dhcp.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16367 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-20 17:59:40 +00:00
jwsimpson
322fde4ed9 updates to dhcp.pm and makedhcp man page for makedhcp query
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16303 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-15 20:36:34 +00:00
jbjohnso
60609b1b24 Fix problem erroneously requiring per-net config in ipv6 case not required in ipv4 case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 15:13:28 +00:00
jbjohnso
86466c955c Fix problem where default gateway was interpreted oddly in makedhcp ipv6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 14:50:12 +00:00
jbjohnso
876fa7df69 Add support for external DNS and DHCP servers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 20:21:02 +00:00
nott
238d650327 add multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-12 20:03:37 +00:00
xq2005
eb83073e61 dhcp support on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 07:23:55 +00:00
xq2005
7e76137b2b Ubuntu: makedhcp -n can't create new dhcp.conf file when there is not /etc/dhcp/dhcpd.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 02:50:27 +00:00
jbjohnso
a20a8e2760 Various changes regarding Hyper-V 2012
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 21:03:47 +00:00
xq2005
c384dc8675 delte /etc/sysconfig/dhcpd6 doesn't exist error message on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 02:30:51 +00:00
wanghuaz
df94b1812e Fixing a problem during last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 03:36:46 +00:00
wanghuaz
e7c5f506fe add dhcpinterfaces in servicenode table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 11:09:05 +00:00
xq2005
9dc24a55c8 support the dhcpd service on ubuntu 12.04
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13647 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 02:16:24 +00:00
zhaoertao
40e144b4cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
ligc
e61f51388f fix for bug 3524402: run chkconfig dhcpd on in xcatconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 03:17:04 +00:00
brianfinley
7985b1b1df Give users an indication of where to find dhcpd.leases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 15:28:45 +00:00
jjhua
d16f2babcd For the places that open site table to read attributes, change to call xCAT::Utils->get_siteibute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 07:02:11 +00:00
daniceexi
dab482bd6b Add the lease time for dhcpd.conf which can be configured from site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 12:15:47 +00:00
linggao
708895577c Fixed the wrong callback structre that caused defect 3510390
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12417 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 19:42:06 +00:00
linggao
61e76db19a fix the error callback in dhcp.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 20:08:10 +00:00
wanghuaz
0c51beba69 add minor change to last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 02:57:21 +00:00
wanghuaz
d501fd51b9 add the support to delete all multiple mac addresses from lease file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 03:48:39 +00:00
jbjohnso
0cd91682cc Fix problem where some BIOS boots require broadcast response and iPXE is
just too optimistic on the whole situation.

Had considered changing iPXE code, but easier to switch behavior in dhcp server,
as an iPXE change impacts UEFI boot which all tests indicates being ok with unicast

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-13 16:00:15 +00:00
yinle
165ac01821 "getnodetype performance improvement": change getnodetype related code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11541 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-10 08:53:15 +00:00
sjing
08c759d221 support site.ntpservers=<xcatmaster>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-09 07:53:28 +00:00
jbjohnso
1ac85cfcb0 Correct 3461411 caused by 12/6 checkin, should be reviewed by wanghuaz
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-17 14:57:55 +00:00
wanghuaz
21df4284a0 Fixed the problem which adding lpars into dhcpsd.cnf with makedhcp command. lpar os deployment should be handled by NIM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-06 13:18:46 +00:00
jbjohnso
670522b98e Fix breakage of 'legacy' iscsi boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10827 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-18 15:20:03 +00:00
ericagar
cede69d8d7 Fix for defect 3419745: Fix Method to Determine if System is Ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-06 17:45:08 +00:00
jbjohnso
5e24e2302c Fix syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-27 17:55:07 +00:00
jbjohnso
8bc98c67d5 Apply belt and suspenders approach and conserve at least some memory in instal monitor process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-27 15:34:05 +00:00
jbjohnso
d69709b05e Fix dhcp6 config file growing out of control
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-27 15:23:19 +00:00
jbjohnso
0032eef33c Fix winshell state uefi netboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10585 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-21 13:14:21 +00:00
jbjohnso
0f97218e60 Add Windows support for UEFI boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10557 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-19 20:34:37 +00:00