summaryrefslogtreecommitdiffstats
path: root/tests/py/netdev/fwd.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/netdev/fwd.t')
-rw-r--r--tests/py/netdev/fwd.t9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/py/netdev/fwd.t b/tests/py/netdev/fwd.t
new file mode 100644
index 0000000..6051560
--- /dev/null
+++ b/tests/py/netdev/fwd.t
@@ -0,0 +1,9 @@
+:ingress;type filter hook ingress device lo priority 0
+:egress;type filter hook egress device lo priority 0
+
+*netdev;test-netdev;ingress,egress
+
+fwd to "lo";ok
+fwd to meta mark map { 0x00000001 : "lo", 0x00000002 : "lo"};ok
+
+fwd ip to 192.168.2.200 device "lo";ok