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

Create an example for L2 resources #162

Open
displague opened this issue Feb 27, 2024 · 5 comments · May be fixed by #232
Open

Create an example for L2 resources #162

displague opened this issue Feb 27, 2024 · 5 comments · May be fixed by #232
Labels
documentation Improvements or additions to documentation

Comments

@displague
Copy link
Member

displague commented Feb 27, 2024

SUMMARY

Create an example in https://github.com/equinix-labs/ansible-collection-equinix/tree/main/examples, like the existing examples, that demonstrates how to connect the following resources:

ISSUE TYPE
  • Documentation Report
COMPONENT NAME
ANSIBLE VERSION

@displague displague added this to the v0.4 Layer-2 Features milestone Feb 27, 2024
@t0mk
Copy link
Contributor

t0mk commented Feb 28, 2024

Hi @displague, would you have a particular usecase of what to do? I checked guides in TF provider docs and there's nothing on this topic. Maybe some text guide from equnix labs site?

@displague
Copy link
Member Author

displague commented Feb 28, 2024

@t0mk https://github.com/equinix-labs/terraform-equinix-metal-vrf/blob/main/main.tf would be a similar example. The purpose of this example would be to demonstrate how all of the resources come together to create a logical network that an OS has access to (VLAN + VRF derived IP address is configured in the OS). We don't have to get into what services are run in the OS for the purposes of this.

https://github.com/equinix-labs/terraform-equinix-metal-vrf/tree/main?tab=readme-ov-file#vrf-deployment-on-equinix-platform

@displague
Copy link
Member Author

displague commented Feb 28, 2024

Metal-billed interconnection could be used in the example without redundant VCs and VLANs if that helps to simplify what we are demonstrating here. In that case, the VC resource would be generated and managed by the Interconnection service rather than Ansible. The Ansible example could then refer to the VC through an info module as a secondary step (Use X to create this architecture, use Y to access the Metal-billed interconnection immutable VC).

@displague displague added the documentation Improvements or additions to documentation label Feb 28, 2024
@displague
Copy link
Member Author

Since Metal-Billed Interconnection deploys Virtual Circuits on its own, this example should be possible with the existing v0.4.0 capabilities.

Any VC improvements to the example could be created in a second example focused on dedicated interconnection.

@ctreatma
Copy link
Contributor

As I understand it, we need to resolve #61 in order to put a device in L2 mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants