Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xcvrd] Subscribe port configuration change in xcvrd #212

Merged
merged 14 commits into from
Oct 13, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix LGTM warning
Junchao-Mellanox committed Aug 26, 2021
commit 261f8053748d46c60e3a58e38bde54fb318fd86b
1 change: 0 additions & 1 deletion sonic-xcvrd/xcvrd/xcvrd.py
Original file line number Diff line number Diff line change
@@ -1476,7 +1476,6 @@ def handle_port_config_change(self):
self.notify_port_change_event(port_change_event)
elif op == swsscommon.DEL_COMMAND:
if self.port_mapping.is_logical_port(key):
fvp = dict(fvp)
port_change_event = PortChangeEvent(key,
self.port_mapping.get_logical_to_physical(key)[0],
asic_context[sst],
1 change: 0 additions & 1 deletion sonic-xcvrd/xcvrd/xcvrd_utilities/y_cable_helper.py
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@
from sonic_y_cable import y_cable_vendor_mapping
from swsscommon import swsscommon
from . import sfp_status_helper
from .port_mapping import PortMapping


SELECT_TIMEOUT = 1000