summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/meta.t.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip/meta.t.json')
-rw-r--r--tests/py/ip/meta.t.json35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/py/ip/meta.t.json b/tests/py/ip/meta.t.json
index f873aa88..f83864f6 100644
--- a/tests/py/ip/meta.t.json
+++ b/tests/py/ip/meta.t.json
@@ -105,3 +105,38 @@
}
]
+# meta sdif "lo" accept
+[
+ {
+ "match": {
+ "left": {
+ "meta": {
+ "key": "sdif"
+ }
+ },
+ "op": "==",
+ "right": "lo"
+ }
+ },
+ {
+ "accept": null
+ }
+]
+
+# meta sdifname != "vrf1" accept
+[
+ {
+ "match": {
+ "left": {
+ "meta": {
+ "key": "sdifname"
+ }
+ },
+ "op": "!=",
+ "right": "vrf1"
+ }
+ },
+ {
+ "accept": null
+ }
+]