We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccf706b commit 0d81848Copy full SHA for 0d81848
sonic_platform_base/sfp_base.py
@@ -52,6 +52,10 @@ class SfpBase(device_base.DeviceBase):
52
SFP_ERROR_BIT_BAD_CABLE: SFP_ERROR_DESCRIPTION_BAD_CABLE
53
}
54
55
+ # Port types that are used by the chassis API ChassisBase.get_port_or_cage_type()
56
+ # It's possible that multiple types are supported on one port.
57
+ # In that case, the result will be logical OR of all the supported types
58
+ # Check example in ChassisBase.get_port_or_cage_type()
59
SFP_PORT_TYPE_BIT_RJ45 = 0x00000001
60
SFP_PORT_TYPE_BIT_SFP = 0x00000002
61
SFP_PORT_TYPE_BIT_XFP = 0x00000004
0 commit comments