Commit 8f28b5f3 authored by Dmitry Lukhtionov's avatar Dmitry Lukhtionov
Browse files

Fix NAG.SNR.get_interfaces script

parent 07177c35
Pipeline #32141 passed with stages
in 17 minutes and 50 seconds
# ---------------------------------------------------------------------
# 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