The following is an example <hardwareprofile>.yaml file.
This example YAML file consolidates most of the available configurable attributes into one file and includes an optional model: dell selector. In this case, the hardware profile is applied only to servers with a matching model: dell label . 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: HardwareProfile
metadata:
name: hardwareprofile-dell
labels:
site: gc
spec:
# Add fields here
apply: false
preview: true
selectors:
model: dell
server:
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: Enabled
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