diff options
-rw-r--r-- | README-native-tunneling.md | 2 | ||||
-rw-r--r-- | tests/atlocal.in | 8 | ||||
-rw-r--r-- | tests/tunnel-push-pop.at | 4 |
3 files changed, 13 insertions, 1 deletions
diff --git a/README-native-tunneling.md b/README-native-tunneling.md index 989c2517f..e7a2ddcde 100644 --- a/README-native-tunneling.md +++ b/README-native-tunneling.md @@ -49,6 +49,8 @@ There are following commands that shows internal tables: Tunneling related commands: =========================== Tunnel routing table: + These commands are only available on Linux platform. + To Add route: ovs-appctl ovs/route/add <IP address>/<prefix length> <output-bridge-name> <gw> To see all routes configured: diff --git a/tests/atlocal.in b/tests/atlocal.in index 825d28965..bada7e2a6 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -93,13 +93,19 @@ FreeBSD|NetBSD) ;; esac -# Check for MINGW platform. +# Check for platform. case `uname` in MINGW*) IS_WIN32="yes" + IS_BSD="no" + ;; +FreeBSD|NetBSD) + IS_WIN32="no" + IS_BSD="yes" ;; *) IS_WIN32="no" + IS_BSD="no" ;; esac diff --git a/tests/tunnel-push-pop.at b/tests/tunnel-push-pop.at index 44c2ecfa3..c552dd27c 100644 --- a/tests/tunnel-push-pop.at +++ b/tests/tunnel-push-pop.at @@ -2,6 +2,10 @@ AT_BANNER([tunnel_push_pop]) AT_SETUP([tunnel_push_pop - action]) +dnl ovs router is commands are only supported on Linux for now. +AT_SKIP_IF([test "$IS_WIN32" = "yes"]) +AT_SKIP_IF([test "$IS_BSD" = "yes"]) + OVS_VSWITCHD_START([add-port br0 p0 -- set Interface p0 type=dummy ofport_request=1\ -- add-br int-br -- set bridge int-br datapath_type=dummy \ -- add-port int-br t2 -- set Interface t2 type=vxlan \ |