The following is an example global_site.yaml file that includes DHCP settings for automatic server discovery.
---
apiVersion: mw.dell.com/v4
kind: Site
metadata:
name: malibu
spec:
# Add fields here
nodeName: <site1-node-name>
type: remote
location: malibu
autoDiscoveryMode:
discoveryViaDhcp: auto
dhcpDeployMode: server
DhcpConfigData:
dhcpSubnet:
- defaultLeaseTime: 3000
maxLeaseTime: 6000
netmask: "255.255.255.0"
optionBroadcastAddress: "255.255.255.0"
optionRouters: "172.16.14.2"
optionSubnetMask: "255.255.255.0"
subnet: "172.16.14.0"
dhcpPool:
- allowMembers:
- "iDRAC"
denyMembers:
endRange: "172.16.14.210"
startRange: "172.16.14.199"
- allowMembers:
- "udhcp 1.23.1"
denyMembers:
endRange: "172.16.14.220"
startRange: "172.16.14.211"
- allowMembers:
- "CPQRIB3"
denyMembers:
endRange: "172.16.14.230"
startRange: "172.16.14.221"
- defaultLeaseTime: 3000
maxLeaseTime: 6000
netmask: "255.255.255.0"
optionBroadcastAddress: "255.255.255.0"
optionRouters: "192.168.14.2"
optionSubnetMask: "255.255.255.0"
subnet: "192.168.14.0"
dhcpPool:
- allowMembers:
denyMembers:
- "iDRAC"
- "udhcp 1.23.1"
- "CPQRIB3"
endRange: "192.168.14.210"
startRange: "192.168.14.199"
interfaces: "ens192, ens224"
vendorClassIdentifier:
- iDRAC
- udhcp 1.23.1
- CPQRIB3
- onie_vendor:x86_64-dellemc
domain: "dell.com"
dns: "8.8.8.8, 8.8.4.4"
defaultLeaseTime: "3000"
maxLeaseTime: "6000"
additionalDhcpConfig: "log-facility local7;"
metadata:
id: MALICFBC
city: Malibu
state: California
address: "5450 Great America Pkwy, Malibu, CA 95054, USA"
country: USA
latLong: "37.404882, -121.978486"