Closed nazarko-es closed 4 years ago
Is your file here:
config_file: "{{ role_path }}/files/{{ device_item.name }}.conf"
An NX-OS checkpoint file?
Being able to do this:
The Cisco switch reads the file with the command 'show file %filename%" - config is ok
Does not actually indicate your file is a proper, full checkpoint file.
I would say the most likely cause is you don't have a valid checkpoint file.
File on the path:
config_file: "{{ role_path }}/files/{{ device_item.name }}.conf"
Not NX-OS checkpoint. I generate this file with jinja template and asnible playbook. Can only use NX-OS checkpoint file? I want use NAPALM for zero-day provisioning, so I generated the configuration from jinja template
Hello, do you have information about this situation?
Yes, it must be a NX-OS checkpoint file. You can generate from a Jinja2 template, but it must be 100% consistent with the requirements of a checkpoint file.
I would start with a valid checkpoint file and then reverse engineer the Jinja2 to make it consistent with that.
Regards, Kirk
Hello, you can close this issue - after 100% consistent as checkpoin file plugin is work
Hello, I encountered an error when i tried to use the module napalm_install_config for replace config on Cisco Nexus 9000, switch soft version is nxos-9.2.3. My playbook:
Error after start playbook:
I did python script with napalm module to install config:
Also i tried to do checkpoint operation on cisco switch and extract "show diff rollback-patch file sot_file file candidate_config.txt", but occured same error. The Cisco switch reads the file with the command 'show file %filename%" - config is ok