From f2541b3b4e176a7d0d9cca05e8e5dc9e5ff27ddb Mon Sep 17 00:00:00 2001 From: bk2zsto Date: Wed, 7 Sep 2022 19:31:57 -0400 Subject: Equuleus facts (#271) * support 1.3 version output Co-authored-by: Kate Case --- plugins/cliconf/vyos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/cliconf') diff --git a/plugins/cliconf/vyos.py b/plugins/cliconf/vyos.py index f2064d7c..885cf1f5 100644 --- a/plugins/cliconf/vyos.py +++ b/plugins/cliconf/vyos.py @@ -83,7 +83,7 @@ class Cliconf(CliconfBase): if match: device_info["network_os_version"] = match.group(1) - match = re.search(r"HW model:\s*(\S+)", data) + match = re.search(r"(?:HW|Hardware) model:\s*(\S+)", data) if match: device_info["network_os_model"] = match.group(1) -- cgit v1.2.3