dell / iDRAC-Redfish-Scripting

Python and PowerShell scripting for Dell EMC PowerEdge iDRAC REST API with DMTF Redfish
GNU General Public License v2.0
584 stars 273 forks source link

Exported ServerConfigurationProfile has commented out properties #304

Closed jasmeer closed 1 month ago

jasmeer commented 1 month ago

Hi I have exported server profile in xml format. Some properties are commented out:

Enabled
<!-- <Attribute Name="UefiBootSeq">NIC.HttpDevice.1-1, Unknown.Unknown.2-1, Unknown.Unknown.3-1</Attribute> -->
<!-- <Attribute Name="HddSeq"></Attribute> -->
<!-- <Attribute Name="OneTimeBiosBootSeq"></Attribute> -->
<!-- <Attribute Name="OneTimeUefiBootSeq"></Attribute> -->
<!-- <Attribute Name="OneTimeHddSeq"></Attribute> -->

Why these are included in the output?

Thanks Jas

texroemer commented 1 month ago

Hi @jasmeer

Some attributes in the SCP file may be commented out due to multiple reasons:

  1. Destructive attributes (Example: LCAttributes.1#LifecycleControllerState. If you set this attribute to disabled during import all settings will fail to apply).
  2. Password attributes (Example: Users.2#Password), passwords will not get exported in clear text but you are allowed to uncomment the attribute and set the password attribute.
  3. Dependency based attributes (Example: BIOS attribute ProcPwrPerf is dependent on attribute SysProfile. If SysProfile is not set to Custom ProcPwrPerf attribute will be commented out).

For more details about commented attributes see SCP reference guide (Default, Clone, and Replace Tables section):

https://infohub.delltechnologies.com/en-us/t/server-configuration-profiles-reference-guide/

Thanks Tex

jasmeer commented 1 month ago

Thanks @texroemer for the quick reply.