Commit a57a89fb authored by Dmitry Lukhtionov's avatar Dmitry Lukhtionov
Browse files

Fix Cisco.IOS.convert_interface_name() function

parent 8fe4b315
......@@ -52,6 +52,7 @@ class Profile(BaseProfile):
)
def convert_interface_name(self, interface):
interface = str(interface)
if " efp_id " in interface:
l, r = interface.split(" efp_id ", 1)
return "%s.SI.%d" % (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment