PackeTsar / neighbor-parser

CDP and LLDP Neighbor Parser
https://neighborparser.com
GNU General Public License v3.0
24 stars 4 forks source link

Add support for cdp neighbor output from multiple hosts #16

Open hexaflexahexagon opened 1 year ago

hexaflexahexagon commented 1 year ago

Is your feature request related to a problem? Please describe. When making larger scale graphs it would be convenient to have the option of pasting output from multiple switches that are connected together, that way you can build out larger topologies quicker.

Describe the solution you'd like Allow the user to paste text from multiple devices at once, then use the hostname to map which device is which, creating a bigger topology of the network.

If it is easier to require 1 box per device instead of using the hostname in the prompt that would also work.

Additional context n/a

Wolvverine commented 8 months ago

It is thought that parsing a sequence of the following information from multiple devices would be desirable And describing objects with them.

"show system"
"show version"
"show ip interface"
"show cdp neighbors detail"
"show lldp neighbors"
"show cdp neighbors"
"show lldp neighbors detail" - On certain devices the "details" parameter is missing for LLDP

Unfortunately

"show lldp neighbors" "show cdp neighbors"

they also have the problem that they display long names or MAC in some columns incorrectly for parsing.