-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IP configuration is not persistent on Disabling Interface and enabling back. #55
Comments
I think changing the state of the interface should not have any impact on existing network settings. |
@wak-google Any update on this please |
This is expected, it refreshes the interface after it gets disabled which clears out all the IP info. We don't have a way to read IP information outside of what is configured on the interface. |
Disabling the interface, we should not loose the IP details right @wak-google?? |
We do lose them today, AFAICT it will be difficult for us to model a change to this to preserve the details. |
Yes. @swe12345 Can this issue be closed? This is working as per the design. |
* Fix compilation issue This PR is to fix the compilation issue caused by not declaring a variable. Reference: [1] https://sys-openbmc-dev-jenkins.swg-devops.com/job/OpenBMC-Dev/job/build/job/github-private/job/openbmc-build-matrix-x86/label=x86-docker-builder,target=p10bmc/112/console Signed-off-by: Asmitha Karunanithi <[email protected]> * Fix compilation issues This PR fixes compilation issues introduced by the following PRs: [1] ibm-openbmc#51 Signed-off-by: Asmitha Karunanithi <[email protected]> Signed-off-by: Asmitha Karunanithi <[email protected]>
Problem:
IP configuration is not persistent on Disabling Interface and enabling it back.
Steps to recreate:
curl -k -H "X-Auth-Token: $bmc_token" -D get.txt -X PATCH -d '{"InterfaceEnabled":false}' https://$bmc/redfish/v1/Managers/bmc/EthernetInterfaces/eth0
2.Now check the configuration- it is lost- expected
3. Now Enable the interface back using curl commands
curl -k -H "X-Auth-Token: $bmc_token" -D get.txt -X PATCH -d '{"InterfaceEnabled":true}' https://$bmc/redfish/v1/Managers/bmc/EthernetInterfaces/eth0
Expected Results:
IP configuration should persist
@sunharis @wak-google
The text was updated successfully, but these errors were encountered: