Skip to content

Commit

Permalink
[voqinband]Support for inband port as regular port
Browse files Browse the repository at this point in the history
Signed-off-by: vedganes <vedavinayagam.ganesan@nokia.com>

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.
  • Loading branch information
vedganes committed Jan 26, 2021
1 parent e72f6cd commit 8960ad8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sonic-ledd/scripts/ledd
Original file line number Diff line number Diff line change
Expand Up @@ -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 =============================
Expand Down Expand Up @@ -92,7 +92,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()):
led_control.port_link_state_change(key, fvp_dict["oper_status"])


Expand Down

0 comments on commit 8960ad8

Please sign in to comment.