Add get_presence implementation for SFP on Mellanox platforms#1056
Merged
stcheng merged 1 commit intosonic-net:masterfrom Oct 20, 2017
Merged
Add get_presence implementation for SFP on Mellanox platforms#1056stcheng merged 1 commit intosonic-net:masterfrom
stcheng merged 1 commit intosonic-net:masterfrom
Conversation
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
jleveque
approved these changes
Oct 19, 2017
3 tasks
3 tasks
lguohan
pushed a commit
that referenced
this pull request
Nov 6, 2020
Add a switch to route_check to control whether write log to syslog (#1215) [consutil] Store console port state in STATE_DB (#1208) [sfputil] Display 'N/A' for non-SFP ports (#1078) Show FG_NHG CLI Commands Added (#1056) [show] remove 'device2interface_dict' in show interface neighbor expected (#1188) Add license file, remove third-party licenses file (#1192) [fwutil]: Set min log priority to INFO. (#1191) [CLI][show][platform] Added ASIC count in the output. (#1185) fdbshow and nbrshow use SonicV2Connector with decode_responses=True, and remove all the decode() (#1187) Remove stdeb.cfg; no longer used now that we build as wheel (#1182) [counterpoll] Disable Counter Poll When Entering Fast Reboot (#1174) Fixes the issue with show interface counters and for pfc and queue counters. (#1180) [config/show] Add CLI support for proxy arp (#1168) [consutil] Add brief option to show line command (#1176) Modify fast-reboot script to use BGP service script to stop bgp service (#1177) [config/console] Support update console configuration related commands (#1166) [consutil] Fix issue where the show line command crash if no ttyUSB exists (#1173) [watermarkstat] Add unit tests for watermarkstat show commands (#1157) Fix exception for ipaddress in python2 (#1164) [celestica] consutil to support customize tty device name (#1155) Signed-off-by: Danny Allen <daall@microsoft.com>
santhosh-kt
pushed a commit
to santhosh-kt/sonic-buildimage
that referenced
this pull request
Feb 25, 2021
Add a switch to route_check to control whether write log to syslog (sonic-net#1215) [consutil] Store console port state in STATE_DB (sonic-net#1208) [sfputil] Display 'N/A' for non-SFP ports (sonic-net#1078) Show FG_NHG CLI Commands Added (sonic-net#1056) [show] remove 'device2interface_dict' in show interface neighbor expected (sonic-net#1188) Add license file, remove third-party licenses file (sonic-net#1192) [fwutil]: Set min log priority to INFO. (sonic-net#1191) [CLI][show][platform] Added ASIC count in the output. (sonic-net#1185) fdbshow and nbrshow use SonicV2Connector with decode_responses=True, and remove all the decode() (sonic-net#1187) Remove stdeb.cfg; no longer used now that we build as wheel (sonic-net#1182) [counterpoll] Disable Counter Poll When Entering Fast Reboot (sonic-net#1174) Fixes the issue with show interface counters and for pfc and queue counters. (sonic-net#1180) [config/show] Add CLI support for proxy arp (sonic-net#1168) [consutil] Add brief option to show line command (sonic-net#1176) Modify fast-reboot script to use BGP service script to stop bgp service (sonic-net#1177) [config/console] Support update console configuration related commands (sonic-net#1166) [consutil] Fix issue where the show line command crash if no ttyUSB exists (sonic-net#1173) [watermarkstat] Add unit tests for watermarkstat show commands (sonic-net#1157) Fix exception for ipaddress in python2 (sonic-net#1164) [celestica] consutil to support customize tty device name (sonic-net#1155) Signed-off-by: Danny Allen <daall@microsoft.com>
stepanblyschak
pushed a commit
to stepanblyschak/sonic-buildimage
that referenced
this pull request
May 10, 2021
1. show fg-nhg-hash-view (shows the current hash bucket view of fg nhg) 2. show fg-nhg-active-hops (shows which set of next-hops are active)
mssonicbld
added a commit
that referenced
this pull request
Aug 1, 2025
…omatically (#23392) #### Why I did it src/sonic-swss-common ``` * fc35dd0 - (HEAD -> master, origin/master, origin/HEAD) Move SonicDbTable to sonic-dash-ha. (#1056) (3 hours ago) [dypet] * 100e2e0 - [MSTP] Schema Support (#961) (5 hours ago) [Wajahat Razi] * d7c661b - [trim]: Add Packet Trimming Drop Counters DB schema (#1055) (33 hours ago) [Nazarii Hnydyn] * 465cc1c - Add test case to verify zmq reconnect behaviour (#84) (#1052) (12 days ago) [Qi Luo] * 93af927 - Move swss-common/swss-common-testing crates from https://github.com/sonic-net/sonic-dash-ha (#1044) (13 days ago) [Qi Luo] ``` #### How I did it #### How to verify it #### Description for the changelog
patrickmacarthur
pushed a commit
to patrickmacarthur/sonic-buildimage
that referenced
this pull request
Aug 6, 2025
…onic-net#1056) What I did: Do not add switch_id in DEVICE_METADATA for chassis_packet. In OA we do not pass/switch_id for chassis-packet. But their can be other application like Debug Shell which can use it when initalizing. To keep consistency just do not add this field. How I verify: Before ``` sonic-cfggen -m /etc/sonic/minigraph.xml -n asic0 -v DEVICE_METADATA {'localhost': {'region': 'australiaeast', 'cloudtype': None, 'docker_routing_config_mode': 'separated', 'hostname': 'xxxx', 'hwsku': 'xxxxx', 'type': 'SpineRouter', 'synchronous_mode': 'enable', 'yang_config_validation': 'disable', 'bgp_asn': 'xxxxx', 'chassis_hostname': 'xxxxx', 'deployment_id': '3', 'cluster': 'xxxx', 'slice_type': 'AZNG_Production', 'subtype': 'DownstreamLC', 'asic_name': 'asic0', 'sub_role': 'FrontEnd', 'switch_type': 'chassis-packet', 'switch_id': 4}} ``` After ``` sonic-cfggen -m /etc/sonic/minigraph.xml -n asic0 -v DEVICE_METADATA {'localhost': {'region': 'australiaeast', 'cloudtype': None, 'docker_routing_config_mode': 'separated', 'hostname': 'xxxxx', 'hwsku': 'xxxxx', 'type': 'SpineRouter', 'synchronous_mode': 'enable', 'yang_config_validation': 'disable', 'bgp_asn': 'xxxxx', 'chassis_hostname': 'xxxxx', 'deployment_id': '3', 'cluster': 'xxxxx', 'slice_type': 'AZNG_Production', 'subtype': 'DownstreamLC', 'asic_name': 'asic0', 'sub_role': 'FrontEnd', 'switch_type': 'chassis-packet'}} ```
ccroy-arista
pushed a commit
to ccroy-arista/sonic-buildimage
that referenced
this pull request
Aug 14, 2025
…omatically (sonic-net#23392) #### Why I did it src/sonic-swss-common ``` * fc35dd0 - (HEAD -> master, origin/master, origin/HEAD) Move SonicDbTable to sonic-dash-ha. (sonic-net#1056) (3 hours ago) [dypet] * 100e2e0 - [MSTP] Schema Support (sonic-net#961) (5 hours ago) [Wajahat Razi] * d7c661b - [trim]: Add Packet Trimming Drop Counters DB schema (sonic-net#1055) (33 hours ago) [Nazarii Hnydyn] * 465cc1c - Add test case to verify zmq reconnect behaviour (sonic-net#84) (sonic-net#1052) (12 days ago) [Qi Luo] * 93af927 - Move swss-common/swss-common-testing crates from https://github.com/sonic-net/sonic-dash-ha (sonic-net#1044) (13 days ago) [Qi Luo] ``` #### How I did it #### How to verify it #### Description for the changelog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Andriy Moroz c_andriym@mellanox.com
- What I did
Add get_presence implementation for SFP on Mellanox platforms
- How I did it
Added implementation in sfputil.py
- How to verify it
Before implementation:
After implementation