mirror of
https://github.com/hansjone/netx.git
synced 2026-10-15 23:30:45 +08:00
Merge duplicate if-intf checks into Config Interface Intent.
Hide standalone IF VRF from the catalog and point ARP enrich at config_interface so one CLI maps to one check item. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
c1b1c0f75d
commit
1642a0adec
8 changed files with 37 additions and 21 deletions
|
|
@ -54,7 +54,12 @@ class ZteStatusParserTests(unittest.TestCase):
|
|||
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"))
|
||||
ii = get_profile("zte.if_intf")
|
||||
self.assertIsNotNone(ii)
|
||||
assert ii is not None
|
||||
self.assertFalse(ii.enabled)
|
||||
self.assertNotIn("zte.if_intf", zte)
|
||||
self.assertIn("zte.config_interface", zte)
|
||||
|
||||
def test_isis_adjacency(self) -> None:
|
||||
text = _section(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue