Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(anti-affinity-group): Migrate anti--affinity-group to egosca… #641

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mlec1
Copy link

@mlec1 mlec1 commented Sep 28, 2024

Migrate anti--affinity-group to egoscale v3

Checklist

(For exoscale contributors)

  • Changelog updated (under Unreleased block)
  • Testing

Testing

root@05ab6b31e301:/cli# go run . compute anti-affinity-group create test-mlec-2 --description "description"
 ✔ Creating Anti-Affinity Group "test-mlec-2"... 3s
┼─────────────┼──────────────────────────────────────┼
│ ID          │ f0b4b647-0be6-4d3d-b8ee-4c6202bbc071 │
│ Name        │ test-mlec-2                          │
│ Description │ description                          │
│ Instances   │ n/a                                  │
┼─────────────┼──────────────────────────────────────┼

root@05ab6b31e301:/cli# go run . compute anti-affinity-group list             
┼──────────────────────────────────────┼───────────┼
│                  ID                  │   NAME    │
┼──────────────────────────────────────┼───────────┼
│ aae67300-c277-44da-85a9-1b11023ea76a │ test-mlec │
┼──────────────────────────────────────┼───────────┼

root@05ab6b31e301:/cli# go run . compute anti-affinity-group show test-mlec

┼─────────────┼──────────────────────────────────────┼
│ ID          │ aae67300-c277-44da-85a9-1b11023ea76a │
│ Name        │ test-mlec                            │
│ Description │                                      │
│ Instances   │                                      │
┼─────────────┼──────────────────────────────────────┼

root@05ab6b31e301:/cli# go run . compute anti-affinity-group delete test-mlec
[+] Are you sure you want to delete Anti-Affinity Group test-mlec? [yN]: y
 ✔ Deleting Anti-Affinity Group test-mlec... 3s
root@05ab6b31e301:/cli# go run . compute anti-affinity-group delete f0b4b647-0be6-4d3d-b8ee-4c6202bbc071
[+] Are you sure you want to delete Anti-Affinity Group f0b4b647-0be6-4d3d-b8ee-4c6202bbc071? [yN]: y
 ✔ Deleting Anti-Affinity Group f0b4b647-0be6-4d3d-b8ee-4c6202bbc071... 3s

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