15 lines
804 B
JSON
15 lines
804 B
JSON
{
|
|
"@odata.type": "#VolumeCollection.VolumeCollection",
|
|
"Name": "Storage Volume Collection",
|
|
"Members@odata.count": {{ volume_col|length }},
|
|
"Members": [
|
|
{% for volume in volume_col %}
|
|
{
|
|
"@odata.id": {{ "/redfish/v1/Systems/%s/Storage/%s/Volumes/%s"|format(identity, storage_id, volume)|tojson }}
|
|
}{% if not loop.last %},{% endif %}
|
|
{% endfor %}
|
|
],
|
|
"@odata.context": "/redfish/v1/$metadata#VolumeCollection.VolumeCollection",
|
|
"@odata.id": {{ "/redfish/v1/Systems/%s/Storage/%s/Volumes"|format(identity, storage_id)|tojson }},
|
|
"@Redfish.Copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
|
|
} |