2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-11 07:40:11 +00:00
Commit Graph

244 Commits

Author SHA1 Message Date
3456d4dd98 Add SLE15 Hierarchy support for ppc64le 2020-01-16 16:07:31 -05:00
267f44de7c Fix dhcp.pm for grub2-http and grub2-tftp 2019-04-30 12:11:39 +08:00
4ee60e49f9 Merge branch 'master' into rhels8-tmp 2019-02-26 16:53:49 +08:00
6df30438b2 Add comments to explain the hwtype change 2019-01-25 10:43:20 -05:00
1a4b89523b Allow IB/OPA addresses in mac table again
The change blocked valid addresses.
2019-01-24 13:44:15 -05:00
f60a97dcb2 Have dhcp.pm recognize OPA hwaddr 2019-01-23 22:21:50 -05:00
efc60c8825 Make makedhcp working on RHEL 8 xCAT management node (#5930)
* Patch dhcp.pm for RHEL 8

* Ignore interface lo while makenetworks

* Revise the comments to reflect the code changes
2019-01-08 15:54:47 +08:00
6514297599 fix issue of site.httpport support in makedhcp (#5904) 2018-12-18 16:57:00 +08:00
c4fe5ad5d9 support site.httpport in dhcp lease and config 2018-11-01 23:08:01 -04:00
366eef33a2 Modify warning message based on comments 2018-09-25 07:58:02 -04:00
26b142d2d4 Fix issue 5649: makedhcp misleading error message 2018-09-21 02:11:58 -04:00
38cd104958 Remove trailing spaces in file xCAT-server/lib/xcat/plugins/dhcp.pm 2017-12-31 23:59:59 +00:00
5dba261cd1 Remove trailing spaces in file ./xCAT-server/lib/xcat/plugins/dhcp.pm 2017-12-31 23:59:59 +00:00
880a84ce07 makedhcp check if mac format is valid 2018-07-27 00:49:22 -04:00
7bbf1cacec Support nodeset <switch> osimage command for cumulus switch (#5144)
* Support nodeset <switch> osimage command for cumulus switch

* Add logical checking for provemethod and pkgdir

* fix conflict
2018-05-03 10:47:17 +08:00
d60477b1f9 enhance 2018-02-26 22:37:31 -05:00
74d9eba944 Update dhcp.pm 2018-02-23 10:05:01 +08:00
c655395d60 when no domain defined, should print error 2018-02-22 02:16:28 -05:00
da902b017c Add dhcp-client-identifier to lease block (#4429)
Machines that use Infiniband for PXE booting need to have the
dhcp-client-identifier set in the lease block.
Without it, they will not get the lease from the server.
2017-12-06 03:03:50 -06:00
ca6024750f makedhcp does not work well when all service nodes not running dhcp but disjointdhcps=1 (#4426) (#4440)
- if all service nodes not running dhcp, to treat it as disjointdhcps=0
- nodeset will send request to MN by default even if disjointdhcps=1
- Move out of the dhcp service checking from opts pre-check, and do it just before real makedhcp handling.
2017-12-05 02:48:29 -06:00
6d345ab62d Fix #4023, remove the redundancy codes to report mac missing warning, and adjust message line make it better show in IDE (#4141) 2017-10-23 01:50:25 -05:00
8a66d84381 Fix 3930, 1, only re-distribute to accessible dhcpsrv; 2, for non-sharedtftp mode, run makedhcp -d -l for offline (#3954) 2017-09-19 15:35:59 +08:00
95fb719532 makedhcp dispatch the requesting to all available xcatd when the request is from service node (#3565)
- for non-disjoin mode, forward the request to MN also if preprocess is handled on SN
 - for disjoint mode, forward the request to dhcpservers which is serving dynamic range
2017-08-02 21:18:44 -05:00
6ed46ff77f support service node pool (#3268) 2017-06-22 18:04:55 +08:00
56500ea6bf Failed to run dhcpd if tftpserver defined as <xcatmaster> in the network (#3223)
table
2017-06-12 08:08:53 -05:00
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
23bc17d365 To have petitboot and onie based node be able to get configuration from SN 2017-02-10 03:34:41 -05:00
c839a2c838 dhcp.pm: fix indentation of generated dhcpd.conf file 2017-02-07 14:21:14 -08:00
c972a8989b Filter out global local ipv6 address for makedhcp command 2016-11-16 15:40:21 -05:00
c02c101156 refine the dhcp conf for cumulus support 2016-11-08 15:51:30 +08:00
c933502500 refine the dhcp conf for cumulus support 2016-11-08 11:11:15 +08:00
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
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
45c676e3a4 Fix issue 1881: Garrison boots genesis kernel when mutliple interfaces have dhcp dynamic ranges 2016-10-14 02:33:15 -04:00
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
db9a71750e Fix sytax errors reported by perltidy 2016-07-25 08:56:18 -04:00
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
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
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
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
f2b9f6e94a to fix Issue 302, modified my_ip_facing and related functions 2015-11-12 00:33:03 -05:00
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
315a7fb841 Stop repeating domains in domain-search
Fixes issue #246.
2015-10-08 14:50:17 +01:00
a81a5e1a45 fix the indent issue and combine trace message 2015-08-18 04:11:59 -04:00
a35ca71281 add trace information 2015-08-13 23:31:30 -04:00
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
1f8974af4f fix bug 4667:rhels6.5 diskful installation failed with netboot=yaboot, for netboot=nimol 2015-05-18 08:14:27 -04:00
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
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
f62bdf3121 fixed a syntax error in dhcp.pm 2015-05-12 05:50:02 -04:00