Hi, I need to represent the system/subsystem hierarchy as below in Redfish or Swordfish. The top level computer system can be an individual computer or contain multiple subsystems; each subsystem can be an individual computer or contain another layer of subsystems. Please kindly advise, thanks!
So as I understand, there is no such thing as /redfish/v1/Systems/Subsystem1/Subsystem1.1 /redfish/v1/Systems/Subsystem2/Subsystem2.1/Subsystem2.1.n
In Redfish, all systems/subsystems are represented flat under /redfish/v1/Systems like this: /redfish/v1/Systems/Subsystem1 /redfish/v1/Systems/Subsystem1.1 /redfish/v1/Systems/Subsystem2 /redfish/v1/Systems/Subsystem2.1 /redfish/v1/Systems/Subsystem2.1.n
Their parent/child relationship is represented through the Consuming/SupplyingComputerSystems within each entity. Please correct me if I am wrong.
I have one more question: Is there any limit on the length of the path? For example,/redfish/v1/Systems/Subsystem<uuid>_SomeOther<nqn>_SomethingElse......
ConsumingComputerSystems and SupplyingComputerSystems were put in for Composition model and were intended for Partitioned systems, where a larger ComputerSystems are composed from smaller ComputerSystems. Keep this in mind in what you are doing as generic clients may expect this usage. We have a containment heirarchy in Chassis but not really in ComputerSystem. There is no URI limit specified in Redfish. There are URI limits in the RFCs, but also limits in implementations and there are buffer limits in smaller environments. We are advising against using strings like "System" or "Subsystem" but using UUIDs and other unique qualifiers for collection members is advisable. General advice is to keep it as small as possible as the URI is not really meant to be human parsable (but the Name property could be).
Can you describe your use case? If this is, for example, aggregation, then this is not how we would advise to represent the system.
Thanks for the reply! Our use case is to represent a cluster of servers with direct-attached NVMe SSDs.
One thing is confusing that even though the Redfish Spec says Chassis is the physical representation of computers and Systems is for logical, all the examples I see have drives under System\Storage instead of Chassis. Please see the following links. Chassis usually only has thermal and power. I know there are links between Chassis and System.