Verified Commit d7ea9c32 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Orion.NOS. Fix regex version.

parent b8221431
Pipeline #31404 passed with stages
in 16 minutes and 11 seconds
......@@ -36,7 +36,7 @@ class Profile(BaseProfile):
r"(^Support ipv6\s*:\s*(?P<ipv6_support>\S+)\s*\n)?"
r"^Bootstrap\s+Version:? (?P<bootprom>(Bootstrap_\d+\.\d+\.\d+|UNKNOWN)).*\n"
r"(^FPGA Version\s*\n)?"
r"^Hardware( \S+| \S+\s\S+|) Version( Rev.|\: ?|\s*)(?P<hardware>\S+)\s*\n"
r"^Hardware( \S+| \S+\s\S+|) Version( Rev.|\: ?|\s*)(?P<hardware>\S+)\s*(\nCPLD Version: 1.0)?\n*"
r"\n"
r"^System MacAddress is\s*:\s*(?P<mac>\S+)\s*\n"
r"^Serial number\s*:\s*(?P<serial>\S+)\s*\n",
......
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