
This change adds basic Redfish Chassis resource support based on the newly introduces "chassis" driver infrastructure. As of this patch, the only backend for the Redfish chassis implemented is static config (Flask) file. Story: 2005149 Task: 29856 Change-Id: I1410b833170ced6f53694d431f721ecba19eb596
15 lines
657 B
JSON
15 lines
657 B
JSON
{
|
|
"@odata.type": "#ChassisCollection.ChassisCollection",
|
|
"Name": "Chassis Collection",
|
|
"Members@odata.count": {{ chassis|length }},
|
|
"Members": [
|
|
{% for ch in chassis %}
|
|
{
|
|
"@odata.id": {{ "/redfish/v1/Chassis/%s"|format(ch)|tojson }}
|
|
}{% if not loop.last %},{% endif %}
|
|
{% endfor %}
|
|
],
|
|
"@odata.context": "/redfish/v1/$metadata#ChassisCollection.ChassisCollection",
|
|
"@odata.id": "/redfish/v1/Chassis",
|
|
"@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."
|
|
} |