10-31-2020 07:33 AM
Hello,
I am currently exploring Cisco IMC programming guide using REST API to automate the staging process and management of Cisco UCS-C rack mounted servers. I have looked up several common tasks as stated in the programming guide, however I could not found the example to modify the IP address, NIC Mode, and NIC Redundancy settings using REST API. I found the path to the CIMC Ethernet Interface using this: /redfish/v1/Managers/CIMC/EthernetInterfaces/NICs, but I did not find the settings for NIC Mode and NIC Redundancy.
Can you help me?
Thank you
11-01-2020 06:53 AM
Greetings.
I'm wondering whether that has been omitted by design.
I checked some other vendors redfish api guides, and don't see that type of functionality either.
Seems like maybe settings that would potentially disrupt the redfish communications, aren't available.
Just my guess.
Kirk...
11-01-2020 08:07 AM
Hello Kirk,
Thank you for your response. If it's not possible with Redfish, could you point me to an alternative? Does XML API or PowerTool capable for this task?
Vincent
11-01-2020 09:45 AM
Didn't see an option in the the IMC powershell module.
Setting IP usually requires SM and DG in coordination, and any of the 3 being incorrect would cause communication outage requiring sneakernet trip. Still guessing that creating a command that would potentially permanently drop the underlying network stack communications that the api's relies on, was something the DEV's skipped over.
Kirk...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide