summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/rt.t.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip/rt.t.json')
-rw-r--r--tests/py/ip/rt.t.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/py/ip/rt.t.json b/tests/py/ip/rt.t.json
new file mode 100644
index 0000000..41dbe34
--- /dev/null
+++ b/tests/py/ip/rt.t.json
@@ -0,0 +1,16 @@
+# rt nexthop 192.168.0.1
+[
+ {
+ "match": {
+ "left": {
+ "rt": {
+ "family": "ip",
+ "key": "nexthop"
+ }
+ },
+ "op": "==",
+ "right": "192.168.0.1"
+ }
+ }
+]
+