metal-cli icon indicating copy to clipboard operation
metal-cli copied to clipboard

feat: BETA loadbalancer service support

Open displague opened this issue 1 year ago • 2 comments

Part of https://github.com/equinix/metal-cli/issues/411

(Used CPEM's LBaaS Go project as the base. Lots of cleanup ahead. )

This PR introduces the minimal subcommand support to start working with LoadBalancers. This PR does not include ports and pools, which can be added later.

TODO:

  • [x] Get LB
  • [x] List LB
  • [x] Detele LB
  • [x] Create Project LB
  • [x] Send debug transport to token exchange when debugging?
  • [x] Ensure command docs are correct
  • [ ] Ensure requirement checks (required fields) are correct
  • [x] Ensure example commands are correct
  • [x] Ensure command is named "loadbalancer-beta"
  • [x] generate docs

displague avatar Oct 07 '23 23:10 displague

One thing to consider here: if LBaaS has its own generated client that sits next to the metal client in equinix-sdk-go, with its own spec and its own API endpoint, that may indicate that LBaaS CLI commands should go alongside Metal CLI commands in a broader-scoped Equinix CLI (eqx? eqix? the-equinix-cli?) rather than directly in here.

ctreatma avatar Dec 18 '23 16:12 ctreatma

Merged in latest updates and tested create/get/delete commands to verify they work.

cprivitere avatar Jan 23 '24 20:01 cprivitere