mirror of
https://github.com/hansjone/netx.git
synced 2026-10-11 15:23:17 +08:00
Harden ZTE biz-state parsers and default | one-line collect CLIs.
Append secondary IPs with M/S tags, skip ND6 clock banners, split optical power vs thresholds including QSFP lanes, broaden static-route egress ifnames, and add | one-line to ZTE collect templates except interface detail. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
d900aca633
commit
ac4f115ee8
13 changed files with 373 additions and 109 deletions
|
|
@ -36,7 +36,7 @@ class BizStateProfileTests(unittest.TestCase):
|
|||
assert p is not None
|
||||
pairs = expand_from_bindings(profile=p)
|
||||
self.assertEqual(len(pairs), 1)
|
||||
self.assertEqual(pairs[0][0], "show lldp neighbor brief")
|
||||
self.assertEqual(pairs[0][0], "show lldp neighbor brief | one-line")
|
||||
|
||||
def test_preview_custom_raw(self) -> None:
|
||||
prev = preview_task_item(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue