Fix vpnv6 ECMP under-parse and persist full CLI line counts.

RR vpnv6 wrap lines with next-hop+metrics were collapsing ECMP legs; store raw_line_count/declared_total before DB truncate so collect stats stay accurate.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-23 14:53:19 +08:00
parent 86fcb98218
commit ac53af4a5d
16 changed files with 531 additions and 35 deletions

View file

@ -52,6 +52,7 @@ class PrimaryParseJob:
merged_params: dict[str, Any]
raw_text: str
raw_rel_path: str
raw_line_count: int = 0
textfsm_command: str
vendor: str
device_type: str