18 lines
682 B
JSON
18 lines
682 B
JSON
{
|
|
"@odata.type": "#EthernetInterfaceCollection.EthernetInterfaceCollection",
|
|
"Name": "Ethernet Interface Collection",
|
|
"Description": "Virtual NICs",
|
|
"Members@odata.count": {{ nics|length }},
|
|
"Members": [
|
|
{% for nic in nics %}
|
|
{
|
|
"@odata.id": {{ "/redfish/v1/Systems/%s/EthernetInterfaces/%s"|format(identity, nic.id)|tojson }}
|
|
}{% if not loop.last %},{% endif %}
|
|
{% endfor %}
|
|
],
|
|
"Oem": {},
|
|
"@odata.context": "/redfish/v1/$metadata#EthernetInterfaceCollection.EthernetInterfaceCollection",
|
|
"@odata.id": {{ "/redfish/v1/Systems/%s/EthernetInterfaces"|format(identity)|tojson }}
|
|
}
|
|
|