Update cnos_vrf.py

This commit is contained in:
Anil Kumar Muraleedharan 2019-05-01 00:18:25 +05:30 committed by GitHub
parent ca0570d3ed
commit ac546457c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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