Update cnos_vrf.py
This commit is contained in:
parent
ca0570d3ed
commit
ac546457c8
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ def map_config_to_obj(module):
|
||||||
if '!' not in intName and 'Interfaces' not in intName:
|
if '!' not in intName and 'Interfaces' not in intName:
|
||||||
obj['interfaces'].append(intName.strip().lower())
|
obj['interfaces'].append(intName.strip().lower())
|
||||||
objs.append(obj)
|
objs.append(obj)
|
||||||
else:
|
else:
|
||||||
module.fail_json(msg='Could not fetch VRF details from device')
|
module.fail_json(msg='Could not fetch VRF details from device')
|
||||||
return objs
|
return objs
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue