equinixmetal-archive/packngo

Implement Connections

Closed this issue · 0 comments

Implement Connections as defined in https://api.equinix.com/metal/v1/api-docs

Connections - Network Interconnections. See Instructions to create Network Interconnections at Check out the product docs to learn more about Equinix Fabric.

There may not be an existing pattern for POST creates into a URL with two parameters.

The API docs should be copied into packngo as the default field, method, and type comments.

  • POST ​/organizations​/{organization_id}​/connections Request a new connection for the organization
  • POST ​/projects​/{project_id}​/connections Request a new connection for the project's organization
  • GET ​/organizations​/{organization_id}​/connections List organization connections
  • GET ​/projects​/{project_id}​/connections List project connections
  • GET ​/connections​/{id} Get connection
  • PUT ​/connections​/{id} Update connection
  • DELETE ​/connections​/{id} Delete connection
  • GET ​/connections​/{id}​/events Retrieve connection events
  • GET ​/connections​/{id}​/ports​/{id}​/events Retrieve connection port events
  • GET ​/virtual-circuit​/{id}​/events Retrieve connection events
  • GET ​/connections​/{connection_id}​/ports List a connection's ports
  • GET ​/connections​/{connection_id}​/ports​/{id} Get a connection port
  • GET ​/connections​/{connection_id}​/ports​/{port_id}​/virtual-circuits List a connection port's virtual circuits
  • POST ​/connections​/{connection_id}​/ports​/{port_id}​/virtual-circuits Create a new Virtual Circuit
  • GET ​/virtual-circuits​/{id} Get a virtual circuit
  • PUT ​/virtual-circuits​/{id} Update a virtual circuit
  • DELETE ​/virtual-circuits​/{id} Delete a virtual circuit