This repository contains a module for deploying VXLAN/EVPN on Cisco Nexus devices using Terraform NXOS provider. As part of the demo presented in the Technical SEminar TECDCN-2914, this demonstrates how to automate the configuration of VXLAN/EVPN on Cisco Nexus devices with a flair of Infrastructure as Code (IaC).
- Terraform installed on your local machine.
- Access to a Cisco Nexus device that supports VXLAN/EVPN.
- Cisco NXOS provider for Terraform configured.
- Basic understanding of Terraform and Cisco Nexus configurations.
-
Clone the repository:
git clone <repository-url>
-
Navigate to the cloned directory:
cd tecdcn-terraform -
Initialize Terraform:
terraform init
-
Review the configuration files in the data directory.
-
Apply the configuration:
terraform apply
This will prompt you to confirm the changes. Type
yesto proceed. -
After the deployment is complete, you can verify the VXLAN/EVPN configuration on your Nexus device.
-
To destroy the resources created by Terraform, run:
terraform destroy
Again, confirm with
yeswhen prompted.
- Ensure that you have the necessary permissions on the Nexus device to apply configurations.
- This demo is intended for educational purposes and may require adjustments based on your specific network environment.
- For any issues or contributions, please open an issue or pull request in this repository.
This project is licensed under the MIT License - see the LICENSE file for details.