Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added juniper_junos_show_arp_no-resolve.template #295

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ hp_procurve_show_vlans.template, .*, hp_procurve, sh[[ow]] vl[[ans]]
hp_procurve_show_arp.template, .*, hp_procurve, sh[[ow]] ar[[p]]

juniper_junos_show_chassis_firmware.template, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]]
juniper_junos_show_arp_no-resolve.template, .*, juniper_junos, sh[[ow]] a[[rp]] n[[o-resolve]]
juniper_junos_show_isis_adjacency.template, .*, juniper_junos, sh[[ow]] is[[is]] ad[[jacency]]
juniper_junos_show_ospf_neighbor.template, .*, juniper_junos, sh[[ow]] ospf n[[eighbor]]
juniper_junos_show_interfaces.template, .*, juniper_junos, sh[[ow]] inte[[rfaces]]
Expand Down
11 changes: 11 additions & 0 deletions templates/juniper_junos_show_arp_no-resolve.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Value Required MAC ([A-Fa-f0-9\:]{17})
Value Required IP_ADDRESS ([A-Fa-f0-9:\.]+)
Value Required INTERFACE (\S+)
Value FLAGS (\S+)

Start
^MAC\s+Address\s+Address\s+Interface\s+Flags\s*$$
^${MAC}\s+${IP_ADDRESS}\s+${INTERFACE}\s+${FLAGS} -> Record
^Total.*
^\s*$$
^. -> Error
jmcgill298 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
parsed_sample:
- mac: "00:00:00:00:00:04"
ip_address: "10.1.100.130"
interface: "vlan.20"
flags: "none"
- mac: "00:00:00:00:00:05"
ip_address: "10.1.100.132"
interface: "vlan.20"
flags: "none"
- mac: "00:00:00:00:00:08"
ip_address: "10.1.100.72"
interface: "vlan.20"
flags: "none"
- mac: "00:00:00:00:00:09"
ip_address: "10.1.100.73"
interface: "vlan.20"
flags: "none"
- mac: "00:00:00:00:00:0a"
ip_address: "10.1.100.74"
interface: "vlan.20"
flags: "none"
- mac: "00:00:00:00:00:0b"
ip_address: "10.1.100.75"
interface: "vlan.20"
flags: "none"
- mac: "00:00:00:00:00:0c"
ip_address: "10.1.100.76"
interface: "vlan.20"
flags: "none"
- mac: "00:00:00:00:11:11"
ip_address: "10.1.111.11"
interface: "vlan.20"
flags: "none"
- mac: "00:00:00:00:13:13"
ip_address: "10.1.13.13"
interface: "vlan.20"
flags: "none"
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
MAC Address Address Interface Flags
00:00:00:00:00:04 10.1.100.130 vlan.20 none
00:00:00:00:00:05 10.1.100.132 vlan.20 none
00:00:00:00:00:08 10.1.100.72 vlan.20 none
00:00:00:00:00:09 10.1.100.73 vlan.20 none
00:00:00:00:00:0a 10.1.100.74 vlan.20 none
00:00:00:00:00:0b 10.1.100.75 vlan.20 none
00:00:00:00:00:0c 10.1.100.76 vlan.20 none
00:00:00:00:11:11 10.1.111.11 vlan.20 none
00:00:00:00:13:13 10.1.13.13 vlan.20 none
Total entries: 9
jmcgill298 marked this conversation as resolved.
Show resolved Hide resolved