Skip to content

Commit

Permalink
bugfix transceiver check
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyschulman committed Apr 12, 2023
1 parent 930dcdd commit 4b1be35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions netcam_aioeos/topology/eos_check_transceivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,16 @@ def _check_exclusive_list(
in the design-notepad.
"""

check = TransceiverExclusiveListCheck(expected_results=expd_ports)
# remove the reserved ports form the used list so that we do not consider
# them as part of the exclusive list testing.

check = TransceiverExclusiveListCheck(expected_results=expd_ports - rsvd_ports)

used_msrd_ports = {
int(po_num)
for po_num, po_data in msrd_ports.items()
if po_data.get("modelName")
}
} - rsvd_ports

# remove the reserved ports form the used list so that we do not consider
# them as part of the exclusive list testing.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "netcam-aioeos"
version = "0.6.1"
version = "0.6.2"
description = "NetCAD/CAM - Arista EOS/eAPI asyncio driver"
readme = "README.md"
authors = ["Jeremy Schulman"]
Expand Down

0 comments on commit 4b1be35

Please sign in to comment.