summaryrefslogtreecommitdiffstats
path: root/tests/py/any/rt.t.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/any/rt.t.json')
-rw-r--r--tests/py/any/rt.t.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/py/any/rt.t.json b/tests/py/any/rt.t.json
new file mode 100644
index 0000000..2ca6fe0
--- /dev/null
+++ b/tests/py/any/rt.t.json
@@ -0,0 +1,45 @@
+# rt classid "cosmos"
+[
+ {
+ "match": {
+ "left": {
+ "rt": {
+ "key": "classid"
+ }
+ },
+ "op": "==",
+ "right": "cosmos"
+ }
+ }
+]
+
+# rt ipsec exists
+[
+ {
+ "match": {
+ "left": {
+ "rt": {
+ "key": "ipsec"
+ }
+ },
+ "op": "==",
+ "right": true
+ }
+ }
+]
+
+# rt ipsec missing
+[
+ {
+ "match": {
+ "left": {
+ "rt": {
+ "key": "ipsec"
+ }
+ },
+ "op": "==",
+ "right": false
+ }
+ }
+]
+