-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1373 from SEKOIA-IO/fix/infoblox_ddi_format
Fix: Infoblox DDI format improvement
- Loading branch information
Showing
20 changed files
with
1,007 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"input": { | ||
"message": "Option 82: received a REQUEST DHCP packet from relay-agent eth2 with a circuit-id of \"1a:02:30:00:00:00:00:76:00:00:00:00:00:00:2a:f0\", a remote-id of \"0a:44:70:46\" for 192.168.1.222 (00:50:56:ae:b3:44) lease time is undefined seconds. (NEW)" | ||
}, | ||
"expected": { | ||
"message": "Option 82: received a REQUEST DHCP packet from relay-agent eth2 with a circuit-id of \"1a:02:30:00:00:00:00:76:00:00:00:00:00:00:2a:f0\", a remote-id of \"0a:44:70:46\" for 192.168.1.222 (00:50:56:ae:b3:44) lease time is undefined seconds. (NEW)", | ||
"event": { | ||
"action": "REQUEST DHCP", | ||
"reason": "lease time is undefined seconds. (NEW)" | ||
}, | ||
"dns": { | ||
"header_flags": [], | ||
"type": "query" | ||
}, | ||
"infoblox": { | ||
"dhcp": { | ||
"circuit_id": "1a:02:30:00:00:00:00:76:00:00:00:00:00:00:2a:f0" | ||
} | ||
}, | ||
"related": { | ||
"ip": [ | ||
"192.168.1.222" | ||
] | ||
}, | ||
"source": { | ||
"address": "192.168.1.222", | ||
"ip": "192.168.1.222", | ||
"mac": "00:50:56:ae:b3:44" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"input": { | ||
"message": "Option 82: received a REQUEST DHCP packet from relay-agent 192.168.1.53 with a circuit-id of \"1a:02:30:00:00:00:00:76:00:00:00:00:00:00:2a:f0\", a remote-id of \"0a:44:70:46\" for 192.168.1.53 (00:50:56:ae:b3:44) lease time is undefined seconds. (NEW)" | ||
}, | ||
"expected": { | ||
"message": "Option 82: received a REQUEST DHCP packet from relay-agent 192.168.1.53 with a circuit-id of \"1a:02:30:00:00:00:00:76:00:00:00:00:00:00:2a:f0\", a remote-id of \"0a:44:70:46\" for 192.168.1.53 (00:50:56:ae:b3:44) lease time is undefined seconds. (NEW)", | ||
"event": { | ||
"action": "REQUEST DHCP", | ||
"reason": "lease time is undefined seconds. (NEW)" | ||
}, | ||
"dns": { | ||
"header_flags": [], | ||
"type": "query" | ||
}, | ||
"infoblox": { | ||
"dhcp": { | ||
"circuit_id": "1a:02:30:00:00:00:00:76:00:00:00:00:00:00:2a:f0" | ||
} | ||
}, | ||
"related": { | ||
"ip": [ | ||
"192.168.1.53" | ||
] | ||
}, | ||
"source": { | ||
"address": "192.168.1.53", | ||
"ip": "192.168.1.53", | ||
"mac": "00:50:56:ae:b3:44" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"input": { | ||
"message": "DHCPREQUEST for 192.168.1.107 from e8:c8:29:5c:c8:99 via 192.168.1.107 TransID 80b994d6" | ||
}, | ||
"expected": { | ||
"message": "DHCPREQUEST for 192.168.1.107 from e8:c8:29:5c:c8:99 via 192.168.1.107 TransID 80b994d6", | ||
"event": { | ||
"action": "DHCPREQUEST" | ||
}, | ||
"dns": { | ||
"header_flags": [], | ||
"type": "query" | ||
}, | ||
"infoblox": { | ||
"dhcp": { | ||
"interface_ip": "192.168.1.107", | ||
"trans_id": "80b994d6" | ||
} | ||
}, | ||
"related": { | ||
"ip": [ | ||
"192.168.1.107" | ||
] | ||
}, | ||
"source": { | ||
"address": "192.168.1.107", | ||
"ip": "192.168.1.107", | ||
"mac": "e8:c8:29:5c:c8:99" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"input": { | ||
"message": "DHCPREQUEST for 192.168.1.208 from 00:50:56:ae:17:c6 (VDPSCE080019) via eth2 TransID 823c1fa3 uid 01:00:50:56:ae:17:c6 (RENEW)" | ||
}, | ||
"expected": { | ||
"message": "DHCPREQUEST for 192.168.1.208 from 00:50:56:ae:17:c6 (VDPSCE080019) via eth2 TransID 823c1fa3 uid 01:00:50:56:ae:17:c6 (RENEW)", | ||
"event": { | ||
"action": "DHCPREQUEST", | ||
"reason": "RENEW" | ||
}, | ||
"dns": { | ||
"header_flags": [], | ||
"type": "query" | ||
}, | ||
"infoblox": { | ||
"dhcp": { | ||
"trans_id": "823c1fa3" | ||
} | ||
}, | ||
"observer": { | ||
"ingress": { | ||
"interface": { | ||
"name": "eth2" | ||
} | ||
} | ||
}, | ||
"related": { | ||
"ip": [ | ||
"192.168.1.208" | ||
] | ||
}, | ||
"source": { | ||
"address": "192.168.1.208", | ||
"ip": "192.168.1.208", | ||
"mac": "00:50:56:ae:17:c6" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"input": { | ||
"message": "DHCPREQUEST for 192.168.1.95 (192.168.1.95) from d8:94:03:ec:da:d1 via 192.168.1.95 TransID ac1b72c4: lease 192.168.1.95 unavailable." | ||
}, | ||
"expected": { | ||
"message": "DHCPREQUEST for 192.168.1.95 (192.168.1.95) from d8:94:03:ec:da:d1 via 192.168.1.95 TransID ac1b72c4: lease 192.168.1.95 unavailable.", | ||
"event": { | ||
"action": "DHCPREQUEST", | ||
"reason": "lease 192.168.1.95 unavailable." | ||
}, | ||
"dns": { | ||
"header_flags": [], | ||
"type": "query" | ||
}, | ||
"infoblox": { | ||
"dhcp": { | ||
"interface_ip": "192.168.1.95", | ||
"router_ip": "192.168.1.95", | ||
"trans_id": "ac1b72c4" | ||
} | ||
}, | ||
"related": { | ||
"ip": [ | ||
"192.168.1.95" | ||
] | ||
}, | ||
"source": { | ||
"address": "192.168.1.95", | ||
"ip": "192.168.1.95", | ||
"mac": "d8:94:03:ec:da:d1" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"input": { | ||
"message": "DHCPREQUEST for 192.168.1.159 from c8:09:a8:f8:cd:e8 via 192.168.1.159 TransID e711c0c1: ignored (unknown subnet)." | ||
}, | ||
"expected": { | ||
"message": "DHCPREQUEST for 192.168.1.159 from c8:09:a8:f8:cd:e8 via 192.168.1.159 TransID e711c0c1: ignored (unknown subnet).", | ||
"event": { | ||
"action": "DHCPREQUEST", | ||
"reason": "ignored (unknown subnet)." | ||
}, | ||
"dns": { | ||
"header_flags": [], | ||
"type": "query" | ||
}, | ||
"infoblox": { | ||
"dhcp": { | ||
"interface_ip": "192.168.1.159", | ||
"trans_id": "e711c0c1" | ||
} | ||
}, | ||
"related": { | ||
"ip": [ | ||
"192.168.1.159" | ||
] | ||
}, | ||
"source": { | ||
"address": "192.168.1.159", | ||
"ip": "192.168.1.159", | ||
"mac": "c8:09:a8:f8:cd:e8" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"input": { | ||
"message": "DHCPACK on 192.168.1.138 to 08:71:90:8d:0b:5d (P70955) via eth2 relay 192.168.1.138 lease-duration 172800" | ||
}, | ||
"expected": { | ||
"message": "DHCPACK on 192.168.1.138 to 08:71:90:8d:0b:5d (P70955) via eth2 relay 192.168.1.138 lease-duration 172800", | ||
"event": { | ||
"action": "DHCPACK" | ||
}, | ||
"dns": { | ||
"header_flags": [], | ||
"type": "query" | ||
}, | ||
"observer": { | ||
"ingress": { | ||
"interface": { | ||
"name": "eth2" | ||
} | ||
} | ||
}, | ||
"related": { | ||
"ip": [ | ||
"192.168.1.138" | ||
] | ||
}, | ||
"source": { | ||
"address": "192.168.1.138", | ||
"ip": "192.168.1.138", | ||
"mac": "08:71:90:8d:0b:5d" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"input": { | ||
"message": "r-l-e:192.168.1.113,Fixed,P76984,c4:d0:e3:b4:08:4d,1732119022,1732291822,,$" | ||
}, | ||
"expected": { | ||
"message": "r-l-e:192.168.1.113,Fixed,P76984,c4:d0:e3:b4:08:4d,1732119022,1732291822,,$", | ||
"dns": { | ||
"header_flags": [], | ||
"type": "query" | ||
}, | ||
"infoblox": { | ||
"ddi": { | ||
"category": "Fixed" | ||
} | ||
}, | ||
"related": { | ||
"ip": [ | ||
"192.168.1.113" | ||
] | ||
}, | ||
"source": { | ||
"address": "192.168.1.113", | ||
"ip": "192.168.1.113", | ||
"mac": "c4:d0:e3:b4:08:4d" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"input": { | ||
"message": "FORMERR resolving 'test.testing.io/AAAA/IN': 192.168.1.136#53" | ||
}, | ||
"expected": { | ||
"message": "FORMERR resolving 'test.testing.io/AAAA/IN': 192.168.1.136#53", | ||
"event": { | ||
"action": "FORMERR" | ||
}, | ||
"destination": { | ||
"address": "192.168.1.136", | ||
"ip": "192.168.1.136", | ||
"port": 53 | ||
}, | ||
"dns": { | ||
"header_flags": [], | ||
"question": { | ||
"class": "IN", | ||
"name": "test.testing.io", | ||
"registered_domain": "testing.io", | ||
"subdomain": "test", | ||
"top_level_domain": "io", | ||
"type": "AAAA" | ||
}, | ||
"type": "query" | ||
}, | ||
"related": { | ||
"hosts": [ | ||
"test.testing.io" | ||
], | ||
"ip": [ | ||
"192.168.1.136" | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.