Handle lowercase in version info (#59565)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
This commit is contained in:
parent
9e0a3fcc2a
commit
3a103405b1
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class Cliconf(CliconfBase):
|
|||
if match:
|
||||
device_info['network_os_image'] = match.group(1)
|
||||
|
||||
model_search_strs = [r'^Cisco (.+) \(revision', r'^[Cc]isco (\S+ \S+).+bytes of .*memory']
|
||||
model_search_strs = [r'^[Cc]isco (.+) \(revision', r'^[Cc]isco (\S+ \S+).+bytes of .*memory']
|
||||
for item in model_search_strs:
|
||||
match = re.search(item, data, re.M)
|
||||
if match:
|
||||
|
|
Loading…
Reference in a new issue