Enable ZTE L2VPN MAC in the biz_state catalog so it appears as a monitor item.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-21 11:00:27 +08:00
parent ed11f5a60c
commit 4b38427679

View file

@ -1144,11 +1144,11 @@ def _zte_status_profiles() -> list[ParseProfile]:
command_template="show mac l2vpn | one-line", command_template="show mac l2vpn | one-line",
match=r"(?i)^\s*show\s+mac\s+l2vpn(?:\s*\|\s*one-line)?\s*$", match=r"(?i)^\s*show\s+mac\s+l2vpn(?:\s*\|\s*one-line)?\s*$",
textfsm_command="show mac l2vpn", textfsm_command="show mac l2vpn",
description="L2VPN MAC table (large; disabled by default).", description="L2VPN MAC table (large; heavy collect lane).",
fields=list(_L2VPN_MAC_FIELDS), fields=list(_L2VPN_MAC_FIELDS),
tags=["l2vpn", "mac"], tags=["l2vpn", "mac"],
sort_order=480, sort_order=480,
enabled=False, enabled=True,
kind="collect", kind="collect",
), ),
ParseProfile( ParseProfile(