mirror of
https://github.com/hansjone/netx.git
synced 2026-10-11 05:43:20 +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
|
|
@ -233,6 +233,9 @@ class ZteConfigIntentTests(unittest.TestCase):
|
|||
self.assertIsNotNone(hit)
|
||||
assert hit is not None
|
||||
self.assertEqual(hit.profile.profile_id, "zte.config_interface")
|
||||
ii = get_profile("zte.if_intf")
|
||||
assert ii is not None
|
||||
self.assertFalse(ii.enabled)
|
||||
|
||||
def test_config_vrf(self) -> None:
|
||||
rows = normalize_config_vrf(raw_text=_CFG_VRF, command="show running-config vrf")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue