We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2053e87 commit 43c3984Copy full SHA for 43c3984
sonic_platform_base/sonic_xcvr/api/public/cmis.py
@@ -707,6 +707,9 @@ def is_copper(self):
707
'''
708
Returns True if xcvr is copper, False if xcvr is optical
709
710
+ media_tech = self.get_media_interface_technology()
711
+ if media_tech and 'Copper cable' in media_tech:
712
+ return True
713
media_type = self.get_module_media_type()
714
if media_type == 'passive_copper_media_interface' or media_type == 'base_t_media_interface':
715
return True
0 commit comments