cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
779
Views
0
Helpful
1
Replies

commit replace

yitung
Cisco Employee
Cisco Employee

Hi,

I would like to ask if I can do "load ftp:<username>:<password@<host>/config_file.cfg" and "commit replace" operation via ydk-py??

Thanks a lot!!

1 Accepted Solution

Accepted Solutions

saalvare
Cisco Employee
Cisco Employee

The API does support a full config replace from a remote repository using the copy_config operation of the NETCONF service:

https://goo.gl/AA2rI4

Note that the NETCONF server needs to support that functionality and advertise the capabilities appropriately for your client to work.

View solution in original post

1 Reply 1

saalvare
Cisco Employee
Cisco Employee

The API does support a full config replace from a remote repository using the copy_config operation of the NETCONF service:

https://goo.gl/AA2rI4

Note that the NETCONF server needs to support that functionality and advertise the capabilities appropriately for your client to work.