Commit c599f677 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

Cisco.IOS: Accept "virtual-tempate XXX type tunnel" interfaces from parser

Fix: 91d032f9-a577-54b4-9a9f-75f6c0d90d86

--HG--
branch : feature/microservices
parent ca1381f2
......@@ -108,6 +108,8 @@ class Profile(BaseProfile):
return "Ca %s/%s" % (
match.group('pr_if'), match.group('sub_if')
)
if il.endswith(" type tunnel"):
il = il[:-12]
if il.startswith("virtual-template"):
return "Vi %s" % il[16:].strip()
if il.startswith("service-engine"):
......
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