Commit 80d979c9 authored by Dmitry Lukhtionov's avatar Dmitry Lukhtionov
Browse files

Fix parsing 'ATM1/0.1 point-to-point' interface

--HG--
branch : feature/microservices
parent 36758e9a
......@@ -3,7 +3,7 @@
# Vendor: Cisco
# OS: IOS
# ---------------------------------------------------------------------
# Copyright (C) 2007-2016 The NOC Project
# Copyright (C) 2007-2017 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------
......@@ -64,6 +64,8 @@ class Profile(BaseProfile):
self.convert_interface_name_cisco(l.strip()),
int(r.strip())
)
if " point-to-point" in interface:
interface = interface.replace(" point-to-point", "")
if ".ServiceInstance." in interface:
interface = interface.replace(".ServiceInstance.", ".SI.")
if ".SI." in interface:
......
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