From 1e30a3a49a5eaf2a1e0e4b2d8f4949db9db565e7 Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Sun, 24 Oct 2021 09:37:35 +0200 Subject: tests: py: Move netdev-specific tests to appropriate subdirectory The fwd and dup statements are specific to netdev hooks, so move their tests to the appropriate subdirectory. Signed-off-by: Lukas Wunner Signed-off-by: Pablo Neira Ayuso --- tests/py/netdev/dup.t.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/py/netdev/dup.t.json (limited to 'tests/py/netdev/dup.t.json') diff --git a/tests/py/netdev/dup.t.json b/tests/py/netdev/dup.t.json new file mode 100644 index 00000000..dc56f649 --- /dev/null +++ b/tests/py/netdev/dup.t.json @@ -0,0 +1,30 @@ +# dup to "lo" +[ + { + "dup": { + "addr": "lo" + } + } +] + +# dup to meta mark map { 0x00000001 : "lo", 0x00000002 : "lo"} +[ + { + "dup": { + "addr": { + "map": { + "key": { + "meta": { "key": "mark" } + }, + "data": { + "set": [ + [ 1, "lo" ], + [ 2, "lo" ] + ] + } + } + } + } + } +] + -- cgit v1.2.3