mei
Minnow
Posts: 4
|
Post by mei on Nov 30, 2020 13:45:07 GMT
Hello all, I have a requirment to update some chassis properties through redfish, such as "SerialNumber", "PartNumber" etc. But in the schema file, the data permission is read. So Could I modify the schema "OData.Permission/Read" to "OData.Permission/ReadWrite"? If I can, how to do it? Or If I can't modify the schema, Can I just implement the requirement to update these properties? Chassis_v1.xml (64.89 KB) Thank you in advance.
|
|
|
Post by josephreynolds1 on Dec 1, 2020 19:40:22 GMT
Is this similar to redfishforum.com/thread/333/proposed-new-servicerep-role-privilege and specifically Richard's post in that thread that explains that the manufacturer needs to change the permanent MAC address, part serial numbers, etc. I want to say that the Redfish direction is as follows: - The proposed functions are not intended as admin/operator interfaces, and are specialized for manufacturing usage. Redfish function leans toward users and away from manufacturers) and so in cases like this, to avoid confusing users, Redfish chooses not to change the spec. - The direction is to control access to PUT to the URI specified by the Assembly BinaryDataURI which models the eeprom that contains this data. However, I don't speak for Redfish and cannot find any public references.
|
|
|
Post by jautor on Dec 2, 2020 4:41:49 GMT
Joe is correct - Redfish is an end-user interface, and so the property-level permissions reflect the functionality that is expected to be exposed to an end user. Users cannot normally change serial numbers, factory-assigned MAC addresses, etc.
But internal to the service implementation, a lot of those properties must be set, either during manufacturing processes, service events, or external data providers. All of those cases are 'out of scope' for Redfish - and so those schema permission rules don't apply.
So while you can't modify the schema to make a read-only property into a read-write property for end users, you can certainly provide an OEM mechanism to enable "factory/service mode" that would allow normally read-only properties to be changed.
Hope that clarifies the intent,
Jeff
|
|
|
Post by josephreynolds1 on Dec 4, 2020 19:27:16 GMT
|
|