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:
oliver 2026-09-20 09:48:48 +08:00
parent c1b1c0f75d
commit 1642a0adec
8 changed files with 37 additions and 21 deletions

View file

@ -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(