Post by sylvaine on Nov 4, 2024 9:53:32 GMT
Our question is regarding an erroneous Redfish standard implementation that needs to be corrected without implementing any compatibilty issue with external software.
Here is an example using the Assembly section.
From the DMTF, the Assembly section is supposed to be implemented as such:
Here is an example using the Assembly section.
From the DMTF, the Assembly section is supposed to be implemented as such:
"Assembly": {
"@odata.type": "#Assembly.v1_5_1.Assembly",
"Id": "Assembly",
"Name": "System-related Assembly data",
"Assemblies":
[
{
"@odata.id": "/redfish/v1/Chassis/1/Assembly#/Assemblies/0",
"MemberId": "0",
"Name": "System Board",
"Description": "PCA System Board",
"Model": "345TTT",
"PartNumber": "923943",
"SerialNumber": "345394834",
"ProductionDate": "2017-04-01T14:55:33+03:00",
"Producer": "Contoso Supply Co.",
},
],
"@odata.id": "/redfish/v1/Chassis/1/Assembly"
}
"@odata.type": "#Assembly.v1_5_1.Assembly",
"Id": "Assembly",
"Name": "System-related Assembly data",
"Assemblies":
[
{
"@odata.id": "/redfish/v1/Chassis/1/Assembly#/Assemblies/0",
"MemberId": "0",
"Name": "System Board",
"Description": "PCA System Board",
"Model": "345TTT",
"PartNumber": "923943",
"SerialNumber": "345394834",
"ProductionDate": "2017-04-01T14:55:33+03:00",
"Producer": "Contoso Supply Co.",
},
],
"@odata.id": "/redfish/v1/Chassis/1/Assembly"
}
But let's say that it got implemented without the Assemblies collection as followed instead:
"Assembly": {
"Name": "System Board",
"Description": "PCA System Board",
"Model": "345TTT",
"PartNumber": "923943",
"Producer": "Contoso Supply Co.",
"ProductionDate": "2017-04-01T14:55:33+03:00",
"SerialNumber": "345394834"
},
"Name": "System Board",
"Description": "PCA System Board",
"Model": "345TTT",
"PartNumber": "923943",
"Producer": "Contoso Supply Co.",
"ProductionDate": "2017-04-01T14:55:33+03:00",
"SerialNumber": "345394834"
},
In order to correct this, we are wondering if the @redfish.Deprecated annotation could be used on the erroneous properties as shown on the following example ?
"Assembly": {
"Assemblies":
[
{
"@odata.id": "/redfish/v1/Chassis/1/Assembly#/Assemblies/0",
"MemberId": "0",
"Name": "System Board",
"Description": "PCA System Board",
"Model": "345TTT",
"PartNumber": "923943",
"SKU": "55ZZATR",
"SerialNumber": "345394834",
"Vendor": "Contoso",
"ProductionDate": "2017-04-01T14:55:33+03:00",
"Producer": "Contoso Supply Co."
},
],
"Name": "System Board",
"Name@Redfish.Deprecated ": "This property has been deprecated in favor of /redfish/v1/Chassis/1/Assembly#/Assemblies/0/Name",
"Description": "PCA System Board",
"Description@Redfish.Deprecated ": "This property has been deprecated in favor of /redfish/v1/Chassis/1/Assembly#/Assemblies/0/Description",
"Model": "345TTT",
"Model@Redfish.Deprecated ": "This property has been deprecated in favor of /redfish/v1/Chassis/1/Assembly#/Assemblies/0/Model",
"PartNumber": "923943",
"PartNumber@Redfish.Deprecated ": "This property has been deprecated in favor of /redfish/v1/Chassis/1/Assembly#/Assemblies/0//PartNumber",
"Producer": "Contoso Supply Co.",
"Producer@Redfish.Deprecated ": "This property has been deprecated in favor of /redfish/v1/Chassis/1/Assembly#/Assemblies/0/Producer",
"ProductionDate": "2017-04-01T14:55:33+03:00",
"ProductionDate@Redfish.Deprecated ": "This property has been deprecated in favor of /redfish/v1/Chassis/1/Assembly#/Assemblies/0/ProductionDate",
"SerialNumber": "345394834",
"SerialNumber@Redfish.Deprecated ": "This property has been deprecated in favor of /redfish/v1/Chassis/1/Assembly#/Assemblies/0/SerialNumber",
},
"Assemblies":
[
{
"@odata.id": "/redfish/v1/Chassis/1/Assembly#/Assemblies/0",
"MemberId": "0",
"Name": "System Board",
"Description": "PCA System Board",
"Model": "345TTT",
"PartNumber": "923943",
"SKU": "55ZZATR",
"SerialNumber": "345394834",
"Vendor": "Contoso",
"ProductionDate": "2017-04-01T14:55:33+03:00",
"Producer": "Contoso Supply Co."
},
],
"Name": "System Board",
"Name@Redfish.Deprecated ": "This property has been deprecated in favor of /redfish/v1/Chassis/1/Assembly#/Assemblies/0/Name",
"Description": "PCA System Board",
"Description@Redfish.Deprecated ": "This property has been deprecated in favor of /redfish/v1/Chassis/1/Assembly#/Assemblies/0/Description",
"Model": "345TTT",
"Model@Redfish.Deprecated ": "This property has been deprecated in favor of /redfish/v1/Chassis/1/Assembly#/Assemblies/0/Model",
"PartNumber": "923943",
"PartNumber@Redfish.Deprecated ": "This property has been deprecated in favor of /redfish/v1/Chassis/1/Assembly#/Assemblies/0//PartNumber",
"Producer": "Contoso Supply Co.",
"Producer@Redfish.Deprecated ": "This property has been deprecated in favor of /redfish/v1/Chassis/1/Assembly#/Assemblies/0/Producer",
"ProductionDate": "2017-04-01T14:55:33+03:00",
"ProductionDate@Redfish.Deprecated ": "This property has been deprecated in favor of /redfish/v1/Chassis/1/Assembly#/Assemblies/0/ProductionDate",
"SerialNumber": "345394834",
"SerialNumber@Redfish.Deprecated ": "This property has been deprecated in favor of /redfish/v1/Chassis/1/Assembly#/Assemblies/0/SerialNumber",
},
If this is incorrect, what can be done ?
Thanks