File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/sonic-py-common/sonic_py_common Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ def get_port_table_name(interface_name):
111
111
else :
112
112
return ""
113
113
114
- def subintf_get_longname (intf ):
114
+ def get_subintf_longname (intf ):
115
115
if intf is None :
116
116
return None
117
117
sub_intf_sep_idx = intf .find (VLAN_SUB_INTERFACE_SEPARATOR )
@@ -128,12 +128,12 @@ def subintf_get_longname(intf):
128
128
else :
129
129
return str (intf )
130
130
131
- def intf_get_longname (intf ):
131
+ def get_intf_longname (intf ):
132
132
if intf is None :
133
133
return None
134
134
135
135
if VLAN_SUB_INTERFACE_SEPARATOR in intf :
136
- return subintf_get_longname (intf )
136
+ return get_subintf_longname (intf )
137
137
else :
138
138
if intf .startswith ("Eth" ):
139
139
if intf .startswith ("Ethernet" ):
You can’t perform that action at this time.
0 commit comments