Post by fish on Dec 19, 2017 16:08:14 GMT
Im trying to understand how the Swordfish model should work, and more specifically how it should be connected the “original Redfish” model.
As a result I have some questions/issues related to the mockup included in Swordfish 1.0.5.
- StorageService/1 contains reference to collection of Drives, but the only included drive seems to be a reference to “/Chassis/StorageEnclosure1/Drives”, which does not exist, as no such chassis resource exist? But should this not be a reference to /systems/<id>/storage/drive/ instead? A chassis will also only contain reference to /systems/<id>/storage/drive/, because drives are child resources (containment) of systems/<id>/storage, and not child to Chassis resource? Currently the drives seem to be located as child resources to the Chassis “StorageChassis1” (assuming the URIs indicate containment hierarchy), but this seems strange, as the Drive should be child to /systems/<id>/storage/ instead. (Unfortunately files describing the Drives items and drives collection is missing under Chassis resource.)
- Regarding Volumes: I assume that these will be child to (contained by) the StorageService ? (and the Volumes are only referenced from Systems/<id>/Storage resource property, via a Volumes Collection containing only reference to Volume that is child of StorageService). OK?
Also, it seems like Systems/<id>/Storage exposes array of volumes instead of link to collection of Volumes (as specified by schema?).
- Why is Volume schema included in both Redfish and Swordfish schema bundles? I assume it should be in only one of them in the end? Redfish?