|
Post by harim on Feb 15, 2017 18:35:00 GMT
I am new to redfish and swordfish. Not sure if this is the site to post Swordfish related questions. In trying to understand the swordfish schema, I was going through the mockups posted on SNIA. The StorageGroup schema points to a volume collection. However, one mockup shows a list of volumes while the other shows a collection of volumes. I presume the latter is correct? See relevant cut pastes below-
/redfish/v1/StorageServices/FileService/Storage/StorageGroups/1 :-
"@odata.context": "/redfish/v1/$metadata#StorageGroup.StorageGroup",
"@odata.id": "/redfish/v1/StorageServices/FileService/Storage/StorageGroups/1",
"@odata.type": "#StorageGroup_1_0_0.StorageGroup",
...
"Volumes": [
{
"@odata.id": "/redfish/v1/StorageServices/FileService/Volumes/61001234876545676100123487654567"
},
{
"@odata.id": "/redfish/v1/StorageServices/FileService/Volumes/65456765456761001234876100123487"
}
],
...
Whereas /redfish/v1/StorageServices/1/StorageGroups/1 shows a volume collection :- "@odata.context": "/redfish/v1/$metadata#StorageGroup.StorageGroup/1",
"@odata.id": "/redfish/v1/StorageServices/1/StorageGroups/1",
"@odata.type": "#StorageGroup_1_0_0.StorageGroup",
... "Volumes": {"@odata.id": "/redfish/v1/StorageServices/1/Volumes"},
...
|
|
|
Post by jautor on Feb 16, 2017 22:40:58 GMT
I am new to redfish and swordfish. Not sure if this is the site to post Swordfish related questions. This is absolutely the right place to ask both Swordfish and Redfish questions. In fact, we'll be adding Swordfish-specific sub-forums ASAP. As to your actual question, I'll leave that for the storage experts to answer. Jeff
|
|
|
Post by harim on Feb 17, 2017 19:42:59 GMT
Thanks jautor. I'll re-post this under 'Swordfish specification' -> 'Schema questions'.
|
|