confirm_commit
Finalize a pending network commit-confirm change to stop its automatic revert timer after checking device reachability. Use dry_run to detect pending commits without confirming.
Instructions
[WRITE] Confirm a pending commit-confirm change, cancelling its revert timer.
The second half of the commit-confirm workflow. Run it only AFTER verifying the device is still reachable and healthy — doing nothing is the safe alternative, because the device then reverts on its own.
dry_run=True reads whether a commit-confirm is actually pending (nothing is confirmed; the revert timer keeps running).
Args: dry_run: If True, report whether a pending commit exists without confirming. target: Device name from config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No |