Closed dpeachey closed 2 years ago
This issue is resolved by https://github.com/CiscoTestAutomation/ncdiff/commit/7cba1c893905e1afeecfdebbb5a0187cb9ef2e44
ignore
option is now supported in scan_models()
Document of scan_models()
has been updated.
https://ncdiff.readthedocs.io/en/latest/api_device.html
Hi,
For certain reasons, for example you cannot download the YANG modules from the device due to a vendor bug, you might like to manually populate the
./yang
folder with the modules yourself and do not try to download them from the device.It is possible to pass an arbitrary value to
scan_models()
for the download parameter, likescan_models(download='ignore')
, which will ignore downloading or checking YANG modules, but this is not documented and I guess not an 'official' way of doing it. Eithercheck
orforce
is expected.Would it make sense to support this option and update the documentation?
Thanks,
Dan