[ovs-dev] [PATCH] ovn-controller tests: Windows does not register "tap"

Alin Serdean aserdean at cloudbasesolutions.com
Mon Oct 3 14:50:54 UTC 2016


On Windows we do not register "tap" as an interface type since it is not
supported.

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
---
 tests/ovn-controller.at | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/ovn-controller.at b/tests/ovn-controller.at
index 00ee482..b1211a5 100644
--- a/tests/ovn-controller.at
+++ b/tests/ovn-controller.at
@@ -195,7 +195,11 @@ OVS_WAIT_UNTIL([check_datapath_type ""])
 
 # The following will need to be updated as OVS starts to support more
 # interface types.
-expected_iface_types="dummy,dummy-internal,dummy-pmd,geneve,gre,internal,lisp,patch,stt,system,tap,vxlan"
+if test "$IS_WIN32" = "yes"; then
+    expected_iface_types="dummy,dummy-internal,dummy-pmd,geneve,gre,internal,lisp,patch,stt,system,vxlan"
+else
+    expected_iface_types="dummy,dummy-internal,dummy-pmd,geneve,gre,internal,lisp,patch,stt,system,tap,vxlan"
+fi
 chassis_iface_types=$(ovn-sbctl get Chassis ${sysid} external_ids:iface-types | sed -e 's/\"//g')
 echo "chassis_iface_types = ${chassis_iface_types}"
 AT_CHECK([test "${expected_iface_types}" = "${chassis_iface_types}"])
-- 
2.9.2.windows.1



More information about the dev mailing list