Add Volumes nav property to Storage template
The Storage emulator template did not include the Volumes navigation property. Without this property, a client cannot locate the Volumes collection. Adds the Volumes navigation property to the Storage emulator template. Change-Id: Iac05c0ee131cc077af43fea6c93d342ce11a81cd Story: 2003514 Task: 40776
This commit is contained in:
parent
c5b99058b2
commit
18c5701cc5
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Adds the ``Volumes`` navigation property to the ``Storage`` emulator
|
||||||
|
template.
|
@ -47,6 +47,9 @@
|
|||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
],
|
],
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
"Volumes": {
|
||||||
|
"@odata.id": {{ "/redfish/v1/Systems/%s/Storage/%s/Volumes"|format(identity, storage['Id'])|tojson }}
|
||||||
|
},
|
||||||
"@odata.context": "/redfish/v1/$metadata#Storage.Storage",
|
"@odata.context": "/redfish/v1/$metadata#Storage.Storage",
|
||||||
"@odata.id": {{ "/redfish/v1/Systems/%s/Storage/%s"|format(identity, storage['Id'])|tojson }}
|
"@odata.id": {{ "/redfish/v1/Systems/%s/Storage/%s"|format(identity, storage['Id'])|tojson }}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user