mirror of
https://github.com/hansjone/netx.git
synced 2026-10-14 01:05:05 +08:00
Rename interface_detail admin field to port_status.
Header is/up/down is operational port state, not brief-style Admin. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
b6eab3ed8f
commit
5ab08bb9b3
4 changed files with 9 additions and 9 deletions
|
|
@ -359,7 +359,7 @@ class CompareSheetDefaultsTests(unittest.TestCase):
|
|||
self.assertIn("vrrp.ipv4", ids)
|
||||
self.assertIn("lldp_neighbor", ids)
|
||||
detail = next(s for s in sheets if sheet_key(s) == "interface_detail")
|
||||
self.assertEqual(detail["compare_fields"], ["admin"])
|
||||
self.assertEqual(detail["compare_fields"], ["port_status"])
|
||||
self.assertIn("input_bps", detail["display_fields"])
|
||||
optical = next(s for s in sheets if sheet_key(s) == "optical_brief")
|
||||
self.assertEqual(optical["compare_fields"], ["status"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue