Skip to content

feat(ovhcloud-cli): migrate instance lifecycle commands to API v2 - #293

Open
Bxota wants to merge 2 commits into
dev/tleterme/instance-v2from
dev/tleterme/instance-v2-lifecycle
Open

Bxota wants to merge 2 commits into
dev/tleterme/instance-v2from
dev/tleterme/instance-v2-lifecycle

Conversation

@Bxota

@Bxota Bxota commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Description

Please include a summary of the changes and the related issue if applicable.

Fixes #xx (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (improvement of existing commands)
  • Breaking change (fix or feature that can break a current behavior)
  • Documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have commented my code
  • I ran go mod tidy
  • I have added tests that prove my fix is effective or that my feature works

@Bxota
Bxota added this pull request to stack #294 October 7, 2026 09:33
@Bxota
Bxota marked this pull request as ready for review October 7, 2026 09:36
@Bxota
Bxota requested a review from a team as a code owner October 7, 2026 09:36
@Bxota
Bxota force-pushed the dev/tleterme/instance-v2-lifecycle branch from 19996e4 to 54be930 Compare October 8, 2026 08:20
Bxota added 2 commits October 9, 2026 16:40
- Migrate start/stop/shelve/unshelve to the v2 declarative powerState update
- Migrate reboot/reboot-rescue/exit-rescue to the v2 instance action route
- Add lock/unlock commands
- Add --wait to start/stop/shelve/unshelve/reboot
- Remove resume, which has no v2 equivalent
- Resync the instance action route in cloud_v2.json with the live spec

Signed-off-by: Thomas Leterme <thomas.leterme@corp.ovh.com>
Started messages were formatted with the instance ID but had no
verb, which printed a "%!(EXTRA string=...)" suffix.

Signed-off-by: Thomas Leterme <thomas.leterme@corp.ovh.com>
@amstuta
amstuta force-pushed the dev/tleterme/instance-v2-lifecycle branch from 54be930 to 1864c45 Compare October 9, 2026 14:40

This branch has not been deployed

No deployments
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.

1 participant