sushy-tools/sushy_tools/emulator/templates/manager_collection.json
Ilya Etingof f1ae2365a8 Add Managers resource support
This change adds basic Redfish Managers resource support based
on the newly introduces "manager" driver infrastructure. As of
this patch, the only backend for the Redfish manager implemented
is static config (Flask) file.

Story: 2005149
Task: 29856
Change-Id: I95e957ad02b602410049c5f078c0703e2f0a4962
2019-07-01 12:23:24 +02:00

17 lines
685 B
JSON

{
"@odata.type": "#ManagerCollection.ManagerCollection",
"Name": "Manager Collection",
"Members@odata.count": {{ manager_count }},
"Members": [
{% for manager in managers %}
{
"@odata.id": {{ "/redfish/v1/Managers/%s"|format(manager)|tojson }}
}{% if not loop.last %},{% endif %}
{% endfor %}
],
"Oem": {},
"@odata.context": "/redfish/v1/$metadata#ManagerCollection.ManagerCollection",
"@odata.id": "/redfish/v1/Managers",
"@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."
}