Commit ff8ce9e0 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'cherry-pick-b4f8dc2d' into 'release-20.4'

release-20.4:Backport!5445

See merge request noc/noc!5452
parents 68b5ac30 657daf32
# ---------------------------------------------------------------------
# NAG.SNR.get_interfaces
# ---------------------------------------------------------------------
# Copyright (C) 2007-2020 The NOC Project
# Copyright (C) 2007-2021 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------
......@@ -30,7 +30,7 @@ class Script(BaseScript):
re.MULTILINE,
)
rx_hw = re.compile(
r"^\s+Hardware is (?P<hw_type>\S+)(, active is \S+)?"
r"^\s+Hardware is (?P<hw_type>\S+)(\(card not installed\))?(, active is \S+)?"
r"(,\s+address is (?P<mac>\S+))?\s*\n",
re.MULTILINE,
)
......
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