-
Notifications
You must be signed in to change notification settings - Fork 3
[windows] OVS can not detect a disconnected interface #353
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
Comments
We also observed that OVS on Windows may update the value of fields |
ovsrobot
pushed a commit
to ovsrobot/ovs
that referenced
this issue
Mar 28, 2025
…tworkAdapter. This fix could solve the issue for not updated ifi_flags and mac of internal type port which may could not get the correct ifi_flags and mac info when the internal type port is created on Windows platform. With the patch, if user is removing some network adapter via CMD below, OVS on Windows could also update the value of fields admin_state and link_state as "down". Related MAC is also set zero. Remove-VMNetworkAdapter -ManagementOS -SwitchName br-int -VMNetworkAdapterName xxx As in ovs-windows it is not set ifindex on ovs interface, it may need another patch to address the not-implemented ifIndex which could be got via CMD ovs-vsctl list interface. Reported-at:openvswitch/ovs-issues#351 Reported-at:openvswitch/ovs-issues#353 Signed-off-by: Wilson Peng <[email protected]> Signed-off-by: 0-day Robot <[email protected]>
ovsrobot
pushed a commit
to ovsrobot/ovs
that referenced
this issue
Mar 28, 2025
This fix could solve the issue for not updated ifi_flags and mac of internal type port which may could not get the correct ifi_flags and mac info when the internal type port is created on Windows platform. With the patch, if user is removing some network adapter via CMD below, OVS on Windows could also update the value of fields admin_state and link_state as "down". Related MAC is also set zero. Remove-VMNetworkAdapter -ManagementOS -SwitchName br-int -VMNetworkAdapterName xxx As in ovs-windows it is not set ifindex on ovs interface, it may need another patch to address the not-implemented ifIndex which could be got via CMD ovs-vsctl list interface. Reported-at:openvswitch/ovs-issues#351 Reported-at:openvswitch/ovs-issues#353 Signed-off-by: Wilson Peng <[email protected]> Signed-off-by: 0-day Robot <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
With Linux OVS, if an OVS interface is disconnected, we can check the value in field
ifIndex
orofport
to detect it. But it doesn't work on Windows. With local test, we found that Windows OVS doesn't update these fields' values in OVSDB even if an interface is disconnected. This introduces difficulty for the traffic trouble shoot.Reproduce steps:
Remove-VMNetworkAdapter -ManagementOS -SwitchName b1 -VMNetworkAdapterName p1
If we perform the same operations with OVS on Linux, we should observe that p1's ofport value becomes "-1" in step 5 and step 7.
Below is a sample of the OVSDB records for a disconnected interface on Windows,
The text was updated successfully, but these errors were encountered: