regex match for lowercase Cisco (#59550)

pull/59926/head
benjdudas 5 years ago committed by Sumit Jaiswal
parent eea46a0d1b
commit 4eb156b2f5

@ -207,7 +207,7 @@ class Cliconf(CliconfBase):
if match:
device_info['network_os_version'] = match.group(1).strip(',')
model_search_strs = [r'^Cisco (.+) \(revision', r'^[Cc]isco (\S+).+bytes of .*memory']
model_search_strs = [r'^[Cc]isco (.+) \(revision', r'^[Cc]isco (\S+).+bytes of .*memory']
for item in model_search_strs:
match = re.search(item, data, re.M)
if match:

Loading…
Cancel
Save