{"id":20324586,"url":"https://github.com/netascode/terraform-iosxe-evpn-ospf-underlay","last_synced_at":"2026-05-26T23:32:58.054Z","repository":{"id":38150564,"uuid":"492886504","full_name":"netascode/terraform-iosxe-evpn-ospf-underlay","owner":"netascode","description":"Terraform Cisco IOS-XE EVPN OSPF Underlay Module","archived":false,"fork":false,"pushed_at":"2025-11-21T02:03:22.000Z","size":30,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-30T13:36:35.487Z","etag":null,"topics":["catalyst","cisco","evpn","iac","ios-xe","iosxe","terraform","terraform-module","underlay"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/netascode/evpn-ospf-underlay/iosxe","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netascode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-05-16T15:07:44.000Z","updated_at":"2022-05-16T15:16:06.000Z","dependencies_parsed_at":"2024-01-12T16:47:40.170Z","dependency_job_id":"a8f67785-3ff9-4654-8cce-479c1cbd1170","html_url":"https://github.com/netascode/terraform-iosxe-evpn-ospf-underlay","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/netascode/terraform-iosxe-evpn-ospf-underlay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fterraform-iosxe-evpn-ospf-underlay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fterraform-iosxe-evpn-ospf-underlay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fterraform-iosxe-evpn-ospf-underlay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fterraform-iosxe-evpn-ospf-underlay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netascode","download_url":"https://codeload.github.com/netascode/terraform-iosxe-evpn-ospf-underlay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fterraform-iosxe-evpn-ospf-underlay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33543973,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["catalyst","cisco","evpn","iac","ios-xe","iosxe","terraform","terraform-module","underlay"],"created_at":"2024-11-14T19:34:36.048Z","updated_at":"2026-05-26T23:32:58.037Z","avatar_url":"https://github.com/netascode.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n[![Tests](https://github.com/netascode/terraform-iosxe-evpn-ospf-underlay/actions/workflows/test.yml/badge.svg)](https://github.com/netascode/terraform-iosxe-evpn-ospf-underlay/actions/workflows/test.yml)\n\n# Terraform IOS-XE EVPN OSPF Underlay Module\n\nThis module can manage a Catalyst 9000 EVPN fabric underlay network based on OSPF.\n\nThe following assumptions have been made:\n\n- IP unnumbered is used on all fabric links\n- OSPF area 0 is used for all interfaces\n- PIM sparse mode is enabled on all interfaces\n- A system MTU of 9198 is configured on all devices\n- All spines act as a PIM RP (Anycast with MSDP)\n- Each leaf is connected to each spine with a single link\n- The same consecutive range of interfaces is used on all leafs for fabric links\n- The same consecutive range of interfaces is used on all spines for fabric links\n\n## Examples\n\n```hcl\nmodule \"iosxe_evpn_ospf_underlay\" {\n  source  = \"netascode/evpn-ospf-underlay/iosxe\"\n  version = \"\u003e= 0.1.0\"\n\n  leafs           = [\"LEAF-1\", \"LEAF-2\"]\n  spines          = [\"SPINE-1\", \"SPINE-2\"]\n  loopback_id     = 0\n  pim_loopback_id = 100\n\n  loopbacks = [\n    {\n      device       = \"SPINE-1\",\n      ipv4_address = \"10.1.100.1\"\n    },\n    {\n      device       = \"SPINE-2\",\n      ipv4_address = \"10.1.100.2\"\n    },\n    {\n      device       = \"LEAF-1\",\n      ipv4_address = \"10.1.100.3\"\n    },\n    {\n      device       = \"LEAF-2\",\n      ipv4_address = \"10.1.100.4\"\n    }\n  ]\n\n  vtep_loopback_id = 1\n\n  vtep_loopbacks = [\n    {\n      device       = \"LEAF-1\",\n      ipv4_address = \"10.1.200.1\"\n    },\n    {\n      device       = \"LEAF-2\",\n      ipv4_address = \"10.1.200.2\"\n    }\n  ]\n\n  fabric_interface_type         = \"GigabitEthernet\"\n  leaf_fabric_interface_prefix  = \"1/0/\"\n  leaf_fabric_interface_offset  = \"1\"\n  spine_fabric_interface_prefix = \"1/0/\"\n  spine_fabric_interface_offset = \"1\"\n  anycast_rp_ipv4_address       = \"10.1.101.1\"\n}\n```\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.1.0 |\n| \u003ca name=\"requirement_iosxe\"\u003e\u003c/a\u003e [iosxe](#requirement\\_iosxe) | \u003e= 0.3.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_iosxe\"\u003e\u003c/a\u003e [iosxe](#provider\\_iosxe) | \u003e= 0.3.0 |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_leafs\"\u003e\u003c/a\u003e [leafs](#input\\_leafs) | List of leaf device names. This list of devices must also be added to the provider configuration. | `set(string)` | `[]` | no |\n| \u003ca name=\"input_spines\"\u003e\u003c/a\u003e [spines](#input\\_spines) | List of spine device names. This list of devices must also be added to the provider configuration. | `set(string)` | `[]` | no |\n| \u003ca name=\"input_loopback_id\"\u003e\u003c/a\u003e [loopback\\_id](#input\\_loopback\\_id) | Loopback ID used for OSPF and PIM. | `number` | `0` | no |\n| \u003ca name=\"input_pim_loopback_id\"\u003e\u003c/a\u003e [pim\\_loopback\\_id](#input\\_pim\\_loopback\\_id) | Loopback ID used for PIM Anycast RP. | `number` | `100` | no |\n| \u003ca name=\"input_loopbacks\"\u003e\u003c/a\u003e [loopbacks](#input\\_loopbacks) | List of loopback interfaces, one per device. | \u003cpre\u003elist(object({\u003cbr\u003e    device       = string\u003cbr\u003e    ipv4_address = string\u003cbr\u003e  }))\u003c/pre\u003e | `[]` | no |\n| \u003ca name=\"input_vtep_loopback_id\"\u003e\u003c/a\u003e [vtep\\_loopback\\_id](#input\\_vtep\\_loopback\\_id) | Loopback ID used for VTEP loopbacks. | `number` | `1` | no |\n| \u003ca name=\"input_vtep_loopbacks\"\u003e\u003c/a\u003e [vtep\\_loopbacks](#input\\_vtep\\_loopbacks) | List of vtep loopback interfaces, one per leaf. | \u003cpre\u003elist(object({\u003cbr\u003e    device       = string\u003cbr\u003e    ipv4_address = string\u003cbr\u003e  }))\u003c/pre\u003e | `[]` | no |\n| \u003ca name=\"input_fabric_interface_type\"\u003e\u003c/a\u003e [fabric\\_interface\\_type](#input\\_fabric\\_interface\\_type) | Interface type of fabric interfaces. Choices: `GigabitEthernet`, `TwoGigabitEthernet`, `FiveGigabitEthernet`, `TenGigabitEthernet`, `TwentyFiveGigE`, `FortyGigabitEthernet`, `HundredGigE`, `TwoHundredGigE`, `FourHundredGigE`. | `string` | `\"GigabitEthernet\"` | no |\n| \u003ca name=\"input_leaf_fabric_interface_prefix\"\u003e\u003c/a\u003e [leaf\\_fabric\\_interface\\_prefix](#input\\_leaf\\_fabric\\_interface\\_prefix) | Interface prefix for leaf interfaces, eg. `1/0/`. | `string` | n/a | yes |\n| \u003ca name=\"input_spine_fabric_interface_prefix\"\u003e\u003c/a\u003e [spine\\_fabric\\_interface\\_prefix](#input\\_spine\\_fabric\\_interface\\_prefix) | Interface prefix for spine interfaces, eg. `1/0/`. | `string` | n/a | yes |\n| \u003ca name=\"input_leaf_fabric_interface_offset\"\u003e\u003c/a\u003e [leaf\\_fabric\\_interface\\_offset](#input\\_leaf\\_fabric\\_interface\\_offset) | Leaf interface index offset for fabric interfaces. | `string` | `1` | no |\n| \u003ca name=\"input_spine_fabric_interface_offset\"\u003e\u003c/a\u003e [spine\\_fabric\\_interface\\_offset](#input\\_spine\\_fabric\\_interface\\_offset) | Spine interface index offset for fabric interfaces. | `string` | `1` | no |\n| \u003ca name=\"input_anycast_rp_ipv4_address\"\u003e\u003c/a\u003e [anycast\\_rp\\_ipv4\\_address](#input\\_anycast\\_rp\\_ipv4\\_address) | IPv4 address of PIM RP loopback interface (Anycast). | `string` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_loopback_id\"\u003e\u003c/a\u003e [loopback\\_id](#output\\_loopback\\_id) | Loopback ID used for OSPF and PIM. |\n| \u003ca name=\"output_pim_loopback_id\"\u003e\u003c/a\u003e [pim\\_loopback\\_id](#output\\_pim\\_loopback\\_id) | Loopback ID used for PIM Anycast RP. |\n| \u003ca name=\"output_vtep_loopback_id\"\u003e\u003c/a\u003e [vtep\\_loopback\\_id](#output\\_vtep\\_loopback\\_id) | Loopback ID used for VTEP loopbacks. |\n| \u003ca name=\"output_loopbacks\"\u003e\u003c/a\u003e [loopbacks](#output\\_loopbacks) | List of loopback interfaces, one per device. |\n| \u003ca name=\"output_vtep_loopbacks\"\u003e\u003c/a\u003e [vtep\\_loopbacks](#output\\_vtep\\_loopbacks) | List of vtep loopback interfaces, one per leaf. |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [iosxe_interface_ethernet.leaf_fabric_interface](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_ethernet) | resource |\n| [iosxe_interface_ethernet.spine_fabric_interface](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_ethernet) | resource |\n| [iosxe_interface_loopback.loopback](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_loopback) | resource |\n| [iosxe_interface_loopback.pim_loopback](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_loopback) | resource |\n| [iosxe_interface_loopback.vtep_loopback](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_loopback) | resource |\n| [iosxe_interface_ospf.leaf_interface_ospf](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_ospf) | resource |\n| [iosxe_interface_ospf.spine_interface_ospf](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_ospf) | resource |\n| [iosxe_interface_ospf_process.leaf_interface_ospf_process](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_ospf_process) | resource |\n| [iosxe_interface_ospf_process.loopback_interface_ospf_process](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_ospf_process) | resource |\n| [iosxe_interface_ospf_process.pim_loopback_interface_ospf_process](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_ospf_process) | resource |\n| [iosxe_interface_ospf_process.spine_interface_ospf_process](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_ospf_process) | resource |\n| [iosxe_interface_ospf_process.vtep_loopback_interface_ospf_process](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_ospf_process) | resource |\n| [iosxe_interface_pim.leaf_interface_pim](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_pim) | resource |\n| [iosxe_interface_pim.loopback_interface_pim](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_pim) | resource |\n| [iosxe_interface_pim.pim_loopback_interface_pim](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_pim) | resource |\n| [iosxe_interface_pim.spine_interface_pim](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_pim) | resource |\n| [iosxe_interface_pim.vtep_loopback_interface_pim](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/interface_pim) | resource |\n| [iosxe_msdp.msdp](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/msdp) | resource |\n| [iosxe_ospf.ospf](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/ospf) | resource |\n| [iosxe_pim.pim](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/pim) | resource |\n| [iosxe_system.system](https://registry.terraform.io/providers/CiscoDevNet/iosxe/latest/docs/resources/system) | resource |\n\u003c!-- END_TF_DOCS --\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetascode%2Fterraform-iosxe-evpn-ospf-underlay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetascode%2Fterraform-iosxe-evpn-ospf-underlay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetascode%2Fterraform-iosxe-evpn-ospf-underlay/lists"}