detect: Adding Megaraid controller configuration
detect: Adding Megaraid controller configuration

When reporting a node configuration, it's pretty useful to get Raid's controller configuration.
This does provide the required information to compare systems.

A typical output looks like:
 ('megaraid', 'Controller_0', 'DenyScsiPassthrough', 'No'),
 ('megaraid', 'Controller_0', 'MaxArmsPerVd', '16'),
 ('megaraid', 'Controller_0', 'SupportPi', 'No'),
 ('megaraid', 'Controller_0', 'Enableldbbm', 'Yes'),
 ('megaraid', 'Controller_0', 'SnapshotEnabled', 'No'),
 ('megaraid', 'Controller_0', 'DelayAmongSpinupGroups', '12s'),
 ('megaraid', 'Controller_0', 'Flash', 'Present'),
 ('megaraid', 'Controller_0', 'SupportBreakmirror', 'Yes'),
 ('megaraid', 'Controller_0', 'CacheFlushInterval', '4s'),
 ('megaraid', 'Controller_0', 'DisableOnlineControllerReset', 'No'),
 ('megaraid', 'Controller_0', 'AutoEnhancedImport', 'No'),
 ('megaraid', 'Controller_0', 'RocTemperature', '32  degree Celsius'),
 ('megaraid', 'Controller_0', 'MaxChainedEnclosures', '4'),
 ('megaraid', 'Controller_0', 'NumberOfBackendPort', '8'),
 ('megaraid', 'Controller_0', 'DenyClear', 'Yes'),
 ('megaraid', 'Controller_0', 'VendorId', '1000'),
 ('megaraid', 'Controller_0', 'DelayDuringPost', '0'),
 ('megaraid', 'Controller_0', 'InterruptThrottleCompletion', '50us'),
 ('megaraid', 'Controller_0', 'NvdataVersion', '3.09.03-0038'),
 ('megaraid', 'Controller_0', 'SupportTemperature', 'Yes'),
 ('megaraid', 'Controller_0', 'EnableLedHeader', 'No'),
 ('megaraid', 'Controller_0', 'DisableCopyback', 'No'),
 ('megaraid', 'Controller_0', 'SupportedDrives', "['SAS', 'SATA']"),
 ('megaraid', 'Controller_0', 'DisableCtrl-R', 'No'),
 ('megaraid', 'Controller_0', 'AllowHdd/SsdMixInVd', 'No'),
 ('megaraid', 'Controller_0', 'Reconstruction', 'Yes'),
 ('megaraid', 'Controller_0', 'SupportShieldState', 'No'),
 ('megaraid', 'Controller_0', 'MemorySize', '0MB'),
 ('megaraid', 'Controller_0', 'DenyLocate', 'No'),
 ('megaraid', 'Controller_0', 'AllowBootWithPreservedCache', 'No'),
 ('megaraid', 'Controller_0', 'SupportBootTimePfkChange', 'No'),
 ('megaraid', 'Controller_0', 'AlarmDisable', 'No'),
 ('megaraid', 'Controller_0', 'MaxDataTransferSize', '8192 sectors'),
 ('megaraid', 'Controller_0', 'UseFdeOnly', 'Yes'),
 ('megaraid', 'Controller_0', 'BreakmirrorRaidSupport', 'Yes'),
 ('megaraid', 'Controller_0', 'BiosEnumerateVds', 'Yes'),
 ('megaraid', 'Controller_0', 'SpinDownMode', 'None'),
 ('megaraid', 'Controller_0', 'PhysicalDriveCoercionMode', '128MB'),
 ('megaraid', 'Controller_0', 'MemoryUncorrectableErrors', '0'),
 ('megaraid', 'Controller_0', 'UseDiskActivityForLocate', 'No'),
 ('megaraid', 'Controller_0', 'SasAddress', '5c81f660e6288500'),
 ('megaraid', 'Controller_0', 'ClusterDisable', 'Yes'),
 ('megaraid', 'Controller_0', 'CurrentSizeOfFwCache', '0 MB'),
 ('megaraid', 'Controller_0', 'EnableJbod', 'Yes'),
 ('megaraid', 'Controller_0', 'ExposeEnclosureDevices', 'No'),
 ('megaraid', 'Controller_0', 'DirectPdMapping', 'Yes'),
 ('megaraid', 'Controller_0', 'SelfDiagnostic', 'Yes'),
 ('megaraid', 'Controller_0', 'TimeTakenToDetectCme', '60s'),
 ('megaraid', 'Controller_0', 'ExitCode', '0x00'),
 ('megaraid', 'Controller_0', 'BiosVersion', '4.34.00_4.12.05.00_0x05260000'),
 ('megaraid', 'Controller_0', 'AnyOfflineVdCachePreserved', 'No'),
 ('megaraid', 'Controller_0', 'ForceRebuild', 'Yes'),
 ('megaraid', 'Controller_0', 'PowerSavingOption',"Don't spin down unconfigured drives"),
 ('megaraid', 'Controller_0', 'CriticalDisks', '0'),
 ('megaraid', 'Controller_0', 'DenyForceFailed', 'No'),
 ('megaraid', 'Controller_0', 'MaxStripsPerio', '20'),
 ('megaraid', 'Controller_0', 'SecurityKeyNotBackedup', 'No'),
 ('megaraid', 'Controller_0', 'T10PowerState', 'Yes'),
 ('megaraid', 'Controller_0', 'FwPackageBuild', '20.12.0-0004'),
 ('megaraid', 'Controller_0', 'AllowedDeviceType', 'SAS/SATA Mix'),
 ('megaraid', 'Controller_0', 'MaxArrays', '16'),
 ('megaraid', 'Controller_0', 'SupportTheOceWithoutAddingDrives', 'Yes'),
 ('megaraid', 'Controller_0', 'EnableShieldState', 'No'),
 ('megaraid', 'Controller_0', 'UpgradeKey', 'Absent'),
 ('megaraid', 'Controller_0', 'SecurityKeyAssigned', 'No'),
 ('megaraid', 'Controller_0', 'PostDelay', '90 seconds'),
 ('megaraid', 'Controller_0', 'ClusterActive', 'No'),
 ('megaraid', 'Controller_0', 'MaintainPdFailHistory', 'No'),
 ('megaraid', 'Controller_0', 'RestoreHotSpareOnInsertion', 'No'),
 ('megaraid', 'Controller_0', 'AlarmControl', 'Yes'),
 ('megaraid', 'Controller_0', 'EccBucketSize', '15'),
 ('megaraid', 'Controller_0', 'EccBucketCount', '0'),
 ('megaraid', 'Controller_0', 'SecurityKeyFailed', 'No'),
 ('megaraid', 'Controller_0', 'PrebootCliEnabled', 'No'),
 ('megaraid', 'Controller_0', 'Alarm', 'Disabled'),
 ('megaraid', 'Controller_0', 'InterruptThrottleActiveCount', '16'),
 ('megaraid', 'Controller_0', 'DiskCachePolicy', 'Yes'),
 ('megaraid', 'Controller_0', 'BatteryFru', 'N/A'),
 ('megaraid', 'Controller_0', 'DenyStpPassthrough', 'No'),
 ('megaraid', 'Controller_0', 'CheckConsistencyRate', '30%'),
 ('megaraid', 'Controller_0', 'PatrolReadRate', 'Yes'),
 ('megaraid', 'Controller_0', 'DefaultSpinDownTimeInMinutes', '30'),
 ('megaraid', 'Controller_0', 'BgiRate', 'Yes'),
 ('megaraid', 'Controller_0', 'DeviceInterface', 'PCIE'),
 ('megaraid', 'Controller_0', 'DenySmpPassthrough', 'No'),
 ('megaraid', 'Controller_0', 'MaxDrivesToSpinupAtOneTime', '4'),
 ('megaraid', 'Controller_0', 'TemperatureSensorForController', 'Present'),
 ('megaraid', 'Controller_0', 'MaxLdPerArray', '16'),
 ('megaraid', 'Controller_0', 'PowerSavings', 'Yes'),
 ('megaraid', 'Controller_0', 'DirtyLedShowsDriveActivity', 'No'),
 ('megaraid', 'Controller_0', 'ZcrConfig', 'Unknown'),
 ('megaraid', 'Controller_0', 'RaidLevelSupported', "['RAID0', 'RAID1', 'RAID5', 'RAID00', 'RAID10', 'RAID50', 'PRL 11', 'PRL 11 with spanning', 'PRL11-RLQ0 DDF layout with no span', 'PRL11-RLQ0 DDF layout with span']"),
 ('megaraid', 'Controller_0', 'ClusterMode', 'Disabled'),
 ('megaraid', 'Controller_0', 'Un-CertifiedHardDiskDrives', 'Allow'),
 ('megaraid', 'Controller_0', 'AllowSsdSas/SataMixInVd', 'No'),
 ('megaraid', 'Controller_0', 'ProductName', 'PERC H310 Mini'),
 ('megaraid', 'Controller_0', 'CoercionMode', '128MB'),
 ('megaraid', 'Controller_0', 'PhyPolaritysplit', '0'),
 ('megaraid', 'Controller_0', 'RestoreHotspareOnInsertion', 'Disabled'),
 ('megaraid', 'Controller_0', 'Chiprevision', 'B2'),
 ('megaraid', 'Controller_0', 'TemperatureSensorForRoc', 'Present'),
 ('megaraid', 'Controller_0', 'AllowedMixing', ''),
 ('megaraid', 'Controller_0', 'DisableJoinMirror', 'Yes'),
 ('megaraid', 'Controller_0', 'MinStripSize', '64 KB'),
 ('megaraid', 'Controller_0', 'Subdeviceid', '1f50'),
 ('megaraid', 'Controller_0', 'AllowMixedRedundancyOnArray', 'No'),
 ('megaraid', 'Controller_0', 'ControllerId', '0'),
 ('megaraid', 'Controller_0', 'PredictiveFailPollInterval', '300sec'),
 ('megaraid', 'Controller_0', 'MaxStripSize', '64 KB'),
 ('megaraid', 'Controller_0', 'Nvram', 'Present'),
 ('megaraid', 'Controller_0', 'ClusterPermitted', 'No'),
 ('megaraid', 'Controller_0', 'ZeroBasedEnclosureEnumeration', 'Yes'),
 ('megaraid', 'Controller_0', 'DenyCc', 'No'),
 ('megaraid', 'Controller_0', 'RevertibleHotSpares', 'Yes'),
 ('megaraid', 'Controller_0', 'MaxNumberOfVds', '16'),
 ('megaraid', 'Controller_0', 'Bbu', 'No'),
 ('megaraid', 'Controller_0', 'MaxConfigurableCachecadeSize', '0 GB'),
 ('megaraid', 'Controller_0', 'ReconstructionRate', '30%'),
 ('megaraid', 'Controller_0', 'TtyLogInFlash', 'Yes'),
 ('megaraid', 'Controller_0', 'ClusterSupport', 'No'),
 ('megaraid', 'Controller_0', 'FlushTime', '4 seconds'),
 ('megaraid', 'Controller_0', 'EnableLdbbm', 'Yes'),
 ('megaraid', 'Controller_0', 'MaxParallelCommands', '31'),
 ('megaraid', 'Controller_0', 'Enablecrashdump', 'No'),
 ('megaraid', 'Controller_0', 'IoPolicy', 'No'),
 ('megaraid', 'Controller_0', 'ReconstructRate', 'Yes'),
 ('megaraid', 'Controller_0', 'AllowHddSas/SataMixInVd', 'No'),
 ('megaraid', 'Controller_0', 'DenyForceGood/Bad', 'No'),
 ('megaraid', 'Controller_0', 'PfkInNvram', 'No'),
 ('megaraid', 'Controller_0', 'GlobalHotSpares', 'Yes'),
 ('megaraid', 'Controller_0', 'PhysicalDevices', '3'),
 ('megaraid', 'Controller_0', 'EccBucketLeakRate', '1440 Minutes'),
 ('megaraid', 'Controller_0', 'MaxSgeCount', '60'),
 ('megaraid', 'Controller_0', 'Disks', '2'),
 ('megaraid', 'Controller_0', 'BackgroundRate', '30'),
 ('megaraid', 'Controller_0', 'HostInterface', 'PCIE'),
 ('megaraid', 'Controller_0', 'ReadPolicy', 'None'),
 ('megaraid', 'Controller_0', 'HostRequestReordering', 'Enabled'),
 ('megaraid', 'Controller_0', 'ImageVersionsInFlash', ''),
 ('megaraid', 'Controller_0', 'AllowSataInCluster', 'No'),
 ('megaraid', 'Controller_0', 'Subvendorid', '1028'),
 ('megaraid', 'Controller_0', 'SasDisable', 'No'),
 ('megaraid', 'Controller_0', 'BiosContinueOnError', '0'),
 ('megaraid', 'Controller_0', 'CacheWhenBbuBad', 'Disabled'),
 ('megaraid', 'Controller_0', 'ForceOffline', 'Yes'),
 ('megaraid', 'Controller_0', 'Mfg.Date', '01/11/14'),
 ('megaraid', 'Controller_0', 'DefaultLdPowersavePolicy', 'Controller Defined'),
 ('megaraid', 'Controller_0', 'MaxSpansPerVd', '8'),
 ('megaraid', 'Controller_0', 'DisablePuncturing', 'No'),
 ('megaraid', 'Controller_0', 'EnableWebBios', 'No'),
 ('megaraid', 'Controller_0', 'SupportSecurity', 'No'),
 ('megaraid', 'Controller_0', 'DeviceId', '73'),
 ('megaraid', 'Controller_0', 'ForceOnline', 'Yes'),
 ('megaraid', 'Controller_0', 'TreatSingleSpanR1EAsR10', 'Yes'),
 ('megaraid', 'Controller_0', 'Degraded', '0'),
 ('megaraid', 'Controller_0', 'VirtualDrives', '1'),
 ('megaraid', 'Controller_0', 'LinkSpeed', '0'),
 ('megaraid', 'Controller_0', 'RebuildRate', 'Yes'),
 ('megaraid', 'Controller_0', 'CurrentBootMode', 'Normal'),
 ('megaraid', 'Controller_0', 'PrRate', '30%'),
 ('megaraid', 'Controller_0', 'DisableOnlinePfkChange', 'No'),
 ('megaraid', 'Controller_0', 'Memory', 'Absent'),
 ('megaraid', 'Controller_0', 'Offline', '0'),
 ('megaraid', 'Controller_0', 'FailedDisks', '0'),
 ('megaraid', 'Controller_0', 'WritePolicy', 'WT'),
 ('megaraid', 'Controller_0', 'BootBlockVersion', '2.02.00.00-0001'),
 ('megaraid', 'Controller_0', 'BlockSsdWriteDiskCacheChange', 'No'),
 ('megaraid', 'Controller_0', 'EnableCopybackOnSmart', 'No'),
 ('megaraid', 'Controller_0', 'MemoryCorrectableErrors', '0'),
 ('megaraid', 'Controller_0', 'DisableSpinDownOfHotSpares', 'Yes'),
 ('megaraid', 'Controller_0', 'LedShowDriveActivity', 'Yes'),
 ('megaraid', 'Controller_0', 'NumberOfFrontendPort', '0'),
 ('megaraid', 'Controller_0', 'CcRate', 'Yes'),
 ('megaraid', 'Controller_0', 'BatteryWarning', 'Disabled'),
 ('megaraid', 'Controller_0', 'AllowCtrlEncryption', 'No'),
 ('megaraid', 'Controller_0', 'ReworkDate', '01/11/14'),
 ('megaraid', 'Controller_0', 'SpinDownTime', '30'),
 ('megaraid', 'Controller_0', 'AllowMixInEnclosure', 'Yes'),
 ('megaraid', 'Controller_0', 'EnableSpinDownOfUnconfiguredDrives', 'No'),
 ('megaraid', 'Controller_0', 'Ctrl-RVersion', '3.00-0022'),
 ('megaraid', 'Controller_0', 'EnableCopybackToSsdOnSmartError', 'No'),
 ('megaraid', 'Controller_0', 'PrCorrectUnconfiguredAreas', 'Yes'),
 ('megaraid', 'Controller_0', 'RevisionNo', 'A07'),
 ('megaraid', 'Controller_0', 'SerialDebugger', 'Present'),
 ('megaraid', 'Controller_0', 'SerialNo', '4180120'),
 ('megaraid', 'Controller_0', 'Tpm', 'Absent'),
 ('megaraid', 'Controller_0', 'CachedIo', 'No'),
 ('megaraid', 'Controller_0', 'MaximumNumberOfDirectAttachedDrivesToSpinUpIn1Min', '20'),
 ('megaraid', 'Controller_0', 'AutoDetectBackplaneEnabled', 'SGPIO/i2c SEP'),
 ('megaraid', 'Controller_0', 'ControllerTemperature', '32  degree Celcius'),
 ('megaraid', 'Controller_0', 'DenyMissingReplace', 'No'),
 ('megaraid', 'Controller_0', 'PhyPolarity', '0'),
 ('megaraid', 'Controller_0', 'DedicatedHotSpare', 'Yes'),
 ('megaraid', 'Controller_0', 'ForeignConfigImport', 'Yes'),
 ('megaraid', 'Controller_0', 'LoadBalanceMode', 'Auto'),
 ('megaraid', 'Controller_0', 'AccessPolicy', 'Yes'),
 ('megaraid', 'Controller_0', 'BiosErrorHandling', 'Stop On Errors'),
 ('megaraid', 'Controller_0', 'EnableSsdPatrolRead', 'No'),
 ('megaraid', 'Controller_0', 'AutoRebuild', 'Enabled'),
 ('megaraid', 'Controller_0', 'CurrentSizeOfCachecade', '0 GB'),
 ('megaraid', 'Controller_0', 'FwVersion', '2.120.14-2138'),
 ('megaraid', 'Controller_0', 'AutoDetectBackplaneEnable', 'SGPIO/i2c SEP'),
 ('megaraid', 'Controller_0', 'SupportPfk', 'No'),
 ('megaraid', 'Controller_0', 'SmartMode', 'Mode 6'),
 ('megaraid', 'Controller_0', 'StripSize', '64kB'),
 ('megaraid', 'Controller_0', 'Spanning', 'Yes'),
 ('megaraid', 'Controller_0', 'OnBoardExpander', 'Absent'),
 ('megaraid', 'Controller_0', 'Port', 'Address'),

enovance/edeploy,redhat-cip/edeploy,redhat-cip/edeploy,redhat-cip/edeploy,enovance/edeploy,enovance/edeploy,lebauce/edeploy,lebauce/edeploy,enovance/edeploy,lebauce/edeploy,redhat-cip/edeploy,lebauce/edeploy