Commit Graph

170 Commits

Author SHA1 Message Date
daniceexi
a24cabf71c 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:53:49 -05:00
daniceexi
01d1bee405 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:34:09 -05:00
ligc
7877dae894 fix for bug 3902: add bridge nics into dhcpd.conf, em\d+ for Fedora 2013-12-05 12:50:12 +08:00
wanghuaz
bc7ddd1f35 fixing bug 3815: check options again in process_request to make sure makedhcp options can be processes on service node. 2013-11-06 15:51:49 +08:00
ligc
bef22ea3d2 backport dhcp.pm code from 2.9 to 2.8.3 2013-10-31 15:22:02 +08:00
jwsimpson
e3c48f5dbd adding check for -n to 2.8.3 2013-10-29 11:39:53 -04:00
ligc
1dfb366a1b 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:46:17 +08:00
nott
7d90895a38 add check for sles10 and rh5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-16 16:26:41 +00:00
ligc
019f6da484 fix for bug 3593: check_options error with makedhcp -s statements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-24 09:22:34 +00:00
jwsimpson
57bfbd67ad 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/branches/2.8@16374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 12:22:17 +00:00
jbjohnso
fd942bcf5a 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/branches/2.8@16368 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-20 17:59:46 +00:00
jwsimpson
daa650686d Update for makedhcp to support query
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 14:10:05 +00:00
jbjohnso
06c90dd2e6 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/branches/2.8@16296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 15:13:39 +00:00
jbjohnso
a5ea4c5332 Fix problem where default gateway was interpreted oddly in makedhcp ipv6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 14:52:21 +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
jbjohnso
a824514ce8 Have offline remove UEFI related files
Do not attempt UEFI px if currstate is set to 'boot'
Implement ESXi5 UEFI PXE boot


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10554 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-19 19:11:10 +00:00
jbjohnso
1201990fc6 Fixup on uefi linux boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-19 17:21:32 +00:00
jbjohnso
723077dcad Various fixes for genesis and UEFI boot in general
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-16 22:55:25 +00:00
jbjohnso
5863eab0ad Reworked Genesis scripting to provide screen managed console
Have mknb correctly create elilo/xnba config files
Have dhcp implement required hooks to start xnba.efi


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-15 22:00:55 +00:00
jbjohnso
0649fd9d53 Set POSIX tzdb dhcp entry if easy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10509 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-13 13:59:53 +00:00
jbjohnso
f692356e42 Fix quoting issue in previous checkin to dhcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10454 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-06 19:36:47 +00:00
jbjohnso
3027db57c3 Repair error reporting after Ubuntu change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-06 19:35:19 +00:00