2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

219 Commits

Author SHA1 Message Date
cxhong
bd60341cb6 Support ZTP process for Cumulus Switch (#3085)
* Support ZTP process for Cumulus Switch

* change name of onieztp to cumulusztp and add server ip
2017-05-22 21:45:18 -05:00
ertaozh
23bc17d365 To have petitboot and onie based node be able to get configuration from SN 2017-02-10 03:34:41 -05:00
Kilian Cavalotti
c839a2c838 dhcp.pm: fix indentation of generated dhcpd.conf file 2017-02-07 14:21:14 -08:00
Casandra Qiu
c972a8989b Filter out global local ipv6 address for makedhcp command 2016-11-16 15:40:21 -05:00
immarvin
c02c101156 refine the dhcp conf for cumulus support 2016-11-08 15:51:30 +08:00
immarvin
c933502500 refine the dhcp conf for cumulus support 2016-11-08 11:11:15 +08:00
cxhong
1cd4b6446c Check in init version of cumulus support[Do Not Merge] (#2020)
* Check in init version of cumulus support

* Add cumulus installation doc

* modify victor's comments.
2016-11-08 10:21:56 +08:00
Victor Hu
c7e9625d3f Merge pull request #1930 from zet809/fix_issue_1881
Provide a 'noboot' option to disable genesis kernel on specific dhcp interfaces
2016-10-14 09:45:11 -04:00
ertaozh
45c676e3a4 Fix issue 1881: Garrison boots genesis kernel when mutliple interfaces have dhcp dynamic ranges 2016-10-14 02:33:15 -04:00
Matt Ezell
1e11b6e80f Add support for a default MTU on a network
Add a MTU column to the networks table.  If set, this will configure the MTU in
DHCP so that nodes will have the correct MTU during provisioning.  This is
important for large systems to enable jumbo frames to reduce CPU usage when
copying diskless images over the network (before the confignics postscript can
run to set the desired MTU).
2016-10-01 16:01:28 -04: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
penguhyang
3cbe9d7f83 Merge pull request #363 from whowutwut/dhcpd6
makedhcp -n on rhels7 complains about missing dhcpd6 file
2015-11-19 15:38:17 +08:00
Victor Hu
da9d6a23ef Add code to check the os version by looking for the digit values
in the $os string.  If >= SLES 11 or >= RHEL 7, dhcpd and dhcpd6
share the same configuration file
2015-11-18 13:13:06 -05:00
zet809
d39d5b567c Merge pull request #386 from xuweibj/I302
to fix Issue 302, modified my_ip_facing and related functions
2015-11-12 14:01:14 +08:00
XuWei
f2b9f6e94a to fix Issue 302, modified my_ip_facing and related functions 2015-11-12 00:33:03 -05:00
Victor Hu
ab5349cf29 rhels7 also stores the dhcpd/dhcpd6 config in the same
/etc/sysconfig/dhcpd file.  Add test for rhels7
2015-11-04 15:39:16 -05:00
loz-hurst
315a7fb841 Stop repeating domains in domain-search
Fixes issue #246.
2015-10-08 14:50:17 +01:00
huweihua
a81a5e1a45 fix the indent issue and combine trace message 2015-08-18 04:11:59 -04:00
huweihua
a35ca71281 add trace information 2015-08-13 23:31:30 -04:00
ligc
8fc48e7a21 do not try to add ipv6 networks into dhcp if there is no ipv6 network in networks table 2015-06-02 23:43:53 -04:00
ertaozh
1f8974af4f fix bug 4667:rhels6.5 diskful installation failed with netboot=yaboot, for netboot=nimol 2015-05-18 08:14:27 -04:00
ligc
ae636e0afa fix for bug 2825 and 4628: print warning with makedhcp when the node ip address could not resolved, or the ip overlaps with dynamic range 2015-05-18 04:23:02 -04:00
ertaozh
ff20b96dba 1. appending "statement" within makedhcp rather than from nodeset, find corrent tftpserver for petitboot booting; 2. Use hvc0 for ppc64 genesis shell 2015-05-13 03:40:35 -04:00
billwajda
f62bdf3121 fixed a syntax error in dhcp.pm 2015-05-12 05:50:02 -04:00
billwajda
a2c5a0be58 dhcp.pm: moved authoritative statement inside the network stanza 2015-05-12 05:50:02 -04:00
billwajda
05339e823e updated dhcp.pm to put out a warning message when subnet/netmask for network in network table does not match network configured 2015-05-12 05:50:02 -04:00
ertaozh
a84a9e655b appending "statement" within makedhcp rather than from nodeset, this commit include grub2,petitboot and nimol netboot method 2015-05-12 01:36:55 -04:00
jjohnson2
b0c839856d Finish fix from previous commit
The change to remote behavior was not fully compensated
for in previous commit.  Go farther and ensure that the
classic syntax is executed exactly is it was.
2015-04-29 15:51:10 -04:00
jjohnson2
ae5715849f Restore backwards compatibility to !remote!
A change was made to allow '!remote!' to force indicate a NIC to be
relevant in case it wouldn't naturally occur.  This broke existing
configurations where the NIC would naturally be 'active'.  Attempt
to address by restoring the old match and enabling the new code
when an interface name is detected after '!remote!', but otherwise
act like pre-2.9.1 dhcp.pm
2015-04-29 15:01:25 -04:00
ertaozh
dc3fb9d4c9 fix bug 4476: Get "no free leases" when MN and target Nodes are in different subnets 2015-01-15 04:38:20 -05:00
Victor Hu
1d781ea39f Bug #3832 rewrite logic for dhcpd config, avoid dual code path 2014-10-20 14:42:54 -04:00
Victor Hu
64c3c7c273 missed ~ in =~ in changes from dhcp.pm 2014-10-09 13:38:22 -04:00
Victor Hu
1c0f2b5bef clean up formatting of dhpc.pm 2014-10-08 13:33:23 -04:00
Victor Hu
c3f0760164 Bug:3832 - test sles OS before checking dhcpd6 file when ipv6 used, fix formatting 2014-10-01 18:02:46 -04:00
mellor
b06aa3afb0 enhance of creating default netboot configuration file for p8 hardware discovery 2014-09-24 20:23:20 -07:00
mellor
ee1a1574c3 generate default netboot configure file for p8 hardware discovery 2014-09-24 02:38:54 -07:00
immarvin
5fe158f353 replace service stuff with newly added subrotines in xCAT::Utils 2014-06-10 06:11:07 -07:00
immarvin
cde9aed074 fix defect 4117 and 4113 2014-05-08 00:38:30 -07:00
zhaoertao
1057bd5b91 modify DHCP parameters for pkvm 2014-04-22 03:11:09 -07:00
lissav
9e3dfa484b fix defect 4034 2014-03-31 14:26:29 -04:00
lissav
c822d4f560 defect 3953 2014-03-26 13:08:41 -04:00
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