Skip to content

Commit

Permalink
tests: Skip tunnel-push-pop test on Windows and BSD.
Browse files Browse the repository at this point in the history
Also updates ovs-router README documentation.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
  • Loading branch information
Pravin B Shelar committed Nov 14, 2014
1 parent 9c64e6b commit d98e149
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README-native-tunneling.md
Expand Up @@ -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:
Expand Down
8 changes: 7 additions & 1 deletion tests/atlocal.in
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions tests/tunnel-push-pop.at
Expand Up @@ -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 \
Expand Down

0 comments on commit d98e149

Please sign in to comment.