IOS get_network_instances fails 'KeyError' when deleting item from interfaces #1387
Closed
1 task done
Labels
Milestone
Description of Issue/Question
Issue with ios driver for getting VRFs. On Cat3850 running Fuji 16.9.x code, when performing the
get_network_instances
line 3431 (deleting items from interfaces from network instances nested dict) returns an error:line 3431, in get_network_instances del instances["default"]["interfaces"]["interface"][item] KeyError: 'LI18/2'
Suggestion is to set conditional statement:
Note: Please check https://guides.github.com/features/mastering-markdown/
to see how to properly format your request.
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
(Place an
x
between the square brackets where applicable)Setup
napalm version
(Paste verbatim output from
pip freeze | grep napalm
between quotes below)Network operating system version
(Paste verbatim output from
show version
- or equivalent - between quotes below)Steps to Reproduce the Issue
Error Traceback
(Paste the complete traceback of the exception between quotes below)
The text was updated successfully, but these errors were encountered: