Skip to content
Open
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
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Give it a text file with the output from "show cdp entry *" from a Cisco IOS device and it will give you a list of dictionaries
one dict for each device in this format
# CDP Parser

Given output from `show cdp entry *`, this script produces a dictionary for
each device.

```
{'capabilities': 'Router Switch IGMP ',
'local_int': 'GigabitEthernet1/3',
'platform': 'cisco WS-C6509-E',
Expand All @@ -9,4 +12,5 @@ one dict for each device in this format
'remote_ip': '10.0.0.1',
'version': 'Cisco IOS Software, s72033_rp Software '
'(s72033_rp-ADVIPSERVICESK9_WAN-M), Version 12.2(33)SXH5, RELEASE '
'SOFTWARE (fc1)'},
'SOFTWARE (fc1)'},
```