gitignore: Add file to .gitignore
[cascardo/ovs.git] / tests / kmod-traffic.at
1 AT_BANNER([kmod-sanity])
2
3 AT_SETUP([kmod - ping between two ports])
4 OVS_KMOD_VSWITCHD_START(
5    [set-fail-mode br0 standalone -- ])
6
7 ADD_NAMESPACES(at_ns0, at_ns1)
8
9 ADD_VETH(p0, at_ns0, br0, "10.1.1.1/24")
10 ADD_VETH(p1, at_ns1, br0, "10.1.1.2/24")
11
12 AT_CAPTURE_FILE([ping.output])
13 AT_CHECK([ip netns exec at_ns0 bash -c "ping -q -c 3 -i 0.3 -w 2 10.1.1.2 > ping.output"])
14
15 OVS_KMOD_VSWITCHD_STOP([], DEL_NAMESPACES(at_ns0, at_ns1))
16 AT_CLEANUP