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

ECX L2 conn: add possibility to select device interface #18

Closed
mikouaj opened this issue Oct 21, 2020 · 0 comments
Closed

ECX L2 conn: add possibility to select device interface #18

mikouaj opened this issue Oct 21, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mikouaj
Copy link
Contributor

mikouaj commented Oct 21, 2020

Use-case

Create layer2 connection with device on a-zide with possibility to select particular interface on a device.

Attempted Solutions

When using Web portal, it is possible to select device interface (by name) when creating layer2 connection.

Under the hood, POST on /ecx/v3/l2/connections is triggered with interfaceId attribute, ex:

  ...
  "virtualDeviceUUID": "ebb5b6d6-17ae-4ecc-a837-eac291c7adeb",
  "interfaceId": 7

InterfaceId corresponds to device interface identifier.
It is possible to retrieve interface identifiers along with names using from GET /ne/v1/device/<uuid>, ex:

interfaces": [
    {
      "id": 1,
      "name": "GigabitEthernet1",
      "macAddress": null,
      "status": null,
      "type": "MGMT",
      "ipAddress": null,
      "assignedType": "Equinix Managed"
    },
...

Proposal

Add interface_id argument to equinix_ecx_l2_connection resource schema.

@mikouaj mikouaj added the enhancement New feature or request label Oct 21, 2020
@mikouaj mikouaj self-assigned this Oct 23, 2020
mikouaj added a commit to equinix/ecx-go that referenced this issue Oct 23, 2020
* added DeviceInterfaceID to L2Connection model
* added InterfaceId to request API and corresponding mapping
mikouaj added a commit to equinix/ecx-go that referenced this issue Oct 23, 2020
displague pushed a commit that referenced this issue Jan 28, 2022
Tweak the issue template to match the repository
displague pushed a commit to displague/terraform-provider-equinix that referenced this issue Jan 31, 2022
Tweak the issue template to match the repository
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