mirror of
https://github.com/hansjone/netx.git
synced 2026-10-16 07:40:45 +08:00
Add multi-command collect with FSM-first if-intf aux and batch cache.
ARP binds show running-config if-intf to enrich vrf; identical aux commands reuse session cache. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
0f235133ed
commit
1f70f7fc25
10 changed files with 646 additions and 42 deletions
|
|
@ -51,9 +51,10 @@ class ZteStatusParserTests(unittest.TestCase):
|
|||
self.assertIn("zte.bgp_vpnv4_summary", zte)
|
||||
self.assertIn("zte.bgp_ipv4_summary", zte)
|
||||
self.assertIn("zte.bgp_vpnv6_summary", zte)
|
||||
for mid in ("isis_adjacency", "interface_brief", "arp", "nd6_cache", "bgp_peer"):
|
||||
for mid in ("isis_adjacency", "interface_brief", "arp", "nd6_cache", "bgp_peer", "if_intf"):
|
||||
self.assertIn(mid, metric_field_map())
|
||||
self.assertIsNotNone(get_profile("zte.isis_adjacency"))
|
||||
self.assertIsNotNone(get_profile("zte.if_intf"))
|
||||
|
||||
def test_isis_adjacency(self) -> None:
|
||||
text = _section(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue