bybai
880a84ce07
makedhcp check if mac format is valid
2018-07-27 00:49:22 -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
bybai
d60477b1f9
enhance
2018-02-26 22:37:31 -05:00
Yuan Bai
74d9eba944
Update dhcp.pm
2018-02-23 10:05:01 +08:00
bybai
c655395d60
when no domain defined, should print error
2018-02-22 02:16:28 -05: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
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