Closed sincerywaing closed 7 years ago
I guess we can add an optional_arg
to the driver. Is this something you could look into and send a PR?
@dbarrosop I created a pull request to develop branch to add ignore_warning as optional_args. Please take a look.
This feature will be included in napalm-junos 0.11.0.
Description of Issue/Question
if we delete a command that does not exist, program will raise exception and load set will fail. warning: statement not found warning: statement not found warning: statement not found
however in pyez we can use ignore_warning to ignore any warning. Can we add this?
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
[* ] Yes [ ] No
Setup
napalm-junos version
(Paste verbatim output from
pip freeze | grep napalm-junos
between quotes below)JunOS version
(Paste verbatim output from
show version and haiku
between quotes below)Steps to Reproduce the Issue
delete some command that does not exist
Error Traceback
(Paste the complete traceback of the exception between quotes below)