From 11e17e763fc8af85809dd77578800f91d031a685 Mon Sep 17 00:00:00 2001 From: Balaselvi Date: Wed, 25 Oct 2017 21:36:31 -0700 Subject: [PATCH] [Inventec]: Bug fix for sfputil in D7054 (#1080) --- device/inventec/x86_64-inventec_d7054q28b-r0/plugins/sfputil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/inventec/x86_64-inventec_d7054q28b-r0/plugins/sfputil.py b/device/inventec/x86_64-inventec_d7054q28b-r0/plugins/sfputil.py index d236146e49..c2edefd2eb 100755 --- a/device/inventec/x86_64-inventec_d7054q28b-r0/plugins/sfputil.py +++ b/device/inventec/x86_64-inventec_d7054q28b-r0/plugins/sfputil.py @@ -95,7 +95,7 @@ class SfpUtil(SfpUtilBase): @property def qsfp_ports(self): - return range(0, self.PORTS_IN_BLOCK + 1) + return range(self.QSFP_PORT_START, self.PORTS_IN_BLOCK + 1) @property def port_to_eeprom_mapping(self):