You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Linux OVS, if an OVS interface is disconnected, we can check the value in fieldifIndex or ofport 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:
Create an OVS bridge b1
Add an internal port p1 on bridge b1
Check the ofport filed value on interface p1. // In this step, we should observe a valid value is assigned to the openflow port of p1, e.g., 5.
Delete the VM Network Adapter "p1", e.g. Remove-VMNetworkAdapter -ManagementOS -SwitchName b1 -VMNetworkAdapterName p1
Check the ofport filed value on interface p1. // In this step, we should observe the value of the old openflow port (5) still exists.
Restart ovs-vswitch process
Check the ofport filed value on interface p1. // In this step, we should observe the value of the old openflow port (5) still exists.
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,
We also observed that OVS on Windows may update the value of fields admin_state and link_state as "down" if we restart ovs-vswitchd (note, this modification is observed only if we restart ovs-vswitchd, and it is not happening without the restart). But because of issue #351, these two state is also not trusted for now.
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: