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

Add support for Metal Interconnections and VirtualCircuits (for VLANs and VRF) #307

Open
displague opened this issue Jul 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@displague
Copy link
Member

displague commented Jul 18, 2023

What problem are you facing?

It is not possible to list, create, get, delete, or update connections or virtual-circuit resources through the Metal CLI.

These resources are described in:

How could the Equinix Metal CLI help solve this problem?

At first glance, it looks like these are the commands one would expect:

metal connection create [--organization-id {organization_id} | --project-id {project_id}] [args] # createOrganizationInterconnection, createProjectInterconnection
metal connection list [--organization-id {organization_id} | --project-id {project_id}] # organizationListInterconnections, projectListInterconnections
metal connection -i {connection_id} get # getInterconnection
metal connection -i {connection_id} delete # deleteInterconnection
metal connection -i {connection_id} update [args] # updateInterconnection
metal connection -i {connection_id} --port-id {port_id} create-virtual-circuit [--vlan] [args] # createInterconnectionPortVirtualCircuit
metal connection -i {connection_id} --port-id {port_id} create-virtual-circuit [--vrf] [args] # createInterconnectionPortVirtualCircuit
metal connection -i {connection_id} list-ports # listInterconnectionPorts
metal connection -i {connection_id} --port-id {port_id} get-port # getInterconnectionPort
metal connection -i {connection_id} --port-id {port_id} list-virtual-circuits # listInterconnectionPortVirtualCircuits
metal virtual-circuit -i {vc_id} get # getVirtualCircuit
metal virtual-circuit -i {vc_id} update [args] # updateVirtualCircuit
metal virtual-circuit -i {vc_id} delete # deleteVirtualCircuit

create-virtual-circuit could be designed to take --vlan and --vrf to discriminate between
VlanVirtualCircuitCreateInput and VrfVirtualCircuitCreateInput, or this could be baked into the subcommand name: create-vlan-virtual-circuit / create-vrf-virtual-circuit.

Aliases:

  • connection whould have an alias of interconnection and conn
  • virtual-circuit would have an alias of vc
  • Perhaps: list-virtual-circuits could have aliases? list-port-virtual-circuits, list-vcs. Same for create-virtual-circuit.

Connection resources are important to VRF users, and vice-versa. Relates to #268

@displague displague added the enhancement New feature or request label Jul 18, 2023
@displague displague changed the title Add support for Fabric Connections Add support for Metal Interconnections Jul 18, 2023
displague added a commit that referenced this issue Nov 9, 2023
## Description:

## What this PR does / why we need it:
Added support for metal interconnections

## What issues has this PR fixed?
#307
@displague displague changed the title Add support for Metal Interconnections Add support for Metal Interconnections and VirtualCircuits (for VLANs and VRF) Dec 15, 2023
ctreatma pushed a commit that referenced this issue Jan 19, 2024
- [ ] Enabled virtual-circuit subcommands in metal-cli
- [ ] Improved Virtual network E2E test cases as per new cases



Part of #307

Co-authored-by: Vasubabu <[email protected]>
ctreatma pushed a commit that referenced this issue Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant