openbmc-test-automation
openbmc-test-automation copied to clipboard
[OpenPower] test_openbmctool_network: Restore network settings after each test cases
Hi, Due to the need for continuous testing, I would like to inquire whether it's possible to implement a feature in the future that restores network settings after each test case ? Especially for SetHostName, addIP/removeIP, addVLAN/deleteVLAN and SetMACAddress
@prkatti1 @swe12345 can you respond to this ?
Thanks Tom. Good Catch. You can include the code for Setting back the original IP/ MAC and Hostname values. For VLAN test case, the add and delete is taken care of in the teardown. You can go ahead and make the required changes please.
I can make these changes else.
Thank you @swe12345 let us know when you make this changes..
Thank you @tom-ky-wu for the feedback
we are no longer supporting openbmctool at the latest master code. If needed use the branch v4.0-stable for it ..
Please take a look at the above mailing list note https://lists.ozlabs.org/pipermail/openbmc/2023-December/034575.html . Thanks