Closed denniswa closed 8 months ago
Verified: pull is now not possible if candidate has been modified:
snc@snc-lab[/]# op pull
Jan 9 16:27:58: cli_rpc_pull: 646: XML error: Get configuration: application operation-failed Cannot pull if the candidate datastore is modified
CLI command error
Given that If a device config has been altered and controller is not in sync anymore unexpected diffs will be pushed during commit. Ex prefix list was first deleted on device:
Then another prefix list was added from the controller:
When trying to commit we detect that the device is not in sync anymore:
The we pull config from device and try to commit again
This would push the deleted prefix-list 'a' back to the device since it was still present in candidate.