From fcfe0da808d22b2df43b02b299a224248df0b7b8 Mon Sep 17 00:00:00 2001 From: Sangita Maity Date: Wed, 26 Feb 2020 23:00:31 -0800 Subject: [PATCH] fix chassis plugin due to port index change for celestica device (#55) Signed-off-by: Sangita Maity --- .../celestica/x86_64-cel_seastone-r0/sonic_platform/chassis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/celestica/x86_64-cel_seastone-r0/sonic_platform/chassis.py b/device/celestica/x86_64-cel_seastone-r0/sonic_platform/chassis.py index c9447b56a2fe..964cef0fad5d 100644 --- a/device/celestica/x86_64-cel_seastone-r0/sonic_platform/chassis.py +++ b/device/celestica/x86_64-cel_seastone-r0/sonic_platform/chassis.py @@ -56,7 +56,7 @@ def __init__(self): for index in range(0, NUM_THERMAL): thermal = Thermal(index) self._thermal_list.append(thermal) - for index in range(0, NUM_SFP): + for index in range(1, NUM_SFP+1): sfp = Sfp(index) self._sfp_list.append(sfp) for index in range(0, NUM_COMPONENT):