Repository navigation
nettopo parse
Ingests captures, builds the data model, and writes every CSV table — no diagrams. This is the primary debugging aid: if a diagram looks wrong, inspect the CSVs first to localize the fault to parsing vs. rendering.
nettopo parse -i ./captures -o ./outputWrites output/csv/devices.csv (including each device's serial, from its own
show version or from the name a Nexus neighbor advertises; its platform, from its own
show version or from the CDP/LLDP report of a neighbor; and its management IP, from
CDP's Management address(es) block or LLDP's management TLV), interfaces.csv,
neighbors.csv, vlans.csv, stp.csv (base and effective bridge priority — see
PROJECT_SPEC.md §6),
hsrp.csv (one row per group member, with the group's virtual IP beside that member's
SVI, priority, role and preempt flag), and bgp.csv (one row per session as each device
reported it).
One row per device and per adjacency, regardless of how many names its neighbors use for
it: CDP and LLDP disagree constantly (nxos-core1 vs nxos-core1(FDO21120U5D) vs
nxos-core1.example.com), and those spellings are correlated into one device before the
model is built — see
PROJECT_SPEC.md §5.2.
It takes only the common options. Which show
commands fill which CSV columns is listed in
Preparing Captures.