2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-02 08:18:22 +00:00
Commit Graph

263 Commits

Author SHA1 Message Date
Jarrod Johnson
e9dc40717e Fix incorrect scoping of site variable handling 2020-01-09 10:13:37 -05:00
Jarrod Johnson
3f7ad27591 Implement infiniband dhcp addr
Mellanox pretends to be ethernet, but
the OS does not play along.  To provide
for both, provide an infiniband-compatible
variant just in case.
2019-11-18 15:42:22 -05:00
Jarrod Johnson
5d697b5c5c Add support for modern iPXE client arch for uefi
iPXE moved from 9 to 7 a long time ago.
2019-08-07 13:49:55 -04:00
Jarrod Johnson
792fe6d354 Skip :80 if possible 2019-08-07 13:23:24 -04:00
Jarrod Johnson
1035841b5d Fix makedhcp -n
The httpport site variable was being incorrectly interpolated into a
string.
2019-08-07 13:02:39 -04:00
Jarrod Johnson
a2f77ea90b Apply httpport opt out on dhcp.pm 2019-07-19 11:37:32 -04:00
Jarrod Johnson
bff53d4eae Merge tag '2.14.6' into lenovobuild2.14
xCAT 2.14.6 release
2019-05-02 13:05:07 -04:00
GONG Jie
4ee60e49f9 Merge branch 'master' into rhels8-tmp 2019-02-26 16:53:49 +08:00
Jarrod Johnson
6df30438b2 Add comments to explain the hwtype change 2019-01-25 10:43:20 -05:00
Jarrod Johnson
58dab1f15e Allow IB/OPA addresses in mac table again
The change blocked valid addresses.
2019-01-24 14:52:40 -05:00
Jarrod Johnson
1a4b89523b Allow IB/OPA addresses in mac table again
The change blocked valid addresses.
2019-01-24 13:44:15 -05:00
Jarrod Johnson
f60a97dcb2 Have dhcp.pm recognize OPA hwaddr 2019-01-23 22:21:50 -05:00
yangsong
5925987b55 fix issue of site.httpport support in makedhcp (#5904) 2019-01-09 14:22:06 -05:00
Jarrod Johnson
eb68b59906 Merge tag '2.14.5' into lenovobuild2.14
xCAT 2.14.5 release
2019-01-09 14:20:23 -05:00
Gᴏɴɢ Jie
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
yangsong
6514297599 fix issue of site.httpport support in makedhcp (#5904) 2018-12-18 16:57:00 +08:00
Jarrod Johnson
d43cf0a3f0 Fix dhcp plugin use of ip route
It still had the code to strip out netstat's header.  ip has no header.
2018-11-19 10:41:37 -05:00
yangsbj
c4fe5ad5d9 support site.httpport in dhcp lease and config 2018-11-01 23:08:01 -04:00
ertaozh
366eef33a2 Modify warning message based on comments 2018-09-25 07:58:02 -04:00
ertaozh
26b142d2d4 Fix issue 5649: makedhcp misleading error message 2018-09-21 02:11:58 -04:00
Jarrod Johnson
dad3f26b9c Merge tag '2.14.3' into lenovobuild2.14
xCAT 2.14.3 release
2018-08-24 09:05:24 -04:00
Jarrod Johnson
cbc5d65138 SLE 15 at least has moved *back* out of /etc/dhcp 2018-08-08 20:13:59 -04:00
Jarrod Johnson
2c759a412f Have dhcp.pm use ip instead of netstat 2018-08-08 20:08:26 -04:00
Jarrod Johnson
af996d4855 Have dhcp.pm recognize OPA hwaddr 2018-07-26 16:03:47 -04:00
Jarrod Johnson
86b0e12e63 Accept one of two arch values for ipxe 2018-06-04 18:17:50 -04:00
Jarrod Johnson
3bbfafad4d Merge tag '2.14.1' into lenovobuild2.14
xCAT 2.14.1  release
2018-06-01 09:51:20 -04:00
cxhong
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
Jarrod Johnson
e16cea2688 Merge tag '2.13.11' into lenovobuild2.13
xCAT 2.13.11 release
2018-03-26 10:49:04 -04:00
Jarrod Johnson
0e070cd2fd Fix infinite loop if unfortunate IPv6 encountered 2018-03-05 13:47:49 -05:00
bybai
d60477b1f9 enhance 2018-02-26 22:37:31 -05:00
Jarrod Johnson
3e8edef7dc Recognize <xcatmaster> in dhcp
The recent change failed to treat <xcatmaster>
special.
2018-02-23 16:00:58 -05:00
Yuan Bai
74d9eba944 Update dhcp.pm 2018-02-23 10:05:01 +08:00
Jarrod Johnson
c4c5fc6216 Allow restricting service node pools
Service node pools would go as far as the network allowed.
Honor the servicenode attribute to limit visibility to
the service nodes that are relevant and any owner of a dynamic
range.

Also allow execution if the dhcp server is not running (e.g. shutting
down dhcp server on the master node to allow only the service nodes
to provide services).
2018-02-22 11:08:04 -05:00
bybai
c655395d60 when no domain defined, should print error 2018-02-22 02:16:28 -05:00
GONG Jie
38cd104958 Remove trailing spaces in file xCAT-server/lib/xcat/plugins/dhcp.pm 2017-12-31 23:59:59 +00:00
GONG Jie
5dba261cd1 Remove trailing spaces in file ./xCAT-server/lib/xcat/plugins/dhcp.pm 2017-12-31 23:59:59 +00:00
bybai
880a84ce07 makedhcp check if mac format is valid 2018-07-27 00:49:22 -04:00
Russ Auld
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
Bin Xu
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
Bin Xu
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
Bin Xu
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
Bin Xu
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
yangsong
6ed46ff77f support service node pool (#3268) 2017-06-22 18:04:55 +08:00
cxhong
56500ea6bf Failed to run dhcpd if tftpserver defined as <xcatmaster> in the network (#3223)
table
2017-06-12 08:08:53 -05:00
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