Skip to content

Add auto-checkpoint (confirmed commit) timer methods to Configuration - #114

Open
ed6869 wants to merge 1 commit into
aruba:masterfrom
ed6869:feature/checkpoint-auto
Open

Add auto-checkpoint (confirmed commit) timer methods to Configuration#114
ed6869 wants to merge 1 commit into
aruba:masterfrom
ed6869:feature/checkpoint-auto

Conversation

@ed6869

@ed6869 ed6869 commented Jul 1, 2026

Copy link
Copy Markdown

Fixes #115

Summary

Adds Configuration.set_auto_checkpoint(minutes) and Configuration.confirm_auto_checkpoint() to arm and confirm the auto-checkpoint (confirmed commit) timer via the configs/autocheckpoint REST resource.

Maps to the AOS-CX CLI:

  • checkpoint auto <minutes> -> set_auto_checkpoint(minutes)
  • checkpoint auto confirm -> confirm_auto_checkpoint()

If the running configuration is not confirmed before the timer expires, the switch automatically rolls it back (safe remote deployments / auto-rollback on lost connectivity).

Note: POST configs/autocheckpoint returns HTTP 200 (not 201) on success, handled explicitly.

Testing

Live-tested against a CX6300 (FL.10.17): arm + confirm succeed; the timer auto-rolls back an unconfirmed change.

Companion collection PR

aruba/aoscx-ansible-collection#224

Add Configuration.set_auto_checkpoint(minutes) and confirm_auto_checkpoint()
to arm and confirm the auto-checkpoint timer (the CLI 'checkpoint auto <N>'
and 'checkpoint auto confirm' commands) via the configs/autocheckpoint REST
resource.

Signed-off-by: ed6869 <ed6869@mail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configuration: no methods for the auto-checkpoint (confirmed commit) timer

1 participant