Commit 26db488c authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'cherry-pick-981c9ee4' into 'release-19.4'

release-19.1:Backport!3300

See merge request noc/noc!3302
parents 877bc2cf a55e5c39
......@@ -26,7 +26,7 @@ class Script(BaseScript):
)
rx_ver1 = re.compile(
r"^\s*Comware\sSoftware,\s(\\|)Version\s(?P<version>.+?),\s"
r"(Release)?(?P<release>\w+(\s)?\w+).*(H3C )(?P<platform>[a-zA-Z0-9\-]+) uptime is",
r"(Release)?(?P<release>\w+(\s)?\w+).*(H3C ).*?(?P<platform>[a-zA-Z0-9\-]+) uptime is",
re.MULTILINE | re.DOTALL | re.IGNORECASE,
)
rx_hw = re.compile(r"Hardware Version is (?P<hardware>\S+)")
......
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