Merge "Adding status to ethernet interface template"

This commit is contained in:
Zuul 2021-01-06 10:12:46 +00:00 committed by Gerrit Code Review
commit 8192875493
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@
"@odata.type": "#EthernetInterface.v1_0_2.EthernetInterface",
"Id": {{ nic['id']|string|tojson }},
"Name": {{ "VNIC %s"|format(nic['id'])|tojson }},
"Status": {
"State": "Enabled",
"Health": "OK"
},
"PermanentMACAddress": {{ nic['mac']|string|tojson }},
"MACAddress": {{ nic['mac']|string|tojson }},
"@odata.context": "/redfish/v1/$metadata#EthernetInterface.EthernetInterface",