From 381ae478a6cb9f99e150406ed68cb672207bbddc Mon Sep 17 00:00:00 2001 From: Stepan Blyshchak <38952541+stepanblyschak@users.noreply.github.com> Date: Thu, 10 Dec 2020 21:11:59 +0200 Subject: [PATCH] [mibs] b'VLAN_TABLE:' -> 'VLAN_TABLE' (#181) - What I did Fix a missed bytes to string conversion. - How I did it Remove "b" - How to verify it Add a L3 VLAN interface and query SNMP RFC1213 MIB. --- src/sonic_ax_impl/mibs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sonic_ax_impl/mibs/__init__.py b/src/sonic_ax_impl/mibs/__init__.py index 86a7be12db4d..fd2aa816d3c4 100644 --- a/src/sonic_ax_impl/mibs/__init__.py +++ b/src/sonic_ax_impl/mibs/__init__.py @@ -156,7 +156,7 @@ def vlan_entry_table(if_name): :param if_name: given interface to cast. :return: VLAN_TABLE key. """ - return b'VLAN_TABLE:' + if_name + return 'VLAN_TABLE:' + if_name def lag_entry_table(lag_name):