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 brocade_fastiron_show_lldp_neighbors #291

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
14 changes: 14 additions & 0 deletions templates/brocade_fastiron_show_lldp_neighbors.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Value Required NEIGHBOR (\S+)
Value Required LOCAL_INTERFACE (\S+)
Value Required HOLD_TIME (\d+)
Value Required CAPABILITIES (\S+)
Value Required NEIGHBOR_INTERFACE (\S+)

Start
^Capability.*
^\s+\(.*
^Device\s+ID\s+Local\s+Intf\s+Hold-time\s+Capability\s+Port\s+ID\s*$$
^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+${HOLD_TIME}\s+${CAPABILITIES}\s+${NEIGHBOR_INTERFACE} -> Record
^Total.*
^\s*$$
^. -> Error
1 change: 1 addition & 0 deletions templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ avaya_vsp_show_software.template, .*, avaya_vsp, sho[[w]] so[[ftware]]
brocade_fastiron_show_lldp_neighbors_detail.template, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]]
brocade_fastiron_show_running-config_vlan.template, .*, brocade_fastiron, sh[[ow]] ru[[nning-config]] v[[lan]]
brocade_fastiron_show_interfaces_brief.template, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] b[[rief]]
brocade_fastiron_show_lldp_neighbors.template, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]]
brocade_fastiron_show_interfaces.template, .*, brocade_fastiron, sh[[ow]] in[[terfaces]]
brocade_fastiron_show_lag_brief.template, .*, brocade_fastiron, sh[[ow]] la[[g]] b[[rief]]
brocade_fastiron_show_monitor.template, .*, brocade_fastiron, sh[[ow]] mo[[nitor]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
parsed_sample:
- neighbor: "core-sw01"
local_interface: "Gi1/3"
hold_time: "120"
capabilities: "B,R"
neighbor_interface: "Gi0/3"
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID Local Intf Hold-time Capability Port ID
core-sw01 Gi1/3 120 B,R Gi0/3
Total entries displayed: 1