summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/ip.t.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/inet/ip.t.json')
-rw-r--r--tests/py/inet/ip.t.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/py/inet/ip.t.json b/tests/py/inet/ip.t.json
new file mode 100644
index 00000000..b2327377
--- /dev/null
+++ b/tests/py/inet/ip.t.json
@@ -0,0 +1,41 @@
+# ip saddr . ip daddr . ether saddr { 1.1.1.1 . 2.2.2.2 . ca:fe:ca:fe:ca:fe }
+[
+ {
+ "match": {
+ "left": {
+ "concat": [
+ {
+ "payload": {
+ "field": "saddr",
+ "name": "ip"
+ }
+ },
+ {
+ "payload": {
+ "field": "daddr",
+ "name": "ip"
+ }
+ },
+ {
+ "payload": {
+ "field": "saddr",
+ "name": "ether"
+ }
+ }
+ ]
+ },
+ "right": {
+ "set": [
+ {
+ "concat": [
+ "1.1.1.1",
+ "2.2.2.2",
+ "ca:fe:ca:fe:ca:fe"
+ ]
+ }
+ ]
+ }
+ }
+ }
+]
+