10 lines
462 B
JSON
10 lines
462 B
JSON
{
|
|
"@odata.type": "#EthernetInterface.v1_0_2.EthernetInterface",
|
|
"Id": {{ nic['id']|string|tojson }},
|
|
"Name": {{ "VNIC %s"|format(nic['id'])|tojson }},
|
|
"PermanentMACAddress": {{ nic['mac']|string|tojson }},
|
|
"MACAddress": {{ nic['mac']|string|tojson }},
|
|
"@odata.context": "/redfish/v1/$metadata#EthernetInterface.EthernetInterface",
|
|
"@odata.id": {{ "/redfish/v1/Systems/%s/EthernetInterfaces/%s"|format(identity, nic['id'])|tojson }}
|
|
}
|