Quiz 7 Question 19 of 20

A pipeline uses ncclient to lock the candidate datastore and stage an interface change on 60 IOS XE routers. Two routers return an <rpc-error> with error-tag lock-denied because another job holds the lock, one router's SSH session drops before the reply arrives, and the rest return <ok/> for the edit-config request. For each device, the pipeline must report the change as staged, delayed or unreachable without stopping the run. Which reply-reading and error-handling pattern should it use?

Select an answer to reveal the explanation.

Motivation