Commit 9278a2d5 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'cherry-pick-de1263ef' into 'release-19.4'

release-19.4:Backport!3298

See merge request noc/noc!3299
parents c404578e d74df73d
......@@ -2,7 +2,7 @@
# ---------------------------------------------------------------------
# Qtech.QSW8200.get_interfaces
# ---------------------------------------------------------------------
# Copyright (C) 2007-2019 The NOC Project
# Copyright (C) 2007-2020 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------
......@@ -82,6 +82,8 @@ class Script(BaseScript):
iface["type"] = "loopback"
elif ifname.startswith("NULL"): # NULL has iftype `unknown`
iface["type"] = "null"
elif ifname.startswith("port-channel"): # port-channel no has iftype
iface["type"] = "aggregated"
else:
iface["type"] = self.profile.get_interface_type(ifname)
iface["mac"] = match.group("mac")
......
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