The following is an example <server>.yaml file.
This example YAML file consolidates most of the available configurable attributes into one file and includes optional labels. In this case, only a hardware profile that has the two matching selectors will be applied to the server. For an example of operating system related attributes that you can set when installing an operating system on a server, see the sample YAML file for the specific operating system.
apiVersion: mw.dell.com/v4
kind: Server
metadata:
name: server-tag
labels:
site: durham
model: dell
spec:
metadata:
tags:
name: server_tagname
cpu: sample_cpu
memory: sample_size
bmcEndPoint: "https://<BMC-IP>"
userName: root
password: <REPLACE_THIS>
powerstate: "On"
raid:
deleteNonMatchingVolumes: true
raidVolumes:
- name: TestVolume3
raidType: RAID1
minCapacityBytes: 100000000000
maxCapacityBytes: 500000000000
nVMeRaidVolume: false
numberOfDrives: 2
mediaType: HDD
swRaid: "No"
boot:
bootOrder:
- "USB Hard Disk"
- "USB CD/DVD"
bios:
attributes:
logicalProc: Enabled
procVirtualization: Enabled
setBootOrderFqdd1: "*.*.*"
setBootOrderFqdd2: "NIC.*.*"
setBootOrderFqdd3: "Optical.*.*"
setBootOrderFqdd4: "Floppy.*.*"
procAdjCacheLine: Enabled
procHwPrefetcher: Enabled
procSwPrefetcher: Enabled
dcuStreamerPrefetcher: Enabled
dcuIpPrefetcher: Enabled
#subNumaCluster: Enabled
upiPrefetch: Enabled
#dynamicCoreAllocation: Enabled
procX2Apic: Enabled
procCores: All
memTest: Enabled
memOpMode: OptimizerMode
procPwrPerf: MaxPerf
memFrequency: MaxPerf
procTurboMode: Enabled
procC1E: Enabled
#nodeInterleave: Disabled
corrEccSmi: Enabled
oppSrefEn: Enabled
#monitorMwait: Enabled
cpuInterconnectBusLinkPower: Enabled
pcieAspmL1: Enabled
uncoreFrequency: DynamicUFS
energyPerformanceBias: MaxPower
proc1TurboCoreNum: All
proc2TurboCoreNum: All
memRefreshRate: 1x
memPatrolScrub: Extended
procCStates: Enabled
writeDataCrc: Enabled
sriovGlobalEnable: Enabled
serialPortAddress: Com1
conTermType: Vt100Vt220
extSerialConnector: Serial1
redirAfterBoot: Disabled
serialComm: OnConRedirCom1
failSafeBaud : 19200<
nic:
- networkAdapterId: <REPLACE_THIS>
attributes:
virtualizationMode: SRIOV
bannerMessageTimeout: 7
setupKey: Broadcom_SetupKeyCtrlB
hideSetupPrompt: Disabled
adapterErrorRecovery: Enabled
maxPfMsixVectors: 256
nicPorts:
- id: <REPLACE_THIS>
attributes:
forwardErrorCorrection: Disabled
portLinkTraining: Disabled
legacyBootProto: PXE
rDMANICModeOnPort: Enabled
msixVectorsPerVf: 128
operationalLnkSpeed: "10Gbps"
dCBX: Disabled
aNProtocol: Broadcom_ANProtocolIEEEandBAM
mediaAutoDetect: Disabled
defaultEVBMode: VEB
bootOptionROM: Disabled
bootStrapType: AutoDetect
wakeOnLan: Disabled
vLanMode: Disabled
bootRetryCnt: NoRetry
permitTotalPortShutdown: Disabled