On rebooting the system expecting that the newly assigned MAC address must persist
Steps:
- Assign a valid MAC address xx:xx:xx:xx:xx:xx to the system using the curl command
curl -k -H "X-Auth-Token:${bmc_token}" -X PATCH -D patch.txt -d '{"MACAddress":"xx:xx:xx:xx:xx:xx"}' https://$bmc/redfish/v1/Managers/bmc/EthrnetInterfaces/eth0
- Now GET and verify if the MAC address has changed using
curl -k -H "X-Auth-Token:${bmc_token}" -X GET https://${bmc}/redfish/v1/Managers/bmc/EthernetInterfaces/eth0
- Now reboot the BMC and verify if the MAC address remains the same
Expectation:
Expecting that the MAC address should persist on rebooting the system.
@sunharis @raviteja-b
On rebooting the system expecting that the newly assigned MAC address must persist
Steps:
curl -k -H "X-Auth-Token:${bmc_token}" -X PATCH -D patch.txt -d '{"MACAddress":"xx:xx:xx:xx:xx:xx"}' https://$bmc/redfish/v1/Managers/bmc/EthrnetInterfaces/eth0
curl -k -H "X-Auth-Token:${bmc_token}" -X GET https://${bmc}/redfish/v1/Managers/bmc/EthernetInterfaces/eth0
Expectation:
Expecting that the MAC address should persist on rebooting the system.
@sunharis @raviteja-b