Commit 4b6bd28a authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Add Cisco.IOS NDE interface type

--HG--
branch : feature/microservices
parent 8d0c2ead
......@@ -68,8 +68,8 @@ class Profile(BaseProfile):
il = interface.lower()
else:
il = interface.name.lower()
if il.startswith("NDE_"):
return interface
if il.startswith("nde_"):
return "NDE_" + interface[4:]
if il.startswith("dot11radio"):
return "Dot11Radio" + interface[10:]
if il.startswith("bdi"):
......@@ -163,6 +163,7 @@ class Profile(BaseProfile):
"MF": "aggregated", # Multilink Frame Relay
"Mf": "aggregated", # Multilink Frame Relay
"Mu": "aggregated", # Multilink-group interface
"ND": "other", # Netflow Data Exporter
"PO": "physical", # Packet OC-3 Port Adapter
"Po": "aggregated", # Port-channel/Portgroup
"R": "aggregated", # @todo: fix
......
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