Skip to content

Commit

Permalink
Merge pull request #35 from hoelsner/master
Browse files Browse the repository at this point in the history
remove local host from show cdp neighbors details template
  • Loading branch information
GGabriele authored Oct 26, 2016
2 parents 6c9050b + 6f34f67 commit 4a09ee8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions templates/cisco_ios_show_cdp_neighbors_detail.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Value Filldown LOCAL_HOST (\S+)
Value Required DESTINATION_HOST (\S+)
Value MANAGEMENT_IP (.*)
Value PLATFORM (.*)
Expand All @@ -7,7 +6,6 @@ Value LOCAL_PORT (.*)
Value SOFTWARE_VERSION (.*)

Start
^${LOCAL_HOST}[>#].
^Device ID: ${DESTINATION_HOST}
^Entry address\(es\): -> ParseIP
^Platform: ${PLATFORM},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,17 @@ parsed_sample:
destination_host: "desktop-switch"
remote_port: "GigabitEthernet0/1"
local_port: "GigabitEthernet1/0/16"
local_host: "Switch"

- platform: "Cisco 3825"
management_ip: "10.1.1.1"
software_version: "Cisco IOS Software, 3800 Software (C3825-ADVENTERPRISEK9-M), Version 12.4(24)T1, RELEASE SOFTWARE (fc3)"
destination_host: "ce-router"
remote_port: "GigabitEthernet0/0"
local_port: "GigabitEthernet1/0/22"
local_host: "Switch"

- platform: "VMware"
management_ip: "10.1.1.232"
software_version: "Linux 2.6.32-431.20.3.el6.x86_64 #1 SMP Fri Jun 6 18:30:54 EDT 2014 CCM:10.5.2.10000-5.i386"
destination_host: "server"
remote_port: "eth0"
local_port: "GigabitEthernet1/0/19"
local_host: "Switch"
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Switch#show inventory
-------------------------
Device ID: desktop-switch
Entry address(es):
Expand Down

0 comments on commit 4a09ee8

Please sign in to comment.