diff --git a/src/sonic-py-common/sonic_py_common/interface.py b/src/sonic-py-common/sonic_py_common/interface.py index 59aeacf01316..286f28e531a2 100644 --- a/src/sonic-py-common/sonic_py_common/interface.py +++ b/src/sonic-py-common/sonic_py_common/interface.py @@ -15,6 +15,7 @@ "Loopback": "Loopback", "Ethernet-Backplane": "Ethernet-BP", "Ethernet-Inband": "Ethernet-IB", + "Ethernet-Recirc": "Ethernet-Rec", "Ethernet-SubPort": "Eth", "PortChannel-SubPort": "Po" } @@ -57,6 +58,12 @@ def inband_prefix(): """ return SONIC_INTERFACE_PREFIXES["Ethernet-Inband"] +def recirc_prefix(): + """ + Retrieves the SONIC recirculation port interface name prefix. + """ + return SONIC_INTERFACE_PREFIXES["Ethernet-Recirc"] + def physical_subinterface_prefix(): """ Retrieves the SONIC Subinterface name prefix.