From a3d1b8e9ec4f9ce9f38dfa1c22e936f5fc05c75d Mon Sep 17 00:00:00 2001 From: vedganes Date: Tue, 15 Dec 2020 14:26:20 -0500 Subject: [PATCH] [voqinband]Support for inband port as regular port Signed-off-by: vedganes Inband port is avaialable in PORT table. But regular port handlings are not applicable for Inband port. Changes in this PR are to avoid regular port handling on Inband port. --- sonic-ledd/scripts/ledd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonic-ledd/scripts/ledd b/sonic-ledd/scripts/ledd index 87cea6287..88b4ae5cc 100644 --- a/sonic-ledd/scripts/ledd +++ b/sonic-ledd/scripts/ledd @@ -10,7 +10,7 @@ import sys from sonic_py_common import daemon_base from sonic_py_common import multi_asic -from sonic_py_common.interface import backplane_prefix +from sonic_py_common.interface import backplane_prefix, inband_prefix from swsscommon import swsscommon #============================= Constants ============================= @@ -96,7 +96,7 @@ class DaemonLedd(daemon_base.DaemonBase): fvp_dict = dict(fvp) if op == "SET" and "oper_status" in fvp_dict: - if not key.startswith(backplane_prefix()): + if not key.startswith(backplane_prefix()) and not key.startswith(inband_prefix()): self.led_control.port_link_state_change(key, fvp_dict["oper_status"]) else: return 4