|
Post by dlsandy on Nov 23, 2023 18:19:22 GMT
Everyone, A colleague of mine posted a similar question but I cannot find the thread, so at risk of repeating what has already been answered, let me try again:
Question 1: If an ActionInfo is supplied for an action using @redfish.ActionInfo, do the parameters in the ActionInfo need to be also included in the body of the Action definition? From the example in the Redfish specification and all of the mockup examples that I could find, these two methods appear to be mutually exclusive. So I think the answer is "No".
Question 2: Is it permissible for different instances of an object to reference different ActionInfo objects with different parameter definitions? For instance, the public cxl mockup has an instance of memory in /redfish/v1/Chassis/PooledCXLType3/Memory called 3DXP with ActionInfo for the Memory.InjectPersistentPoison action located at /redfish/v1/Chassis/PooledCXLType3/Memory/3DXP/InjectPersistentPoisonActionInfo.
Could I have another instance of memory called 3DXP2 (for example) with ActionInfo for Memory.InjectPersistentPoison located at a different url that has different parameter metadata?
Note, I am not concerned about the cxl mockup usage, but rather about the use of ActionInfo to provide different parameter information for different instances of an object.
I look forward to your response.
-Doug Sandy
|
|