|
Post by harim on Feb 17, 2017 19:33:56 GMT
In Capacity.v1_0_0.CapacitySource :- >>>>>>>>>>>>> "ProvidingDrives": { "anyOf": [ {"$ref": "http://redfish.dmtf.org/schemas/Swordfish/v1/DriveCollection.json#/definitions/DriveCollection"}, {"type": "null"} ], "description": "The drive or drives that provide this space.", "longDescription": "The value shall be a reference to a contributing drive or drives." <<<<<<<<<<<< The longDescription uses the phrase 'A contributing drive or drives'. Should this be redefined as - "anyOf": [ {"$ref": "http://redfish.dmtf.org/schemas/Swordfish/v1/DriveCollection.json#/definitions/DriveCollection"}, {"$ref": "http://redfish.dmtf.org/schemas/v1/Drive.json#/definitions/Drive"}, {"type": "null"} ], Or, Are you just saying that the [email protected] can be 1 inside the collection? If so, why mention it explicitly here (since Any collection could have a single member) Thanks, Hari
|
|
|
Post by Richelle Ahlvers on Feb 21, 2017 16:48:04 GMT
To clarify the longDescription verbiage: "If present, the property shall be a reference to a contributing drive or drives." The properties (collections) are not required to be present.
These are reference to collection resources, if they are present.
We will look at updating and clarifying the description to these properties.
Thanks, Richelle
|
|
|
Post by Hari on Feb 21, 2017 19:01:04 GMT
Thanks Richelle!
|
|
|
Post by gericson on May 18, 2017 12:22:21 GMT
Hari, you are correct. This description is for a DriveCollection resource. It should read: "If present, the value shall be a reference a DriveCollection resource that includes a Members property that is an array of zero or more references to contributing drives."
|
|