Commit 4b064eaa authored by Dmitry Lukhtionov's avatar Dmitry Lukhtionov
Browse files

Fix Cisco.IOS profile

--HG--
branch : feature/microservices
parent afe41344
......@@ -108,6 +108,8 @@ class Profile(BaseProfile):
)
if il.startswith("virtual-template"):
return "Vi %s" % il[16:].strip()
if il.startswith("service-engine"):
return "Service-Engine %s" % il[14:].strip()
# Serial0/1/0:15-Signaling -> Serial0/1/0:15
if il.startswith("se") and "-" in interface:
interface = interface.split("-")[0]
......
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