Skip to content

Show type & description of eip in eip list#803

Open
aureliar8 wants to merge 3 commits intomasterfrom
aureliar8/eip-list
Open

Show type & description of eip in eip list#803
aureliar8 wants to merge 3 commits intomasterfrom
aureliar8/eip-list

Conversation

@aureliar8
Copy link
Contributor

@aureliar8 aureliar8 commented Feb 25, 2026

Description

Show whether the eip is managed or manual in eip list, like the portal does; as well as the description field

Before

❯ exo c eip list                                            
┼──────────────────────────────────────┼─────────────────────────────┼──────────┼
│                  ID                  │         IP ADDRESS          │   ZONE   │
┼──────────────────────────────────────┼─────────────────────────────┼──────────┼
│ ad9ae550-34e3-44f2-970f-275bf7ea747b │ 2a04:c46:e00:9d65:500:2:0:1 │ de-fra-1 │
│ 4e73a5f8-b205-4b54-a81f-bcb1f0a84681 │ 159.100.249.32              │ ch-dk-2  │
│ f313feb9-192e-4db1-afcc-cbd0fb96349c │ 159.100.252.102             │ ch-dk-2  │
│ bfa3373c-aa39-4e99-8c78-ecd424c50af9 │ 159.100.252.117             │ ch-dk-2  │
│ 0fa3e55a-8d1f-4916-8019-b19fcece2ada │ 159.100.252.127             │ ch-dk-2  │
│ 1f02faf3-0a7a-498e-a038-07a5d185c838 │ 159.100.252.216             │ ch-dk-2  │
│ 7bfb03ee-c712-4b82-b86d-7ae08c474c0e │ 91.92.154.13                │ ch-dk-2  │
│ a9201538-6e0d-4287-ab92-2c203ea17adf │ 91.92.155.138               │ ch-dk-2  │
┼──────────────────────────────────────┼─────────────────────────────┼──────────┼

After

❯ go run . c eip list                                                 
┼──────────────────────────────────────┼─────────────────────────────┼─────────────────────┼─────────┼──────────┼
│                  ID                  │         IP ADDRESS          │     DESCRIPTION     │  TYPE   │   ZONE   │
┼──────────────────────────────────────┼─────────────────────────────┼─────────────────────┼─────────┼──────────┼
│ 4e73a5f8-b205-4b54-a81f-bcb1f0a84681 │ 159.100.249.32              │ A                   │ Managed │ ch-dk-2  │
│ f313feb9-192e-4db1-afcc-cbd0fb96349c │ 159.100.252.102             │ B                   │ Managed │ ch-dk-2  │
│ bfa3373c-aa39-4e99-8c78-ecd424c50af9 │ 159.100.252.117             │ C                   │ Managed │ ch-dk-2  │
│ 0fa3e55a-8d1f-4916-8019-b19fcece2ada │ 159.100.252.127             │ D                   │ Managed │ ch-dk-2  │
│ 1f02faf3-0a7a-498e-a038-07a5d185c838 │ 159.100.252.216             │ E                   │ Managed │ ch-dk-2  │
│ 7bfb03ee-c712-4b82-b86d-7ae08c474c0e │ 91.92.154.13                │                     │ Manual  │ ch-dk-2  │
│ a9201538-6e0d-4287-ab92-2c203ea17adf │ 91.92.155.138               │ meip-reentrant-test │ Managed │ ch-dk-2  │
│ ad9ae550-34e3-44f2-970f-275bf7ea747b │ 2a04:c46:e00:9d65:500:2:0:1 │                     │ Manual  │ de-fra-1 │
┼──────────────────────────────────────┼─────────────────────────────┼─────────────────────┼─────────┼──────────┼

Portal for reference
image

Checklist

(For exoscale contributors)

  • Changelog updated (under Unreleased block, and add the Pull Request #number for each bit you add to the CHANGELOG.md)
  • Testing

Testing

@aureliar8 aureliar8 changed the title Show type of eip in eip list Show type & description of eip in eip list Feb 25, 2026
@kobajagi
Copy link
Contributor

Thanks @aureliar8 , remember to add a line in changelog.md before merging.

@aureliar8
Copy link
Contributor Author

Sorry @kobajagi, I updated the PR to also display the EIP description just after your review

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.

2 participants