GET / CREATE – Collection of ethernet interface
Use the GET / CREATE method to retrieve properties in EthernetInterfaces for Redfish service.
Request URL
https://<SMM_IPADDR>/redfish/v1/Managers/bmc/EthernetInterfaces
Request body
None
Response body
Field | Type | Description | |||
|---|---|---|---|---|---|
Description | String | “Collection of EthernetInterfaces for this Manager” | |||
Members | Array | List of ethernet interface | |||
Members[N] | link | Links to ethernet interface. | |||
Members@odata.count | Integer | Count of ethernet interfaces | |||
Name | String | “Ethernet Network Interface Collection” | |||
REST operation — CREATE
| Operation | Properties | Comment |
| CREATE | N/A | Create VLAN interface with a related physical interface, e.g. “-X POST https://${bmc}/redfish/v1/Managers/bmc/EthernetInterfaces -d '{"VLAN": {"VLANEnable": true, "VLANId": 2}, "Links": {"RelatedInterfaces": [{"@odata.id": "/redfish/v1/Managers/bmc/EthernetInterfaces/eth0"}]}}'” |
Give documentation feedback