In the final steps to setup the repository, you will need to update the data directory with specific information for your pod.
Terraform is a API driven approach as we explained previously. For this reason we have to make sure that NXAPI is enabled on the devices. Then the connection to the devices is represented as a URL that points to the NXAPI endpoint.
Open data/devices.yaml
code-server -r /home/pod06/workspace/nxapilab/terraform-nxos/ltrdcn-3903-terra/data/devices.yaml
You will be adding three devices, two leafs and one spine to the file data/devices.yaml
---
vxlan-ciscolive:
devices:
- name: staging-spine1
url: 'https://10.15.6.11'
role: spine
managed: true
router_id: '10.0.0.1'
rendezvous_point: true
- name: staging-leaf1
url: 'https://10.15.6.12'
role: leaf
managed: true
router_id: '10.0.0.2'
- name: staging-leaf2
url: 'https://10.15.6.13'
role: leaf
managed: true
router_id: '10.0.0.3'
code-server -r /home/pod06/workspace/nxapilab/terraform-nxos/ltrdcn-3903-terra/data/networks.yaml
---
vxlan-ciscolive:
networks:
vrfs:
- name: VRF1
description: VRF1 for Cisco Live Seminar
vni: 10000
vlan_id: 1000
attach:
- name: staging-leaf1
- name: staging-leaf2
- name: VRF2
description: VRF2 for Cisco Live Seminar
vni: 20000
vlan_id: 2000
attach:
- name: staging-leaf2
vlans:
- name: VLAN-100
vlan_id: 100
vn-segment: 10100
vrf_name: VRF1
gw_ip: '192.168.100.1/24'
attach:
- name: staging-leaf1
- name: VLAN-102
vlan_id: 101
vn-segment: 10102
vrf_name: VRF1
gw_ip: '192.168.101.1/24'
attach:
- name: staging-leaf2
- name: VLAN-201
vlan_id: 201
vn-segment: 20201
vrf_name: VRF2
gw_ip: '192.168.201.1/24'
attach:
- name: staging-leaf2
Now that the repository is ready for use, we can setup Terraform for execution. The reason that
we need to set up Terraform is that in the code itself there is the instructions of what
we need Terraform to download and install for this execution. One of the components
that is required is the actually NXOS provider code. This is installed in a
directory called .terraform
in the root of the repository.
cd /home/pod06/workspace/nxapilab/terraform-nxos/ltrdcn-3903-terra
terraform init
This output will indicate that Terraform is initializing the working directory, downloading the required provider plugins, and setting up the backend for state management. Once the initialization is complete, you will see a message indicating that the directory is ready for use.
Initializing the backend... Initializing modules... - vxlan in vxlan Initializing provider plugins... - terraform.io/builtin/terraform is built in to Terraform - Finding netascode/utils versions matching ">= 0.2.6"... - Finding ciscodevnet/nxos versions matching "0.5.10"... - Installing netascode/utils v1.0.2... - Installed netascode/utils v1.0.2 (self-signed, key ID 48630DA58CAFD6C0) - Installing ciscodevnet/nxos v0.5.10... - Installed ciscodevnet/nxos v0.5.10 (signed by a HashiCorp partner, key ID 974C06066198C482) Partner and community providers are signed by their developers. If you'd like to know more about provider signing, you can read about it here: https://developer.hashicorp.com/terraform/cli/plugins/signing Terraform has created a lock file .terraform.lock.hcl to record the provider selections it made above. Include this file in your version control repository so that Terraform can guarantee to make the same selections by default when you run "terraform init" in the future. Terraform has been successfully initialized! You may now begin working with Terraform. Try running "terraform plan" to see any changes that are required for your infrastructure. All Terraform commands should now work. If you ever set or change modules or backend configuration for Terraform, rerun this command to reinitialize your working directory. If you forget, other commands will detect it and remind you to do so if necessary.
terraform plan
Terraform plan is a command that allows you to preview the changes that Terraform will make to your
infrastructure
based on the current configuration files. It shows you what resources will be created, modified, or destroyed
without actually applying those changes.
When you run terraform plan
, Terraform compares the current state of your infrastructure (as stored
in
the
state file) with the desired state defined in your configuration files. It then generates an execution plan that
outlines the actions it will take to bring your infrastructure in line with the desired state.
Terraform plan is a crucial step in the Terraform workflow, as it allows you to review and verify the changes
before
applying them. This helps prevent unintended modifications to your infrastructure and ensures that you have a
clear
understanding of what will happen when you run terraform apply
. For networking equipment the
key is that if there is a change completed outside of Terraform, you will see that terraform is planning to
overwrite what exists in the infrastructure which could be disruptive.
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # module.vxlan.nxos_bgp.bgp["staging-leaf1"] will be created + resource "nxos_bgp" "bgp" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_bgp.bgp["staging-leaf2"] will be created + resource "nxos_bgp" "bgp" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_bgp.bgp["staging-spine1"] will be created + resource "nxos_bgp" "bgp" { + admin_state = "enabled" + device = "staging-spine1" + id = (known after apply) } # module.vxlan.nxos_bgp_address_family.vxlan_bgp_network_ipv4_address_family["staging-leaf1-VRF1-10000"] will be created + resource "nxos_bgp_address_family" "vxlan_bgp_network_ipv4_address_family" { + address_family = "ipv4-ucast" + advertise_l2vpn_evpn = "enabled" + advertise_only_active_routes = "disabled" + advertise_physical_ip_for_type5_routes = "disabled" + asn = "65000" + critical_nexthop_timeout = "crit" + default_information_originate = "disabled" + device = "staging-leaf1" + id = (known after apply) + max_ecmp_paths = 2 + max_external_ecmp_paths = 1 + max_external_internal_ecmp_paths = 1 + max_local_ecmp_paths = 1 + max_mixed_ecmp_paths = 1 + non_critical_nexthop_timeout = "noncrit" + prefix_priority = "none" + retain_rt_all = "disabled" + vni_ethernet_tag = "disabled" + vrf = "VRF1" + wait_igp_converged = "disabled" } # module.vxlan.nxos_bgp_address_family.vxlan_bgp_network_ipv4_address_family["staging-leaf2-VRF1-10000"] will be created + resource "nxos_bgp_address_family" "vxlan_bgp_network_ipv4_address_family" { + address_family = "ipv4-ucast" + advertise_l2vpn_evpn = "enabled" + advertise_only_active_routes = "disabled" + advertise_physical_ip_for_type5_routes = "disabled" + asn = "65000" + critical_nexthop_timeout = "crit" + default_information_originate = "disabled" + device = "staging-leaf2" + id = (known after apply) + max_ecmp_paths = 2 + max_external_ecmp_paths = 1 + max_external_internal_ecmp_paths = 1 + max_local_ecmp_paths = 1 + max_mixed_ecmp_paths = 1 + non_critical_nexthop_timeout = "noncrit" + prefix_priority = "none" + retain_rt_all = "disabled" + vni_ethernet_tag = "disabled" + vrf = "VRF1" + wait_igp_converged = "disabled" } # module.vxlan.nxos_bgp_address_family.vxlan_bgp_network_ipv4_address_family["staging-leaf2-VRF2-20000"] will be created + resource "nxos_bgp_address_family" "vxlan_bgp_network_ipv4_address_family" { + address_family = "ipv4-ucast" + advertise_l2vpn_evpn = "enabled" + advertise_only_active_routes = "disabled" + advertise_physical_ip_for_type5_routes = "disabled" + asn = "65000" + critical_nexthop_timeout = "crit" + default_information_originate = "disabled" + device = "staging-leaf2" + id = (known after apply) + max_ecmp_paths = 2 + max_external_ecmp_paths = 1 + max_external_internal_ecmp_paths = 1 + max_local_ecmp_paths = 1 + max_mixed_ecmp_paths = 1 + non_critical_nexthop_timeout = "noncrit" + prefix_priority = "none" + retain_rt_all = "disabled" + vni_ethernet_tag = "disabled" + vrf = "VRF2" + wait_igp_converged = "disabled" } # module.vxlan.nxos_bgp_instance.vxlan_bgp_instance["staging-leaf1"] will be created + resource "nxos_bgp_instance" "vxlan_bgp_instance" { + admin_state = "enabled" + asn = "65000" + device = "staging-leaf1" + enhanced_error_handling = true + id = (known after apply) } # module.vxlan.nxos_bgp_instance.vxlan_bgp_instance["staging-leaf2"] will be created + resource "nxos_bgp_instance" "vxlan_bgp_instance" { + admin_state = "enabled" + asn = "65000" + device = "staging-leaf2" + enhanced_error_handling = true + id = (known after apply) } # module.vxlan.nxos_bgp_instance.vxlan_bgp_instance["staging-spine1"] will be created + resource "nxos_bgp_instance" "vxlan_bgp_instance" { + admin_state = "enabled" + asn = "65000" + device = "staging-spine1" + enhanced_error_handling = true + id = (known after apply) } # module.vxlan.nxos_bgp_peer.vxlan_bgp_leaf_peers["staging-leaf1-10.0.0.1"] will be created + resource "nxos_bgp_peer" "vxlan_bgp_leaf_peers" { + address = "10.0.0.1" + asn = "65000" + description = "Peer to 10.0.0.1" + device = "staging-leaf1" + hold_time = 180 + id = (known after apply) + keepalive = 60 + peer_type = "fabric-internal" + remote_asn = "65000" + source_interface = "lo0" + vrf = "default" } # module.vxlan.nxos_bgp_peer.vxlan_bgp_leaf_peers["staging-leaf2-10.0.0.1"] will be created + resource "nxos_bgp_peer" "vxlan_bgp_leaf_peers" { + address = "10.0.0.1" + asn = "65000" + description = "Peer to 10.0.0.1" + device = "staging-leaf2" + hold_time = 180 + id = (known after apply) + keepalive = 60 + peer_type = "fabric-internal" + remote_asn = "65000" + source_interface = "lo0" + vrf = "default" } # module.vxlan.nxos_bgp_peer.vxlan_bgp_spine_peers["staging-spine1-10.0.0.2"] will be created + resource "nxos_bgp_peer" "vxlan_bgp_spine_peers" { + address = "10.0.0.2" + asn = "65000" + description = "Peer to 10.0.0.2" + device = "staging-spine1" + hold_time = 180 + id = (known after apply) + keepalive = 60 + peer_type = "fabric-internal" + remote_asn = "65000" + source_interface = "lo0" + vrf = "default" } # module.vxlan.nxos_bgp_peer.vxlan_bgp_spine_peers["staging-spine1-10.0.0.3"] will be created + resource "nxos_bgp_peer" "vxlan_bgp_spine_peers" { + address = "10.0.0.3" + asn = "65000" + description = "Peer to 10.0.0.3" + device = "staging-spine1" + hold_time = 180 + id = (known after apply) + keepalive = 60 + peer_type = "fabric-internal" + remote_asn = "65000" + source_interface = "lo0" + vrf = "default" } # module.vxlan.nxos_bgp_peer_address_family.vxlan_vrf_leaf_peer_address_family["staging-leaf1-10.0.0.1"] will be created + resource "nxos_bgp_peer_address_family" "vxlan_vrf_leaf_peer_address_family" { + address = "10.0.0.1" + address_family = "l2vpn-evpn" + asn = "65000" + control = "rr-client" + device = "staging-leaf1" + id = (known after apply) + send_community_extended = "enabled" + send_community_standard = "enabled" + vrf = "default" } # module.vxlan.nxos_bgp_peer_address_family.vxlan_vrf_leaf_peer_address_family["staging-leaf2-10.0.0.1"] will be created + resource "nxos_bgp_peer_address_family" "vxlan_vrf_leaf_peer_address_family" { + address = "10.0.0.1" + address_family = "l2vpn-evpn" + asn = "65000" + control = "rr-client" + device = "staging-leaf2" + id = (known after apply) + send_community_extended = "enabled" + send_community_standard = "enabled" + vrf = "default" } # module.vxlan.nxos_bgp_peer_address_family.vxlan_vrf_spine_peer_address_family["staging-spine1-10.0.0.2"] will be created + resource "nxos_bgp_peer_address_family" "vxlan_vrf_spine_peer_address_family" { + address = "10.0.0.2" + address_family = "l2vpn-evpn" + asn = "65000" + control = "rr-client" + device = "staging-spine1" + id = (known after apply) + send_community_extended = "enabled" + send_community_standard = "enabled" + vrf = "default" } # module.vxlan.nxos_bgp_peer_address_family.vxlan_vrf_spine_peer_address_family["staging-spine1-10.0.0.3"] will be created + resource "nxos_bgp_peer_address_family" "vxlan_vrf_spine_peer_address_family" { + address = "10.0.0.3" + address_family = "l2vpn-evpn" + asn = "65000" + control = "rr-client" + device = "staging-spine1" + id = (known after apply) + send_community_extended = "enabled" + send_community_standard = "enabled" + vrf = "default" } # module.vxlan.nxos_bgp_vrf.vxlan_bgp_network_vrf["staging-leaf1-VRF1-10000"] will be created + resource "nxos_bgp_vrf" "vxlan_bgp_network_vrf" { + asn = "65000" + device = "staging-leaf1" + id = (known after apply) + name = "VRF1" + router_id = "10.0.0.2" } # module.vxlan.nxos_bgp_vrf.vxlan_bgp_network_vrf["staging-leaf2-VRF1-10000"] will be created + resource "nxos_bgp_vrf" "vxlan_bgp_network_vrf" { + asn = "65000" + device = "staging-leaf2" + id = (known after apply) + name = "VRF1" + router_id = "10.0.0.3" } # module.vxlan.nxos_bgp_vrf.vxlan_bgp_network_vrf["staging-leaf2-VRF2-20000"] will be created + resource "nxos_bgp_vrf" "vxlan_bgp_network_vrf" { + asn = "65000" + device = "staging-leaf2" + id = (known after apply) + name = "VRF2" + router_id = "10.0.0.3" } # module.vxlan.nxos_bgp_vrf.vxlan_bgp_vrf["staging-leaf1"] will be created + resource "nxos_bgp_vrf" "vxlan_bgp_vrf" { + asn = "65000" + device = "staging-leaf1" + id = (known after apply) + name = "default" + router_id = "10.0.0.2" } # module.vxlan.nxos_bgp_vrf.vxlan_bgp_vrf["staging-leaf2"] will be created + resource "nxos_bgp_vrf" "vxlan_bgp_vrf" { + asn = "65000" + device = "staging-leaf2" + id = (known after apply) + name = "default" + router_id = "10.0.0.3" } # module.vxlan.nxos_bgp_vrf.vxlan_bgp_vrf["staging-spine1"] will be created + resource "nxos_bgp_vrf" "vxlan_bgp_vrf" { + asn = "65000" + device = "staging-spine1" + id = (known after apply) + name = "default" + router_id = "10.0.0.1" } # module.vxlan.nxos_bridge_domain.vxlan_vlans["staging-leaf1-100-10000"] will be created + resource "nxos_bridge_domain" "vxlan_vlans" { + access_encap = "vxlan-10100" + device = "staging-leaf1" + fabric_encap = "vlan-100" + id = (known after apply) + name = "VLAN-100" } # module.vxlan.nxos_bridge_domain.vxlan_vlans["staging-leaf2-101-10000"] will be created + resource "nxos_bridge_domain" "vxlan_vlans" { + access_encap = "vxlan-10102" + device = "staging-leaf2" + fabric_encap = "vlan-101" + id = (known after apply) + name = "VLAN-102" } # module.vxlan.nxos_bridge_domain.vxlan_vlans["staging-leaf2-201-20000"] will be created + resource "nxos_bridge_domain" "vxlan_vlans" { + access_encap = "vxlan-20201" + device = "staging-leaf2" + fabric_encap = "vlan-201" + id = (known after apply) + name = "VLAN-201" } # module.vxlan.nxos_bridge_domain.vxlan_vrf_vlans["staging-leaf1-10000"] will be created + resource "nxos_bridge_domain" "vxlan_vrf_vlans" { + access_encap = "vxlan-10000" + device = "staging-leaf1" + fabric_encap = "vlan-1000" + id = (known after apply) + name = "VRF1" } # module.vxlan.nxos_bridge_domain.vxlan_vrf_vlans["staging-leaf2-10000"] will be created + resource "nxos_bridge_domain" "vxlan_vrf_vlans" { + access_encap = "vxlan-10000" + device = "staging-leaf2" + fabric_encap = "vlan-1000" + id = (known after apply) + name = "VRF1" } # module.vxlan.nxos_bridge_domain.vxlan_vrf_vlans["staging-leaf2-20000"] will be created + resource "nxos_bridge_domain" "vxlan_vrf_vlans" { + access_encap = "vxlan-20000" + device = "staging-leaf2" + fabric_encap = "vlan-2000" + id = (known after apply) + name = "VRF2" } # module.vxlan.nxos_evpn.vxlan_evpn["staging-leaf1-100-10000"] will be created + resource "nxos_evpn" "vxlan_evpn" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_evpn.vxlan_evpn["staging-leaf2-101-10000"] will be created + resource "nxos_evpn" "vxlan_evpn" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_evpn.vxlan_evpn["staging-leaf2-201-20000"] will be created + resource "nxos_evpn" "vxlan_evpn" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_evpn_vni.vxlan_evpn_vni["staging-leaf1-100-10000"] will be created + resource "nxos_evpn_vni" "vxlan_evpn_vni" { + device = "staging-leaf1" + encap = "vxlan-10100" + id = (known after apply) + route_distinguisher = "rd:unknown:0:0" } # module.vxlan.nxos_evpn_vni.vxlan_evpn_vni["staging-leaf2-101-10000"] will be created + resource "nxos_evpn_vni" "vxlan_evpn_vni" { + device = "staging-leaf2" + encap = "vxlan-10102" + id = (known after apply) + route_distinguisher = "rd:unknown:0:0" } # module.vxlan.nxos_evpn_vni.vxlan_evpn_vni["staging-leaf2-201-20000"] will be created + resource "nxos_evpn_vni" "vxlan_evpn_vni" { + device = "staging-leaf2" + encap = "vxlan-20201" + id = (known after apply) + route_distinguisher = "rd:unknown:0:0" } # module.vxlan.nxos_evpn_vni_route_target.vxlan_evpn_vni_route_export_target["staging-leaf1-100-10000"] will be created + resource "nxos_evpn_vni_route_target" "vxlan_evpn_vni_route_export_target" { + device = "staging-leaf1" + direction = "export" + encap = "vxlan-10100" + id = (known after apply) + route_target = "route-target:unknown:0:0" } # module.vxlan.nxos_evpn_vni_route_target.vxlan_evpn_vni_route_export_target["staging-leaf2-101-10000"] will be created + resource "nxos_evpn_vni_route_target" "vxlan_evpn_vni_route_export_target" { + device = "staging-leaf2" + direction = "export" + encap = "vxlan-10102" + id = (known after apply) + route_target = "route-target:unknown:0:0" } # module.vxlan.nxos_evpn_vni_route_target.vxlan_evpn_vni_route_export_target["staging-leaf2-201-20000"] will be created + resource "nxos_evpn_vni_route_target" "vxlan_evpn_vni_route_export_target" { + device = "staging-leaf2" + direction = "export" + encap = "vxlan-20201" + id = (known after apply) + route_target = "route-target:unknown:0:0" } # module.vxlan.nxos_evpn_vni_route_target.vxlan_evpn_vni_route_import_target["staging-leaf1-100-10000"] will be created + resource "nxos_evpn_vni_route_target" "vxlan_evpn_vni_route_import_target" { + device = "staging-leaf1" + direction = "import" + encap = "vxlan-10100" + id = (known after apply) + route_target = "route-target:unknown:0:0" } # module.vxlan.nxos_evpn_vni_route_target.vxlan_evpn_vni_route_import_target["staging-leaf2-101-10000"] will be created + resource "nxos_evpn_vni_route_target" "vxlan_evpn_vni_route_import_target" { + device = "staging-leaf2" + direction = "import" + encap = "vxlan-10102" + id = (known after apply) + route_target = "route-target:unknown:0:0" } # module.vxlan.nxos_evpn_vni_route_target.vxlan_evpn_vni_route_import_target["staging-leaf2-201-20000"] will be created + resource "nxos_evpn_vni_route_target" "vxlan_evpn_vni_route_import_target" { + device = "staging-leaf2" + direction = "import" + encap = "vxlan-20201" + id = (known after apply) + route_target = "route-target:unknown:0:0" } # module.vxlan.nxos_evpn_vni_route_target_direction.vxlan_evpn_vni_route_target_export_direction["staging-leaf1-100-10000"] will be created + resource "nxos_evpn_vni_route_target_direction" "vxlan_evpn_vni_route_target_export_direction" { + device = "staging-leaf1" + direction = "export" + encap = "vxlan-10100" + id = (known after apply) } # module.vxlan.nxos_evpn_vni_route_target_direction.vxlan_evpn_vni_route_target_export_direction["staging-leaf2-101-10000"] will be created + resource "nxos_evpn_vni_route_target_direction" "vxlan_evpn_vni_route_target_export_direction" { + device = "staging-leaf2" + direction = "export" + encap = "vxlan-10102" + id = (known after apply) } # module.vxlan.nxos_evpn_vni_route_target_direction.vxlan_evpn_vni_route_target_export_direction["staging-leaf2-201-20000"] will be created + resource "nxos_evpn_vni_route_target_direction" "vxlan_evpn_vni_route_target_export_direction" { + device = "staging-leaf2" + direction = "export" + encap = "vxlan-20201" + id = (known after apply) } # module.vxlan.nxos_evpn_vni_route_target_direction.vxlan_evpn_vni_route_target_import_direction["staging-leaf1-100-10000"] will be created + resource "nxos_evpn_vni_route_target_direction" "vxlan_evpn_vni_route_target_import_direction" { + device = "staging-leaf1" + direction = "import" + encap = "vxlan-10100" + id = (known after apply) } # module.vxlan.nxos_evpn_vni_route_target_direction.vxlan_evpn_vni_route_target_import_direction["staging-leaf2-101-10000"] will be created + resource "nxos_evpn_vni_route_target_direction" "vxlan_evpn_vni_route_target_import_direction" { + device = "staging-leaf2" + direction = "import" + encap = "vxlan-10102" + id = (known after apply) } # module.vxlan.nxos_evpn_vni_route_target_direction.vxlan_evpn_vni_route_target_import_direction["staging-leaf2-201-20000"] will be created + resource "nxos_evpn_vni_route_target_direction" "vxlan_evpn_vni_route_target_import_direction" { + device = "staging-leaf2" + direction = "import" + encap = "vxlan-20201" + id = (known after apply) } # module.vxlan.nxos_feature_bgp.bgp["staging-leaf1"] will be created + resource "nxos_feature_bgp" "bgp" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_feature_bgp.bgp["staging-leaf2"] will be created + resource "nxos_feature_bgp" "bgp" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_feature_bgp.bgp["staging-spine1"] will be created + resource "nxos_feature_bgp" "bgp" { + admin_state = "enabled" + device = "staging-spine1" + id = (known after apply) } # module.vxlan.nxos_feature_evpn.evpn["staging-leaf1"] will be created + resource "nxos_feature_evpn" "evpn" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_feature_evpn.evpn["staging-leaf2"] will be created + resource "nxos_feature_evpn" "evpn" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_feature_evpn.evpn["staging-spine1"] will be created + resource "nxos_feature_evpn" "evpn" { + admin_state = "enabled" + device = "staging-spine1" + id = (known after apply) } # module.vxlan.nxos_feature_interface_vlan.interface_vlan["staging-leaf1"] will be created + resource "nxos_feature_interface_vlan" "interface_vlan" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_feature_interface_vlan.interface_vlan["staging-leaf2"] will be created + resource "nxos_feature_interface_vlan" "interface_vlan" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_feature_lacp.lacp["staging-leaf1"] will be created + resource "nxos_feature_lacp" "lacp" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_feature_lacp.lacp["staging-leaf2"] will be created + resource "nxos_feature_lacp" "lacp" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_feature_ngmvpn.ngmvpn["staging-leaf1"] will be created + resource "nxos_feature_ngmvpn" "ngmvpn" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_feature_ngmvpn.ngmvpn["staging-leaf2"] will be created + resource "nxos_feature_ngmvpn" "ngmvpn" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_feature_ngmvpn.ngmvpn["staging-spine1"] will be created + resource "nxos_feature_ngmvpn" "ngmvpn" { + admin_state = "enabled" + device = "staging-spine1" + id = (known after apply) } # module.vxlan.nxos_feature_ngoam.ngoam["staging-leaf1"] will be created + resource "nxos_feature_ngoam" "ngoam" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_feature_ngoam.ngoam["staging-leaf2"] will be created + resource "nxos_feature_ngoam" "ngoam" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_feature_ngoam.ngoam["staging-spine1"] will be created + resource "nxos_feature_ngoam" "ngoam" { + admin_state = "enabled" + device = "staging-spine1" + id = (known after apply) } # module.vxlan.nxos_feature_nv_overlay.nv_overlay["staging-leaf1"] will be created + resource "nxos_feature_nv_overlay" "nv_overlay" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_feature_nv_overlay.nv_overlay["staging-leaf2"] will be created + resource "nxos_feature_nv_overlay" "nv_overlay" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_feature_nv_overlay.nv_overlay["staging-spine1"] will be created + resource "nxos_feature_nv_overlay" "nv_overlay" { + admin_state = "enabled" + device = "staging-spine1" + id = (known after apply) } # module.vxlan.nxos_feature_ospf.ospf["staging-leaf1"] will be created + resource "nxos_feature_ospf" "ospf" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_feature_ospf.ospf["staging-leaf2"] will be created + resource "nxos_feature_ospf" "ospf" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_feature_ospf.ospf["staging-spine1"] will be created + resource "nxos_feature_ospf" "ospf" { + admin_state = "enabled" + device = "staging-spine1" + id = (known after apply) } # module.vxlan.nxos_feature_pim.pim["staging-leaf1"] will be created + resource "nxos_feature_pim" "pim" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_feature_pim.pim["staging-leaf2"] will be created + resource "nxos_feature_pim" "pim" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_feature_pim.pim["staging-spine1"] will be created + resource "nxos_feature_pim" "pim" { + admin_state = "enabled" + device = "staging-spine1" + id = (known after apply) } # module.vxlan.nxos_feature_vn_segment.vn_segment["staging-leaf1"] will be created + resource "nxos_feature_vn_segment" "vn_segment" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_feature_vn_segment.vn_segment["staging-leaf2"] will be created + resource "nxos_feature_vn_segment" "vn_segment" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_hmm.vxlan_hmm_fabric_forwarding["staging-leaf1"] will be created + resource "nxos_hmm" "vxlan_hmm_fabric_forwarding" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_hmm.vxlan_hmm_fabric_forwarding["staging-leaf2"] will be created + resource "nxos_hmm" "vxlan_hmm_fabric_forwarding" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_hmm_instance.vxlan_hmm_fabric_forwarding_instance["staging-leaf1"] will be created + resource "nxos_hmm_instance" "vxlan_hmm_fabric_forwarding_instance" { + admin_state = "enabled" + anycast_mac = "00:12:34:56:78:9A" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_hmm_instance.vxlan_hmm_fabric_forwarding_instance["staging-leaf2"] will be created + resource "nxos_hmm_instance" "vxlan_hmm_fabric_forwarding_instance" { + admin_state = "enabled" + anycast_mac = "00:12:34:56:78:9A" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_hmm_interface.vxlan_nxos_hmm_vlan_interfaces["staging-leaf1-100-10000"] will be created + resource "nxos_hmm_interface" "vxlan_nxos_hmm_vlan_interfaces" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) + interface_id = "vlan100" + mode = "anycastGW" } # module.vxlan.nxos_hmm_interface.vxlan_nxos_hmm_vlan_interfaces["staging-leaf2-101-10000"] will be created + resource "nxos_hmm_interface" "vxlan_nxos_hmm_vlan_interfaces" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan101" + mode = "anycastGW" } # module.vxlan.nxos_hmm_interface.vxlan_nxos_hmm_vlan_interfaces["staging-leaf2-201-20000"] will be created + resource "nxos_hmm_interface" "vxlan_nxos_hmm_vlan_interfaces" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan201" + mode = "anycastGW" } # module.vxlan.nxos_icmpv4.vxlan_icmpv4["staging-leaf1"] will be created + resource "nxos_icmpv4" "vxlan_icmpv4" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_icmpv4.vxlan_icmpv4["staging-leaf2"] will be created + resource "nxos_icmpv4" "vxlan_icmpv4" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_icmpv4.vxlan_icmpv4["staging-spine1"] will be created + resource "nxos_icmpv4" "vxlan_icmpv4" { + admin_state = "enabled" + device = "staging-spine1" + id = (known after apply) } # module.vxlan.nxos_icmpv4_instance.vxlan_icmpv4_instance["staging-leaf1"] will be created + resource "nxos_icmpv4_instance" "vxlan_icmpv4_instance" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_icmpv4_instance.vxlan_icmpv4_instance["staging-leaf2"] will be created + resource "nxos_icmpv4_instance" "vxlan_icmpv4_instance" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_icmpv4_instance.vxlan_icmpv4_instance["staging-spine1"] will be created + resource "nxos_icmpv4_instance" "vxlan_icmpv4_instance" { + admin_state = "enabled" + device = "staging-spine1" + id = (known after apply) } # module.vxlan.nxos_icmpv4_interface.vxlan_icmpv4_svi_interface["staging-leaf1-100-10000"] will be created + resource "nxos_icmpv4_interface" "vxlan_icmpv4_svi_interface" { + control = "port-unreachable" + device = "staging-leaf1" + id = (known after apply) + interface_id = "vlan100" + vrf_name = "VRF1" } # module.vxlan.nxos_icmpv4_interface.vxlan_icmpv4_svi_interface["staging-leaf2-101-10000"] will be created + resource "nxos_icmpv4_interface" "vxlan_icmpv4_svi_interface" { + control = "port-unreachable" + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan101" + vrf_name = "VRF1" } # module.vxlan.nxos_icmpv4_interface.vxlan_icmpv4_svi_interface["staging-leaf2-201-20000"] will be created + resource "nxos_icmpv4_interface" "vxlan_icmpv4_svi_interface" { + control = "port-unreachable" + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan201" + vrf_name = "VRF2" } # module.vxlan.nxos_icmpv4_interface.vxlan_vrf_svi_interface_ipv4_icmp["staging-leaf1-10000"] will be created + resource "nxos_icmpv4_interface" "vxlan_vrf_svi_interface_ipv4_icmp" { + control = "port-unreachable" + device = "staging-leaf1" + id = (known after apply) + interface_id = "vlan1000" + vrf_name = "VRF1" } # module.vxlan.nxos_icmpv4_interface.vxlan_vrf_svi_interface_ipv4_icmp["staging-leaf2-10000"] will be created + resource "nxos_icmpv4_interface" "vxlan_vrf_svi_interface_ipv4_icmp" { + control = "port-unreachable" + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan1000" + vrf_name = "VRF1" } # module.vxlan.nxos_icmpv4_interface.vxlan_vrf_svi_interface_ipv4_icmp["staging-leaf2-20000"] will be created + resource "nxos_icmpv4_interface" "vxlan_vrf_svi_interface_ipv4_icmp" { + control = "port-unreachable" + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan2000" + vrf_name = "VRF2" } # module.vxlan.nxos_icmpv4_vrf.vxlan_icmpv4_vrf["staging-leaf1-100-10000"] will be created + resource "nxos_icmpv4_vrf" "vxlan_icmpv4_vrf" { + device = "staging-leaf1" + id = (known after apply) + vrf_name = "VRF1" } # module.vxlan.nxos_icmpv4_vrf.vxlan_icmpv4_vrf["staging-leaf2-101-10000"] will be created + resource "nxos_icmpv4_vrf" "vxlan_icmpv4_vrf" { + device = "staging-leaf2" + id = (known after apply) + vrf_name = "VRF1" } # module.vxlan.nxos_icmpv4_vrf.vxlan_icmpv4_vrf["staging-leaf2-201-20000"] will be created + resource "nxos_icmpv4_vrf" "vxlan_icmpv4_vrf" { + device = "staging-leaf2" + id = (known after apply) + vrf_name = "VRF2" } # module.vxlan.nxos_ipv4_interface.vxlan_svi_interface_ipv4["staging-leaf1-100-10000"] will be created + resource "nxos_ipv4_interface" "vxlan_svi_interface_ipv4" { + device = "staging-leaf1" + drop_glean = "disabled" + forward = "disabled" + id = (known after apply) + interface_id = "vlan100" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "VRF1" } # module.vxlan.nxos_ipv4_interface.vxlan_svi_interface_ipv4["staging-leaf2-101-10000"] will be created + resource "nxos_ipv4_interface" "vxlan_svi_interface_ipv4" { + device = "staging-leaf2" + drop_glean = "disabled" + forward = "disabled" + id = (known after apply) + interface_id = "vlan101" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "VRF1" } # module.vxlan.nxos_ipv4_interface.vxlan_svi_interface_ipv4["staging-leaf2-201-20000"] will be created + resource "nxos_ipv4_interface" "vxlan_svi_interface_ipv4" { + device = "staging-leaf2" + drop_glean = "disabled" + forward = "disabled" + id = (known after apply) + interface_id = "vlan201" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "VRF2" } # module.vxlan.nxos_ipv4_interface.vxlan_underlay_routed_ethernet_interfaces_ipv4["staging-leaf1-eth1/1"] will be created + resource "nxos_ipv4_interface" "vxlan_underlay_routed_ethernet_interfaces_ipv4" { + device = "staging-leaf1" + drop_glean = "disabled" + forward = "disabled" + id = (known after apply) + interface_id = "eth1/1" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "default" } # module.vxlan.nxos_ipv4_interface.vxlan_underlay_routed_ethernet_interfaces_ipv4["staging-leaf2-eth1/1"] will be created + resource "nxos_ipv4_interface" "vxlan_underlay_routed_ethernet_interfaces_ipv4" { + device = "staging-leaf2" + drop_glean = "disabled" + forward = "disabled" + id = (known after apply) + interface_id = "eth1/1" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "default" } # module.vxlan.nxos_ipv4_interface.vxlan_underlay_routed_ethernet_interfaces_ipv4["staging-spine1-eth1/1"] will be created + resource "nxos_ipv4_interface" "vxlan_underlay_routed_ethernet_interfaces_ipv4" { + device = "staging-spine1" + drop_glean = "disabled" + forward = "disabled" + id = (known after apply) + interface_id = "eth1/1" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "default" } # module.vxlan.nxos_ipv4_interface.vxlan_underlay_routed_ethernet_interfaces_ipv4["staging-spine1-eth1/2"] will be created + resource "nxos_ipv4_interface" "vxlan_underlay_routed_ethernet_interfaces_ipv4" { + device = "staging-spine1" + drop_glean = "disabled" + forward = "disabled" + id = (known after apply) + interface_id = "eth1/2" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "default" } # module.vxlan.nxos_ipv4_interface.vxlan_underlay_routing_lo_ipv4_interface["staging-leaf1-lo0"] will be created + resource "nxos_ipv4_interface" "vxlan_underlay_routing_lo_ipv4_interface" { + device = "staging-leaf1" + drop_glean = "disabled" + forward = "disabled" + id = (known after apply) + interface_id = "lo0" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "default" } # module.vxlan.nxos_ipv4_interface.vxlan_underlay_routing_lo_ipv4_interface["staging-leaf2-lo0"] will be created + resource "nxos_ipv4_interface" "vxlan_underlay_routing_lo_ipv4_interface" { + device = "staging-leaf2" + drop_glean = "disabled" + forward = "disabled" + id = (known after apply) + interface_id = "lo0" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "default" } # module.vxlan.nxos_ipv4_interface.vxlan_underlay_routing_lo_ipv4_interface["staging-spine1-lo0"] will be created + resource "nxos_ipv4_interface" "vxlan_underlay_routing_lo_ipv4_interface" { + device = "staging-spine1" + drop_glean = "disabled" + forward = "disabled" + id = (known after apply) + interface_id = "lo0" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "default" } # module.vxlan.nxos_ipv4_interface.vxlan_underlay_rp_lo_ipv4_interface["staging-spine1-lo250"] will be created + resource "nxos_ipv4_interface" "vxlan_underlay_rp_lo_ipv4_interface" { + device = "staging-spine1" + drop_glean = "disabled" + forward = "disabled" + id = (known after apply) + interface_id = "lo250" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "default" } # module.vxlan.nxos_ipv4_interface.vxlan_underlay_vtep_lo_ipv4_interface["staging-leaf1-lo1"] will be created + resource "nxos_ipv4_interface" "vxlan_underlay_vtep_lo_ipv4_interface" { + device = "staging-leaf1" + drop_glean = "disabled" + forward = "disabled" + id = (known after apply) + interface_id = "lo1" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "default" } # module.vxlan.nxos_ipv4_interface.vxlan_underlay_vtep_lo_ipv4_interface["staging-leaf2-lo1"] will be created + resource "nxos_ipv4_interface" "vxlan_underlay_vtep_lo_ipv4_interface" { + device = "staging-leaf2" + drop_glean = "disabled" + forward = "disabled" + id = (known after apply) + interface_id = "lo1" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "default" } # module.vxlan.nxos_ipv4_interface.vxlan_vrf_svi_interface_ipv4["staging-leaf1-10000"] will be created + resource "nxos_ipv4_interface" "vxlan_vrf_svi_interface_ipv4" { + device = "staging-leaf1" + drop_glean = "disabled" + forward = "enabled" + id = (known after apply) + interface_id = "vlan1000" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "VRF1" } # module.vxlan.nxos_ipv4_interface.vxlan_vrf_svi_interface_ipv4["staging-leaf2-10000"] will be created + resource "nxos_ipv4_interface" "vxlan_vrf_svi_interface_ipv4" { + device = "staging-leaf2" + drop_glean = "disabled" + forward = "enabled" + id = (known after apply) + interface_id = "vlan1000" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "VRF1" } # module.vxlan.nxos_ipv4_interface.vxlan_vrf_svi_interface_ipv4["staging-leaf2-20000"] will be created + resource "nxos_ipv4_interface" "vxlan_vrf_svi_interface_ipv4" { + device = "staging-leaf2" + drop_glean = "disabled" + forward = "enabled" + id = (known after apply) + interface_id = "vlan2000" + unnumbered = "unspecified" + urpf = "disabled" + vrf = "VRF2" } # module.vxlan.nxos_ipv4_interface_address.vxlan_ipv4_svi_network_interface_address["staging-leaf1-100-10000"] will be created + resource "nxos_ipv4_interface_address" "vxlan_ipv4_svi_network_interface_address" { + address = "192.168.100.1/24" + device = "staging-leaf1" + id = (known after apply) + interface_id = "vlan100" + tag = 12345 + type = "primary" + vrf = "VRF1" } # module.vxlan.nxos_ipv4_interface_address.vxlan_ipv4_svi_network_interface_address["staging-leaf2-101-10000"] will be created + resource "nxos_ipv4_interface_address" "vxlan_ipv4_svi_network_interface_address" { + address = "192.168.101.1/24" + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan101" + tag = 12345 + type = "primary" + vrf = "VRF1" } # module.vxlan.nxos_ipv4_interface_address.vxlan_ipv4_svi_network_interface_address["staging-leaf2-201-20000"] will be created + resource "nxos_ipv4_interface_address" "vxlan_ipv4_svi_network_interface_address" { + address = "192.168.201.1/24" + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan201" + tag = 12345 + type = "primary" + vrf = "VRF2" } # module.vxlan.nxos_ipv4_interface_address.vxlan_underlay_routed_ethernet_interfaces_ipv4_address["staging-leaf1-eth1/1"] will be created + resource "nxos_ipv4_interface_address" "vxlan_underlay_routed_ethernet_interfaces_ipv4_address" { + address = "10.1.1.2/30" + device = "staging-leaf1" + id = (known after apply) + interface_id = "eth1/1" + tag = 0 + type = "primary" + vrf = "default" } # module.vxlan.nxos_ipv4_interface_address.vxlan_underlay_routed_ethernet_interfaces_ipv4_address["staging-leaf2-eth1/1"] will be created + resource "nxos_ipv4_interface_address" "vxlan_underlay_routed_ethernet_interfaces_ipv4_address" { + address = "10.1.1.6/30" + device = "staging-leaf2" + id = (known after apply) + interface_id = "eth1/1" + tag = 0 + type = "primary" + vrf = "default" } # module.vxlan.nxos_ipv4_interface_address.vxlan_underlay_routed_ethernet_interfaces_ipv4_address["staging-spine1-eth1/1"] will be created + resource "nxos_ipv4_interface_address" "vxlan_underlay_routed_ethernet_interfaces_ipv4_address" { + address = "10.1.1.1/30" + device = "staging-spine1" + id = (known after apply) + interface_id = "eth1/1" + tag = 0 + type = "primary" + vrf = "default" } # module.vxlan.nxos_ipv4_interface_address.vxlan_underlay_routed_ethernet_interfaces_ipv4_address["staging-spine1-eth1/2"] will be created + resource "nxos_ipv4_interface_address" "vxlan_underlay_routed_ethernet_interfaces_ipv4_address" { + address = "10.1.1.5/30" + device = "staging-spine1" + id = (known after apply) + interface_id = "eth1/2" + tag = 0 + type = "primary" + vrf = "default" } # module.vxlan.nxos_ipv4_interface_address.vxlan_underlay_routing_lo_ipv4_interface_address["staging-leaf1-lo0"] will be created + resource "nxos_ipv4_interface_address" "vxlan_underlay_routing_lo_ipv4_interface_address" { + address = "10.0.0.2/32" + device = "staging-leaf1" + id = (known after apply) + interface_id = "lo0" + tag = 0 + type = "primary" + vrf = "default" } # module.vxlan.nxos_ipv4_interface_address.vxlan_underlay_routing_lo_ipv4_interface_address["staging-leaf2-lo0"] will be created + resource "nxos_ipv4_interface_address" "vxlan_underlay_routing_lo_ipv4_interface_address" { + address = "10.0.0.3/32" + device = "staging-leaf2" + id = (known after apply) + interface_id = "lo0" + tag = 0 + type = "primary" + vrf = "default" } # module.vxlan.nxos_ipv4_interface_address.vxlan_underlay_routing_lo_ipv4_interface_address["staging-spine1-lo0"] will be created + resource "nxos_ipv4_interface_address" "vxlan_underlay_routing_lo_ipv4_interface_address" { + address = "10.0.0.1/32" + device = "staging-spine1" + id = (known after apply) + interface_id = "lo0" + tag = 0 + type = "primary" + vrf = "default" } # module.vxlan.nxos_ipv4_interface_address.vxlan_underlay_rp_lo_ipv4_interface_address["staging-spine1-lo250"] will be created + resource "nxos_ipv4_interface_address" "vxlan_underlay_rp_lo_ipv4_interface_address" { + address = "10.250.250.1/32" + device = "staging-spine1" + id = (known after apply) + interface_id = "lo250" + tag = 0 + type = "primary" + vrf = "default" } # module.vxlan.nxos_ipv4_interface_address.vxlan_underlay_vtep_lo_ipv4_interface_address["staging-leaf1-lo1"] will be created + resource "nxos_ipv4_interface_address" "vxlan_underlay_vtep_lo_ipv4_interface_address" { + address = "10.100.100.2/32" + device = "staging-leaf1" + id = (known after apply) + interface_id = "lo1" + tag = 0 + type = "primary" + vrf = "default" } # module.vxlan.nxos_ipv4_interface_address.vxlan_underlay_vtep_lo_ipv4_interface_address["staging-leaf2-lo1"] will be created + resource "nxos_ipv4_interface_address" "vxlan_underlay_vtep_lo_ipv4_interface_address" { + address = "10.100.100.3/32" + device = "staging-leaf2" + id = (known after apply) + interface_id = "lo1" + tag = 0 + type = "primary" + vrf = "default" } # module.vxlan.nxos_ipv4_vrf.vxlan_ipv4_vrf["staging-leaf1-VRF1-10000"] will be created + resource "nxos_ipv4_vrf" "vxlan_ipv4_vrf" { + device = "staging-leaf1" + id = (known after apply) + name = "VRF1" } # module.vxlan.nxos_ipv4_vrf.vxlan_ipv4_vrf["staging-leaf2-VRF1-10000"] will be created + resource "nxos_ipv4_vrf" "vxlan_ipv4_vrf" { + device = "staging-leaf2" + id = (known after apply) + name = "VRF1" } # module.vxlan.nxos_ipv4_vrf.vxlan_ipv4_vrf["staging-leaf2-VRF2-20000"] will be created + resource "nxos_ipv4_vrf" "vxlan_ipv4_vrf" { + device = "staging-leaf2" + id = (known after apply) + name = "VRF2" } # module.vxlan.nxos_ipv4_vrf.vxlan_ipv4_vrf_default["staging-leaf1"] will be created + resource "nxos_ipv4_vrf" "vxlan_ipv4_vrf_default" { + device = "staging-leaf1" + id = (known after apply) + name = "default" } # module.vxlan.nxos_ipv4_vrf.vxlan_ipv4_vrf_default["staging-leaf2"] will be created + resource "nxos_ipv4_vrf" "vxlan_ipv4_vrf_default" { + device = "staging-leaf2" + id = (known after apply) + name = "default" } # module.vxlan.nxos_ipv4_vrf.vxlan_ipv4_vrf_default["staging-spine1"] will be created + resource "nxos_ipv4_vrf" "vxlan_ipv4_vrf_default" { + device = "staging-spine1" + id = (known after apply) + name = "default" } # module.vxlan.nxos_loopback_interface.vxlan_underlay_routing_lo_interfaces["staging-leaf1-lo0"] will be created + resource "nxos_loopback_interface" "vxlan_underlay_routing_lo_interfaces" { + admin_state = "up" + description = "Routing Loopback" + device = "staging-leaf1" + id = (known after apply) + interface_id = "lo0" } # module.vxlan.nxos_loopback_interface.vxlan_underlay_routing_lo_interfaces["staging-leaf2-lo0"] will be created + resource "nxos_loopback_interface" "vxlan_underlay_routing_lo_interfaces" { + admin_state = "up" + description = "Routing Loopback" + device = "staging-leaf2" + id = (known after apply) + interface_id = "lo0" } # module.vxlan.nxos_loopback_interface.vxlan_underlay_routing_lo_interfaces["staging-spine1-lo0"] will be created + resource "nxos_loopback_interface" "vxlan_underlay_routing_lo_interfaces" { + admin_state = "up" + description = "Routing Loopback" + device = "staging-spine1" + id = (known after apply) + interface_id = "lo0" } # module.vxlan.nxos_loopback_interface.vxlan_underlay_rp_lo_interfaces["staging-spine1-lo250"] will be created + resource "nxos_loopback_interface" "vxlan_underlay_rp_lo_interfaces" { + admin_state = "up" + description = "RP Loopback" + device = "staging-spine1" + id = (known after apply) + interface_id = "lo250" } # module.vxlan.nxos_loopback_interface.vxlan_underlay_vtep_lo_interfaces["staging-leaf1-lo1"] will be created + resource "nxos_loopback_interface" "vxlan_underlay_vtep_lo_interfaces" { + admin_state = "up" + description = "VTEP Loopback" + device = "staging-leaf1" + id = (known after apply) + interface_id = "lo1" } # module.vxlan.nxos_loopback_interface.vxlan_underlay_vtep_lo_interfaces["staging-leaf2-lo1"] will be created + resource "nxos_loopback_interface" "vxlan_underlay_vtep_lo_interfaces" { + admin_state = "up" + description = "VTEP Loopback" + device = "staging-leaf2" + id = (known after apply) + interface_id = "lo1" } # module.vxlan.nxos_loopback_interface_vrf.lvxlan_underlay_routing_lo_interface_vrf["staging-leaf1-lo0"] will be created + resource "nxos_loopback_interface_vrf" "lvxlan_underlay_routing_lo_interface_vrf" { + device = "staging-leaf1" + id = (known after apply) + interface_id = "lo0" + vrf_dn = "sys/inst-default" } # module.vxlan.nxos_loopback_interface_vrf.lvxlan_underlay_routing_lo_interface_vrf["staging-leaf2-lo0"] will be created + resource "nxos_loopback_interface_vrf" "lvxlan_underlay_routing_lo_interface_vrf" { + device = "staging-leaf2" + id = (known after apply) + interface_id = "lo0" + vrf_dn = "sys/inst-default" } # module.vxlan.nxos_loopback_interface_vrf.lvxlan_underlay_routing_lo_interface_vrf["staging-spine1-lo0"] will be created + resource "nxos_loopback_interface_vrf" "lvxlan_underlay_routing_lo_interface_vrf" { + device = "staging-spine1" + id = (known after apply) + interface_id = "lo0" + vrf_dn = "sys/inst-default" } # module.vxlan.nxos_loopback_interface_vrf.vxlan_underlay_rp_lo_interface_vrf["staging-spine1-lo250"] will be created + resource "nxos_loopback_interface_vrf" "vxlan_underlay_rp_lo_interface_vrf" { + device = "staging-spine1" + id = (known after apply) + interface_id = "lo250" + vrf_dn = "sys/inst-default" } # module.vxlan.nxos_loopback_interface_vrf.vxlan_underlay_vtep_lo_interface_vrf["staging-leaf1-lo1"] will be created + resource "nxos_loopback_interface_vrf" "vxlan_underlay_vtep_lo_interface_vrf" { + device = "staging-leaf1" + id = (known after apply) + interface_id = "lo1" + vrf_dn = "sys/inst-default" } # module.vxlan.nxos_loopback_interface_vrf.vxlan_underlay_vtep_lo_interface_vrf["staging-leaf2-lo1"] will be created + resource "nxos_loopback_interface_vrf" "vxlan_underlay_vtep_lo_interface_vrf" { + device = "staging-leaf2" + id = (known after apply) + interface_id = "lo1" + vrf_dn = "sys/inst-default" } # module.vxlan.nxos_nve_interface.vxlan_nve_interface["staging-leaf1"] will be created + resource "nxos_nve_interface" "vxlan_nve_interface" { + admin_state = "enabled" + advertise_virtual_mac = false + device = "staging-leaf1" + hold_down_time = 180 + host_reachability_protocol = "bgp" + id = (known after apply) + ingress_replication_protocol_bgp = false + multicast_group_l2 = "0.0.0.0" + multicast_group_l3 = "0.0.0.0" + multisite_source_interface = "unspecified" + source_interface = "lo1" + suppress_arp = false + suppress_mac_route = false } # module.vxlan.nxos_nve_interface.vxlan_nve_interface["staging-leaf2"] will be created + resource "nxos_nve_interface" "vxlan_nve_interface" { + admin_state = "enabled" + advertise_virtual_mac = false + device = "staging-leaf2" + hold_down_time = 180 + host_reachability_protocol = "bgp" + id = (known after apply) + ingress_replication_protocol_bgp = false + multicast_group_l2 = "0.0.0.0" + multicast_group_l3 = "0.0.0.0" + multisite_source_interface = "unspecified" + source_interface = "lo1" + suppress_arp = false + suppress_mac_route = false } # module.vxlan.nxos_nve_vni.vxlan_nve_interface_networks["staging-leaf1-100-10000"] will be created + resource "nxos_nve_vni" "vxlan_nve_interface_networks" { + associate_vrf = false + device = "staging-leaf1" + id = (known after apply) + multicast_group = "239.1.1.1" + multisite_ingress_replication = "disable" + suppress_arp = "off" + vni = 10100 } # module.vxlan.nxos_nve_vni.vxlan_nve_interface_networks["staging-leaf2-101-10000"] will be created + resource "nxos_nve_vni" "vxlan_nve_interface_networks" { + associate_vrf = false + device = "staging-leaf2" + id = (known after apply) + multicast_group = "239.1.1.1" + multisite_ingress_replication = "disable" + suppress_arp = "off" + vni = 10102 } # module.vxlan.nxos_nve_vni.vxlan_nve_interface_networks["staging-leaf2-201-20000"] will be created + resource "nxos_nve_vni" "vxlan_nve_interface_networks" { + associate_vrf = false + device = "staging-leaf2" + id = (known after apply) + multicast_group = "239.1.1.1" + multisite_ingress_replication = "disable" + suppress_arp = "off" + vni = 20201 } # module.vxlan.nxos_nve_vni.vxlan_nve_interface_vrfs["staging-leaf1-VRF1-10000"] will be created + resource "nxos_nve_vni" "vxlan_nve_interface_vrfs" { + associate_vrf = true + device = "staging-leaf1" + id = (known after apply) + multicast_group = "0.0.0.0" + multisite_ingress_replication = "disable" + suppress_arp = "off" + vni = 10000 } # module.vxlan.nxos_nve_vni.vxlan_nve_interface_vrfs["staging-leaf2-VRF1-10000"] will be created + resource "nxos_nve_vni" "vxlan_nve_interface_vrfs" { + associate_vrf = true + device = "staging-leaf2" + id = (known after apply) + multicast_group = "0.0.0.0" + multisite_ingress_replication = "disable" + suppress_arp = "off" + vni = 10000 } # module.vxlan.nxos_nve_vni.vxlan_nve_interface_vrfs["staging-leaf2-VRF2-20000"] will be created + resource "nxos_nve_vni" "vxlan_nve_interface_vrfs" { + associate_vrf = true + device = "staging-leaf2" + id = (known after apply) + multicast_group = "0.0.0.0" + multisite_ingress_replication = "disable" + suppress_arp = "off" + vni = 20000 } # module.vxlan.nxos_nve_vni_container.vxlan_nve_interface_container["staging-leaf1"] will be created + resource "nxos_nve_vni_container" "vxlan_nve_interface_container" { + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_nve_vni_container.vxlan_nve_interface_container["staging-leaf2"] will be created + resource "nxos_nve_vni_container" "vxlan_nve_interface_container" { + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_ospf.ospf["staging-leaf1"] will be created + resource "nxos_ospf" "ospf" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_ospf.ospf["staging-leaf2"] will be created + resource "nxos_ospf" "ospf" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_ospf.ospf["staging-spine1"] will be created + resource "nxos_ospf" "ospf" { + admin_state = "enabled" + device = "staging-spine1" + id = (known after apply) } # module.vxlan.nxos_ospf_area.ospf_area["staging-leaf1"] will be created + resource "nxos_ospf_area" "ospf_area" { + area_id = "0.0.0.0" + authentication_type = "unspecified" + cost = 1 + device = "staging-leaf1" + id = (known after apply) + instance_name = "OSPF1" + type = "regular" + vrf_name = "default" } # module.vxlan.nxos_ospf_area.ospf_area["staging-leaf2"] will be created + resource "nxos_ospf_area" "ospf_area" { + area_id = "0.0.0.0" + authentication_type = "unspecified" + cost = 1 + device = "staging-leaf2" + id = (known after apply) + instance_name = "OSPF1" + type = "regular" + vrf_name = "default" } # module.vxlan.nxos_ospf_area.ospf_area["staging-spine1"] will be created + resource "nxos_ospf_area" "ospf_area" { + area_id = "0.0.0.0" + authentication_type = "unspecified" + cost = 1 + device = "staging-spine1" + id = (known after apply) + instance_name = "OSPF1" + type = "regular" + vrf_name = "default" } # module.vxlan.nxos_ospf_instance.ospf_instance["staging-leaf1"] will be created + resource "nxos_ospf_instance" "ospf_instance" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) + name = "OSPF1" } # module.vxlan.nxos_ospf_instance.ospf_instance["staging-leaf2"] will be created + resource "nxos_ospf_instance" "ospf_instance" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) + name = "OSPF1" } # module.vxlan.nxos_ospf_instance.ospf_instance["staging-spine1"] will be created + resource "nxos_ospf_instance" "ospf_instance" { + admin_state = "enabled" + device = "staging-spine1" + id = (known after apply) + name = "OSPF1" } # module.vxlan.nxos_ospf_interface.ospf_interface_physical["staging-leaf1-eth1/1"] will be created + resource "nxos_ospf_interface" "ospf_interface_physical" { + advertise_secondaries = true + area = "0.0.0.0" + bfd = "unspecified" + cost = 0 + dead_interval = 0 + device = "staging-leaf1" + hello_interval = 10 + id = (known after apply) + instance_name = "OSPF1" + interface_id = "eth1/1" + network_type = "p2p" + passive = "unspecified" + priority = 1 + vrf_name = "default" } # module.vxlan.nxos_ospf_interface.ospf_interface_physical["staging-leaf2-eth1/1"] will be created + resource "nxos_ospf_interface" "ospf_interface_physical" { + advertise_secondaries = true + area = "0.0.0.0" + bfd = "unspecified" + cost = 0 + dead_interval = 0 + device = "staging-leaf2" + hello_interval = 10 + id = (known after apply) + instance_name = "OSPF1" + interface_id = "eth1/1" + network_type = "p2p" + passive = "unspecified" + priority = 1 + vrf_name = "default" } # module.vxlan.nxos_ospf_interface.ospf_interface_physical["staging-spine1-eth1/1"] will be created + resource "nxos_ospf_interface" "ospf_interface_physical" { + advertise_secondaries = true + area = "0.0.0.0" + bfd = "unspecified" + cost = 0 + dead_interval = 0 + device = "staging-spine1" + hello_interval = 10 + id = (known after apply) + instance_name = "OSPF1" + interface_id = "eth1/1" + network_type = "p2p" + passive = "unspecified" + priority = 1 + vrf_name = "default" } # module.vxlan.nxos_ospf_interface.ospf_interface_physical["staging-spine1-eth1/2"] will be created + resource "nxos_ospf_interface" "ospf_interface_physical" { + advertise_secondaries = true + area = "0.0.0.0" + bfd = "unspecified" + cost = 0 + dead_interval = 0 + device = "staging-spine1" + hello_interval = 10 + id = (known after apply) + instance_name = "OSPF1" + interface_id = "eth1/2" + network_type = "p2p" + passive = "unspecified" + priority = 1 + vrf_name = "default" } # module.vxlan.nxos_ospf_interface.ospf_interface_routing_loopback["staging-leaf1-lo0"] will be created + resource "nxos_ospf_interface" "ospf_interface_routing_loopback" { + advertise_secondaries = true + area = "0.0.0.0" + bfd = "unspecified" + cost = 0 + dead_interval = 0 + device = "staging-leaf1" + hello_interval = 10 + id = (known after apply) + instance_name = "OSPF1" + interface_id = "lo0" + network_type = "p2p" + passive = "unspecified" + priority = 1 + vrf_name = "default" } # module.vxlan.nxos_ospf_interface.ospf_interface_routing_loopback["staging-leaf2-lo0"] will be created + resource "nxos_ospf_interface" "ospf_interface_routing_loopback" { + advertise_secondaries = true + area = "0.0.0.0" + bfd = "unspecified" + cost = 0 + dead_interval = 0 + device = "staging-leaf2" + hello_interval = 10 + id = (known after apply) + instance_name = "OSPF1" + interface_id = "lo0" + network_type = "p2p" + passive = "unspecified" + priority = 1 + vrf_name = "default" } # module.vxlan.nxos_ospf_interface.ospf_interface_routing_loopback["staging-spine1-lo0"] will be created + resource "nxos_ospf_interface" "ospf_interface_routing_loopback" { + advertise_secondaries = true + area = "0.0.0.0" + bfd = "unspecified" + cost = 0 + dead_interval = 0 + device = "staging-spine1" + hello_interval = 10 + id = (known after apply) + instance_name = "OSPF1" + interface_id = "lo0" + network_type = "p2p" + passive = "unspecified" + priority = 1 + vrf_name = "default" } # module.vxlan.nxos_ospf_interface.ospf_interface_rp_loopback["staging-spine1-lo250"] will be created + resource "nxos_ospf_interface" "ospf_interface_rp_loopback" { + advertise_secondaries = true + area = "0.0.0.0" + bfd = "unspecified" + cost = 0 + dead_interval = 0 + device = "staging-spine1" + hello_interval = 10 + id = (known after apply) + instance_name = "OSPF1" + interface_id = "lo250" + network_type = "p2p" + passive = "unspecified" + priority = 1 + vrf_name = "default" } # module.vxlan.nxos_ospf_interface.ospf_interface_vtep_loopback["staging-leaf1-lo1"] will be created + resource "nxos_ospf_interface" "ospf_interface_vtep_loopback" { + advertise_secondaries = true + area = "0.0.0.0" + bfd = "unspecified" + cost = 0 + dead_interval = 0 + device = "staging-leaf1" + hello_interval = 10 + id = (known after apply) + instance_name = "OSPF1" + interface_id = "lo1" + network_type = "p2p" + passive = "unspecified" + priority = 1 + vrf_name = "default" } # module.vxlan.nxos_ospf_interface.ospf_interface_vtep_loopback["staging-leaf2-lo1"] will be created + resource "nxos_ospf_interface" "ospf_interface_vtep_loopback" { + advertise_secondaries = true + area = "0.0.0.0" + bfd = "unspecified" + cost = 0 + dead_interval = 0 + device = "staging-leaf2" + hello_interval = 10 + id = (known after apply) + instance_name = "OSPF1" + interface_id = "lo1" + network_type = "p2p" + passive = "unspecified" + priority = 1 + vrf_name = "default" } # module.vxlan.nxos_ospf_vrf.ospf_vrf["staging-leaf1"] will be created + resource "nxos_ospf_vrf" "ospf_vrf" { + admin_state = "enabled" + bandwidth_reference = 40000 + bandwidth_reference_unit = "mbps" + device = "staging-leaf1" + distance = 110 + id = (known after apply) + instance_name = "OSPF1" + name = "default" + router_id = "10.0.0.2" } # module.vxlan.nxos_ospf_vrf.ospf_vrf["staging-leaf2"] will be created + resource "nxos_ospf_vrf" "ospf_vrf" { + admin_state = "enabled" + bandwidth_reference = 40000 + bandwidth_reference_unit = "mbps" + device = "staging-leaf2" + distance = 110 + id = (known after apply) + instance_name = "OSPF1" + name = "default" + router_id = "10.0.0.3" } # module.vxlan.nxos_ospf_vrf.ospf_vrf["staging-spine1"] will be created + resource "nxos_ospf_vrf" "ospf_vrf" { + admin_state = "enabled" + bandwidth_reference = 40000 + bandwidth_reference_unit = "mbps" + device = "staging-spine1" + distance = 110 + id = (known after apply) + instance_name = "OSPF1" + name = "default" + router_id = "10.0.0.1" } # module.vxlan.nxos_physical_interface.vxlan_trunk_port_service_interface["staging-leaf1-eth1/3"] will be created + resource "nxos_physical_interface" "vxlan_trunk_port_service_interface" { + access_vlan = "vlan-1" + admin_state = "up" + auto_negotiation = "on" + bandwidth = 0 + delay = 1 + description = "AlpineLinuxVM" + device = "staging-leaf1" + duplex = "auto" + fec_mode = "auto" + id = (known after apply) + interface_id = "eth1/3" + layer = "Layer2" + link_debounce_down = 100 + link_debounce_up = 0 + link_logging = "default" + medium = "broadcast" + mode = "trunk" + mtu = 9216 + native_vlan = "vlan-1" + speed = "auto" + speed_group = "auto" + trunk_vlans = "100" + uni_directional_ethernet = "disable" } # module.vxlan.nxos_physical_interface.vxlan_trunk_port_service_interface["staging-leaf2-eth1/3"] will be created + resource "nxos_physical_interface" "vxlan_trunk_port_service_interface" { + access_vlan = "vlan-1" + admin_state = "up" + auto_negotiation = "on" + bandwidth = 0 + delay = 1 + description = "AlpineLinuxVM" + device = "staging-leaf2" + duplex = "auto" + fec_mode = "auto" + id = (known after apply) + interface_id = "eth1/3" + layer = "Layer2" + link_debounce_down = 100 + link_debounce_up = 0 + link_logging = "default" + medium = "broadcast" + mode = "trunk" + mtu = 9216 + native_vlan = "vlan-1" + speed = "auto" + speed_group = "auto" + trunk_vlans = "100-101,200" + uni_directional_ethernet = "disable" } # module.vxlan.nxos_physical_interface.vxlan_underlay_routed_ethernet_interfaces["staging-leaf1-eth1/1"] will be created + resource "nxos_physical_interface" "vxlan_underlay_routed_ethernet_interfaces" { + access_vlan = "vlan-1" + admin_state = "up" + auto_negotiation = "on" + bandwidth = 0 + delay = 1 + description = "Uplink to Spine" + device = "staging-leaf1" + duplex = "auto" + fec_mode = "auto" + id = (known after apply) + interface_id = "eth1/1" + layer = "Layer3" + link_debounce_down = 100 + link_debounce_up = 0 + link_logging = "default" + medium = "broadcast" + mode = "access" + mtu = 9216 + native_vlan = "vlan-1" + speed = "auto" + speed_group = "auto" + trunk_vlans = "1-4094" + uni_directional_ethernet = "disable" } # module.vxlan.nxos_physical_interface.vxlan_underlay_routed_ethernet_interfaces["staging-leaf2-eth1/1"] will be created + resource "nxos_physical_interface" "vxlan_underlay_routed_ethernet_interfaces" { + access_vlan = "vlan-1" + admin_state = "up" + auto_negotiation = "on" + bandwidth = 0 + delay = 1 + description = "Uplink to Spine" + device = "staging-leaf2" + duplex = "auto" + fec_mode = "auto" + id = (known after apply) + interface_id = "eth1/1" + layer = "Layer3" + link_debounce_down = 100 + link_debounce_up = 0 + link_logging = "default" + medium = "broadcast" + mode = "access" + mtu = 9216 + native_vlan = "vlan-1" + speed = "auto" + speed_group = "auto" + trunk_vlans = "1-4094" + uni_directional_ethernet = "disable" } # module.vxlan.nxos_physical_interface.vxlan_underlay_routed_ethernet_interfaces["staging-spine1-eth1/1"] will be created + resource "nxos_physical_interface" "vxlan_underlay_routed_ethernet_interfaces" { + access_vlan = "vlan-1" + admin_state = "up" + auto_negotiation = "on" + bandwidth = 0 + delay = 1 + description = "Uplink to leaf1" + device = "staging-spine1" + duplex = "auto" + fec_mode = "auto" + id = (known after apply) + interface_id = "eth1/1" + layer = "Layer3" + link_debounce_down = 100 + link_debounce_up = 0 + link_logging = "default" + medium = "broadcast" + mode = "access" + mtu = 9216 + native_vlan = "vlan-1" + speed = "auto" + speed_group = "auto" + trunk_vlans = "1-4094" + uni_directional_ethernet = "disable" } # module.vxlan.nxos_physical_interface.vxlan_underlay_routed_ethernet_interfaces["staging-spine1-eth1/2"] will be created + resource "nxos_physical_interface" "vxlan_underlay_routed_ethernet_interfaces" { + access_vlan = "vlan-1" + admin_state = "up" + auto_negotiation = "on" + bandwidth = 0 + delay = 1 + description = "Uplink to leaf2" + device = "staging-spine1" + duplex = "auto" + fec_mode = "auto" + id = (known after apply) + interface_id = "eth1/2" + layer = "Layer3" + link_debounce_down = 100 + link_debounce_up = 0 + link_logging = "default" + medium = "broadcast" + mode = "access" + mtu = 9216 + native_vlan = "vlan-1" + speed = "auto" + speed_group = "auto" + trunk_vlans = "1-4094" + uni_directional_ethernet = "disable" } # module.vxlan.nxos_physical_interface.vxlan_underlay_routed_ethernet_interfaces_admin_state["staging-leaf1-eth1/1"] will be created + resource "nxos_physical_interface" "vxlan_underlay_routed_ethernet_interfaces_admin_state" { + access_vlan = "vlan-1" + admin_state = "up" + auto_negotiation = "on" + bandwidth = 0 + delay = 1 + description = "Uplink to Spine" + device = "staging-leaf1" + duplex = "auto" + fec_mode = "auto" + id = (known after apply) + interface_id = "eth1/1" + layer = "Layer3" + link_debounce_down = 100 + link_debounce_up = 0 + link_logging = "default" + medium = "broadcast" + mode = "access" + mtu = 9216 + native_vlan = "vlan-1" + speed = "auto" + speed_group = "auto" + trunk_vlans = "1-4094" + uni_directional_ethernet = "disable" } # module.vxlan.nxos_physical_interface.vxlan_underlay_routed_ethernet_interfaces_admin_state["staging-leaf2-eth1/1"] will be created + resource "nxos_physical_interface" "vxlan_underlay_routed_ethernet_interfaces_admin_state" { + access_vlan = "vlan-1" + admin_state = "up" + auto_negotiation = "on" + bandwidth = 0 + delay = 1 + description = "Uplink to Spine" + device = "staging-leaf2" + duplex = "auto" + fec_mode = "auto" + id = (known after apply) + interface_id = "eth1/1" + layer = "Layer3" + link_debounce_down = 100 + link_debounce_up = 0 + link_logging = "default" + medium = "broadcast" + mode = "access" + mtu = 9216 + native_vlan = "vlan-1" + speed = "auto" + speed_group = "auto" + trunk_vlans = "1-4094" + uni_directional_ethernet = "disable" } # module.vxlan.nxos_physical_interface.vxlan_underlay_routed_ethernet_interfaces_admin_state["staging-spine1-eth1/1"] will be created + resource "nxos_physical_interface" "vxlan_underlay_routed_ethernet_interfaces_admin_state" { + access_vlan = "vlan-1" + admin_state = "up" + auto_negotiation = "on" + bandwidth = 0 + delay = 1 + description = "Uplink to leaf1" + device = "staging-spine1" + duplex = "auto" + fec_mode = "auto" + id = (known after apply) + interface_id = "eth1/1" + layer = "Layer3" + link_debounce_down = 100 + link_debounce_up = 0 + link_logging = "default" + medium = "broadcast" + mode = "access" + mtu = 9216 + native_vlan = "vlan-1" + speed = "auto" + speed_group = "auto" + trunk_vlans = "1-4094" + uni_directional_ethernet = "disable" } # module.vxlan.nxos_physical_interface.vxlan_underlay_routed_ethernet_interfaces_admin_state["staging-spine1-eth1/2"] will be created + resource "nxos_physical_interface" "vxlan_underlay_routed_ethernet_interfaces_admin_state" { + access_vlan = "vlan-1" + admin_state = "up" + auto_negotiation = "on" + bandwidth = 0 + delay = 1 + description = "Uplink to leaf2" + device = "staging-spine1" + duplex = "auto" + fec_mode = "auto" + id = (known after apply) + interface_id = "eth1/2" + layer = "Layer3" + link_debounce_down = 100 + link_debounce_up = 0 + link_logging = "default" + medium = "broadcast" + mode = "access" + mtu = 9216 + native_vlan = "vlan-1" + speed = "auto" + speed_group = "auto" + trunk_vlans = "1-4094" + uni_directional_ethernet = "disable" } # module.vxlan.nxos_physical_interface_vrf.vxlan_underlay_routed_ethernet_interfaces_vrf["staging-leaf1-eth1/1"] will be created + resource "nxos_physical_interface_vrf" "vxlan_underlay_routed_ethernet_interfaces_vrf" { + device = "staging-leaf1" + id = (known after apply) + interface_id = "eth1/1" + vrf_dn = "sys/inst-default" } # module.vxlan.nxos_physical_interface_vrf.vxlan_underlay_routed_ethernet_interfaces_vrf["staging-leaf2-eth1/1"] will be created + resource "nxos_physical_interface_vrf" "vxlan_underlay_routed_ethernet_interfaces_vrf" { + device = "staging-leaf2" + id = (known after apply) + interface_id = "eth1/1" + vrf_dn = "sys/inst-default" } # module.vxlan.nxos_physical_interface_vrf.vxlan_underlay_routed_ethernet_interfaces_vrf["staging-spine1-eth1/1"] will be created + resource "nxos_physical_interface_vrf" "vxlan_underlay_routed_ethernet_interfaces_vrf" { + device = "staging-spine1" + id = (known after apply) + interface_id = "eth1/1" + vrf_dn = "sys/inst-default" } # module.vxlan.nxos_physical_interface_vrf.vxlan_underlay_routed_ethernet_interfaces_vrf["staging-spine1-eth1/2"] will be created + resource "nxos_physical_interface_vrf" "vxlan_underlay_routed_ethernet_interfaces_vrf" { + device = "staging-spine1" + id = (known after apply) + interface_id = "eth1/2" + vrf_dn = "sys/inst-default" } # module.vxlan.nxos_pim.vxlan_pim["staging-leaf1"] will be created + resource "nxos_pim" "vxlan_pim" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_pim.vxlan_pim["staging-leaf2"] will be created + resource "nxos_pim" "vxlan_pim" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_pim.vxlan_pim["staging-spine1"] will be created + resource "nxos_pim" "vxlan_pim" { + admin_state = "enabled" + device = "staging-spine1" + id = (known after apply) } # module.vxlan.nxos_pim_anycast_rp.vxlan_pim_anycast_rp["staging-leaf1"] will be created + resource "nxos_pim_anycast_rp" "vxlan_pim_anycast_rp" { + device = "staging-leaf1" + id = (known after apply) + local_interface = "lo250" + source_interface = "lo250" + vrf_name = "default" } # module.vxlan.nxos_pim_anycast_rp.vxlan_pim_anycast_rp["staging-leaf2"] will be created + resource "nxos_pim_anycast_rp" "vxlan_pim_anycast_rp" { + device = "staging-leaf2" + id = (known after apply) + local_interface = "lo250" + source_interface = "lo250" + vrf_name = "default" } # module.vxlan.nxos_pim_anycast_rp.vxlan_pim_anycast_rp["staging-spine1"] will be created + resource "nxos_pim_anycast_rp" "vxlan_pim_anycast_rp" { + device = "staging-spine1" + id = (known after apply) + local_interface = "lo250" + source_interface = "lo250" + vrf_name = "default" } # module.vxlan.nxos_pim_anycast_rp_peer.vxlan_pim_anycast_rp_peer["staging-spine1"] will be created + resource "nxos_pim_anycast_rp_peer" "vxlan_pim_anycast_rp_peer" { + address = "10.250.250.1/32" + device = "staging-spine1" + id = (known after apply) + rp_set_address = "10.0.0.1/32" + vrf_name = "default" } # module.vxlan.nxos_pim_instance.vxlan_pim_instance["staging-leaf1"] will be created + resource "nxos_pim_instance" "vxlan_pim_instance" { + admin_state = "enabled" + device = "staging-leaf1" + id = (known after apply) } # module.vxlan.nxos_pim_instance.vxlan_pim_instance["staging-leaf2"] will be created + resource "nxos_pim_instance" "vxlan_pim_instance" { + admin_state = "enabled" + device = "staging-leaf2" + id = (known after apply) } # module.vxlan.nxos_pim_instance.vxlan_pim_instance["staging-spine1"] will be created + resource "nxos_pim_instance" "vxlan_pim_instance" { + admin_state = "enabled" + device = "staging-spine1" + id = (known after apply) } # module.vxlan.nxos_pim_interface.vxlan_fl_l3_pim_interface["staging-leaf1-eth1/1"] will be created + resource "nxos_pim_interface" "vxlan_fl_l3_pim_interface" { + admin_state = "enabled" + bfd = "none" + device = "staging-leaf1" + dr_priority = 1 + id = (known after apply) + interface_id = "eth1/1" + passive = false + sparse_mode = true + vrf_name = "default" } # module.vxlan.nxos_pim_interface.vxlan_fl_l3_pim_interface["staging-leaf2-eth1/1"] will be created + resource "nxos_pim_interface" "vxlan_fl_l3_pim_interface" { + admin_state = "enabled" + bfd = "none" + device = "staging-leaf2" + dr_priority = 1 + id = (known after apply) + interface_id = "eth1/1" + passive = false + sparse_mode = true + vrf_name = "default" } # module.vxlan.nxos_pim_interface.vxlan_fl_l3_pim_interface["staging-spine1-eth1/1"] will be created + resource "nxos_pim_interface" "vxlan_fl_l3_pim_interface" { + admin_state = "enabled" + bfd = "none" + device = "staging-spine1" + dr_priority = 1 + id = (known after apply) + interface_id = "eth1/1" + passive = false + sparse_mode = true + vrf_name = "default" } # module.vxlan.nxos_pim_interface.vxlan_fl_l3_pim_interface["staging-spine1-eth1/2"] will be created + resource "nxos_pim_interface" "vxlan_fl_l3_pim_interface" { + admin_state = "enabled" + bfd = "none" + device = "staging-spine1" + dr_priority = 1 + id = (known after apply) + interface_id = "eth1/2" + passive = false + sparse_mode = true + vrf_name = "default" } # module.vxlan.nxos_pim_interface.vxlan_fl_routing_lo_pim_interface["staging-leaf1-lo0"] will be created + resource "nxos_pim_interface" "vxlan_fl_routing_lo_pim_interface" { + admin_state = "enabled" + bfd = "none" + device = "staging-leaf1" + dr_priority = 1 + id = (known after apply) + interface_id = "lo0" + passive = false + sparse_mode = true + vrf_name = "default" } # module.vxlan.nxos_pim_interface.vxlan_fl_routing_lo_pim_interface["staging-leaf2-lo0"] will be created + resource "nxos_pim_interface" "vxlan_fl_routing_lo_pim_interface" { + admin_state = "enabled" + bfd = "none" + device = "staging-leaf2" + dr_priority = 1 + id = (known after apply) + interface_id = "lo0" + passive = false + sparse_mode = true + vrf_name = "default" } # module.vxlan.nxos_pim_interface.vxlan_fl_routing_lo_pim_interface["staging-spine1-lo0"] will be created + resource "nxos_pim_interface" "vxlan_fl_routing_lo_pim_interface" { + admin_state = "enabled" + bfd = "none" + device = "staging-spine1" + dr_priority = 1 + id = (known after apply) + interface_id = "lo0" + passive = false + sparse_mode = true + vrf_name = "default" } # module.vxlan.nxos_pim_interface.vxlan_fl_rp_lo_pim_interface["staging-spine1-lo250"] will be created + resource "nxos_pim_interface" "vxlan_fl_rp_lo_pim_interface" { + admin_state = "enabled" + bfd = "none" + device = "staging-spine1" + dr_priority = 1 + id = (known after apply) + interface_id = "lo250" + passive = false + sparse_mode = true + vrf_name = "default" } # module.vxlan.nxos_pim_interface.vxlan_fl_vtep_lo_pim_interface["staging-leaf1-lo1"] will be created + resource "nxos_pim_interface" "vxlan_fl_vtep_lo_pim_interface" { + admin_state = "enabled" + bfd = "none" + device = "staging-leaf1" + dr_priority = 1 + id = (known after apply) + interface_id = "lo1" + passive = false + sparse_mode = true + vrf_name = "default" } # module.vxlan.nxos_pim_interface.vxlan_fl_vtep_lo_pim_interface["staging-leaf2-lo1"] will be created + resource "nxos_pim_interface" "vxlan_fl_vtep_lo_pim_interface" { + admin_state = "enabled" + bfd = "none" + device = "staging-leaf2" + dr_priority = 1 + id = (known after apply) + interface_id = "lo1" + passive = false + sparse_mode = true + vrf_name = "default" } # module.vxlan.nxos_pim_static_rp.vxlan_pim_static_rp["staging-leaf1"] will be created + resource "nxos_pim_static_rp" "vxlan_pim_static_rp" { + address = "10.250.250.1/32" + device = "staging-leaf1" + id = (known after apply) + vrf_name = "default" } # module.vxlan.nxos_pim_static_rp.vxlan_pim_static_rp["staging-leaf2"] will be created + resource "nxos_pim_static_rp" "vxlan_pim_static_rp" { + address = "10.250.250.1/32" + device = "staging-leaf2" + id = (known after apply) + vrf_name = "default" } # module.vxlan.nxos_pim_static_rp.vxlan_pim_static_rp["staging-spine1"] will be created + resource "nxos_pim_static_rp" "vxlan_pim_static_rp" { + address = "10.250.250.1/32" + device = "staging-spine1" + id = (known after apply) + vrf_name = "default" } # module.vxlan.nxos_pim_static_rp_group_list.vxlan_pim_static_rp_group_list["staging-leaf1"] will be created + resource "nxos_pim_static_rp_group_list" "vxlan_pim_static_rp_group_list" { + address = "239.1.1.0/25" + bidir = false + device = "staging-leaf1" + id = (known after apply) + override = false + rp_address = "10.250.250.1/32" + vrf_name = "default" } # module.vxlan.nxos_pim_static_rp_group_list.vxlan_pim_static_rp_group_list["staging-leaf2"] will be created + resource "nxos_pim_static_rp_group_list" "vxlan_pim_static_rp_group_list" { + address = "239.1.1.0/25" + bidir = false + device = "staging-leaf2" + id = (known after apply) + override = false + rp_address = "10.250.250.1/32" + vrf_name = "default" } # module.vxlan.nxos_pim_static_rp_group_list.vxlan_pim_static_rp_group_list["staging-spine1"] will be created + resource "nxos_pim_static_rp_group_list" "vxlan_pim_static_rp_group_list" { + address = "239.1.1.0/25" + bidir = false + device = "staging-spine1" + id = (known after apply) + override = false + rp_address = "10.250.250.1/32" + vrf_name = "default" } # module.vxlan.nxos_pim_static_rp_policy.vxlan_pim_static_rp_policy["staging-leaf1"] will be created + resource "nxos_pim_static_rp_policy" "vxlan_pim_static_rp_policy" { + device = "staging-leaf1" + id = (known after apply) + vrf_name = "default" } # module.vxlan.nxos_pim_static_rp_policy.vxlan_pim_static_rp_policy["staging-leaf2"] will be created + resource "nxos_pim_static_rp_policy" "vxlan_pim_static_rp_policy" { + device = "staging-leaf2" + id = (known after apply) + vrf_name = "default" } # module.vxlan.nxos_pim_static_rp_policy.vxlan_pim_static_rp_policy["staging-spine1"] will be created + resource "nxos_pim_static_rp_policy" "vxlan_pim_static_rp_policy" { + device = "staging-spine1" + id = (known after apply) + vrf_name = "default" } # module.vxlan.nxos_pim_vrf.vxlan_pim_vrf["staging-leaf1"] will be created + resource "nxos_pim_vrf" "vxlan_pim_vrf" { + admin_state = "enabled" + bfd = false + device = "staging-leaf1" + id = (known after apply) + name = "default" } # module.vxlan.nxos_pim_vrf.vxlan_pim_vrf["staging-leaf2"] will be created + resource "nxos_pim_vrf" "vxlan_pim_vrf" { + admin_state = "enabled" + bfd = false + device = "staging-leaf2" + id = (known after apply) + name = "default" } # module.vxlan.nxos_pim_vrf.vxlan_pim_vrf["staging-spine1"] will be created + resource "nxos_pim_vrf" "vxlan_pim_vrf" { + admin_state = "enabled" + bfd = false + device = "staging-spine1" + id = (known after apply) + name = "default" } # module.vxlan.nxos_route_map_rule.vxlan_tag_route_map_rule["staging-leaf1"] will be created + resource "nxos_route_map_rule" "vxlan_tag_route_map_rule" { + device = "staging-leaf1" + id = (known after apply) + name = "fabric-rmap-redist-subnet" } # module.vxlan.nxos_route_map_rule.vxlan_tag_route_map_rule["staging-leaf2"] will be created + resource "nxos_route_map_rule" "vxlan_tag_route_map_rule" { + device = "staging-leaf2" + id = (known after apply) + name = "fabric-rmap-redist-subnet" } # module.vxlan.nxos_route_map_rule_entry.vxlan_tag_route_map_rule_priority["staging-leaf1"] will be created + resource "nxos_route_map_rule_entry" "vxlan_tag_route_map_rule_priority" { + action = "permit" + device = "staging-leaf1" + id = (known after apply) + order = 10 + rule_name = "fabric-rmap-redist-subnet" } # module.vxlan.nxos_route_map_rule_entry.vxlan_tag_route_map_rule_priority["staging-leaf2"] will be created + resource "nxos_route_map_rule_entry" "vxlan_tag_route_map_rule_priority" { + action = "permit" + device = "staging-leaf2" + id = (known after apply) + order = 10 + rule_name = "fabric-rmap-redist-subnet" } # module.vxlan.nxos_route_map_rule_entry_match_tag.vxlan_tag_route_map_rule_entry_match_tag["staging-leaf1"] will be created + resource "nxos_route_map_rule_entry_match_tag" "vxlan_tag_route_map_rule_entry_match_tag" { + device = "staging-leaf1" + id = (known after apply) + order = 10 + rule_name = "fabric-rmap-redist-subnet" + tag = 12345 } # module.vxlan.nxos_route_map_rule_entry_match_tag.vxlan_tag_route_map_rule_entry_match_tag["staging-leaf2"] will be created + resource "nxos_route_map_rule_entry_match_tag" "vxlan_tag_route_map_rule_entry_match_tag" { + device = "staging-leaf2" + id = (known after apply) + order = 10 + rule_name = "fabric-rmap-redist-subnet" + tag = 12345 } # module.vxlan.nxos_save_config.save_config["staging-leaf1"] will be created + resource "nxos_save_config" "save_config" { + device = "staging-leaf1" + save = true } # module.vxlan.nxos_save_config.save_config["staging-leaf2"] will be created + resource "nxos_save_config" "save_config" { + device = "staging-leaf2" + save = true } # module.vxlan.nxos_save_config.save_config["staging-spine1"] will be created + resource "nxos_save_config" "save_config" { + device = "staging-spine1" + save = true } # module.vxlan.nxos_svi_interface.vxlan_svi_interface["staging-leaf1-100-10000"] will be created + resource "nxos_svi_interface" "vxlan_svi_interface" { + admin_state = "up" + bandwidth = 1000000 + delay = 1 + description = "Configured by NetAsCode" + device = "staging-leaf1" + id = (known after apply) + interface_id = "vlan100" + medium = "bcast" + mtu = 1500 } # module.vxlan.nxos_svi_interface.vxlan_svi_interface["staging-leaf2-101-10000"] will be created + resource "nxos_svi_interface" "vxlan_svi_interface" { + admin_state = "up" + bandwidth = 1000000 + delay = 1 + description = "Configured by NetAsCode" + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan101" + medium = "bcast" + mtu = 1500 } # module.vxlan.nxos_svi_interface.vxlan_svi_interface["staging-leaf2-201-20000"] will be created + resource "nxos_svi_interface" "vxlan_svi_interface" { + admin_state = "up" + bandwidth = 1000000 + delay = 1 + description = "Configured by NetAsCode" + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan201" + medium = "bcast" + mtu = 1500 } # module.vxlan.nxos_svi_interface.vxlan_vrf_svi_interface["staging-leaf1-10000"] will be created + resource "nxos_svi_interface" "vxlan_vrf_svi_interface" { + admin_state = "up" + bandwidth = 1000000 + delay = 1 + description = "Configured by NetAsCode" + device = "staging-leaf1" + id = (known after apply) + interface_id = "vlan1000" + medium = "bcast" + mtu = 1500 } # module.vxlan.nxos_svi_interface.vxlan_vrf_svi_interface["staging-leaf2-10000"] will be created + resource "nxos_svi_interface" "vxlan_vrf_svi_interface" { + admin_state = "up" + bandwidth = 1000000 + delay = 1 + description = "Configured by NetAsCode" + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan1000" + medium = "bcast" + mtu = 1500 } # module.vxlan.nxos_svi_interface.vxlan_vrf_svi_interface["staging-leaf2-20000"] will be created + resource "nxos_svi_interface" "vxlan_vrf_svi_interface" { + admin_state = "up" + bandwidth = 1000000 + delay = 1 + description = "Configured by NetAsCode" + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan2000" + medium = "bcast" + mtu = 1500 } # module.vxlan.nxos_svi_interface_vrf.vxlan_svi_interface_vrf["staging-leaf1-100-10000"] will be created + resource "nxos_svi_interface_vrf" "vxlan_svi_interface_vrf" { + device = "staging-leaf1" + id = (known after apply) + interface_id = "vlan100" + vrf_dn = "sys/inst-VRF1" } # module.vxlan.nxos_svi_interface_vrf.vxlan_svi_interface_vrf["staging-leaf2-101-10000"] will be created + resource "nxos_svi_interface_vrf" "vxlan_svi_interface_vrf" { + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan101" + vrf_dn = "sys/inst-VRF1" } # module.vxlan.nxos_svi_interface_vrf.vxlan_svi_interface_vrf["staging-leaf2-201-20000"] will be created + resource "nxos_svi_interface_vrf" "vxlan_svi_interface_vrf" { + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan201" + vrf_dn = "sys/inst-VRF2" } # module.vxlan.nxos_svi_interface_vrf.vxlan_vrf_svi_interface_vrf["staging-leaf1-10000"] will be created + resource "nxos_svi_interface_vrf" "vxlan_vrf_svi_interface_vrf" { + device = "staging-leaf1" + id = (known after apply) + interface_id = "vlan1000" + vrf_dn = "sys/inst-VRF1" } # module.vxlan.nxos_svi_interface_vrf.vxlan_vrf_svi_interface_vrf["staging-leaf2-10000"] will be created + resource "nxos_svi_interface_vrf" "vxlan_vrf_svi_interface_vrf" { + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan1000" + vrf_dn = "sys/inst-VRF1" } # module.vxlan.nxos_svi_interface_vrf.vxlan_vrf_svi_interface_vrf["staging-leaf2-20000"] will be created + resource "nxos_svi_interface_vrf" "vxlan_vrf_svi_interface_vrf" { + device = "staging-leaf2" + id = (known after apply) + interface_id = "vlan2000" + vrf_dn = "sys/inst-VRF2" } # module.vxlan.nxos_vrf.vxlan_vrf["staging-leaf1-VRF1-10000"] will be created + resource "nxos_vrf" "vxlan_vrf" { + description = "VRF1 for Cisco Live Seminar" + device = "staging-leaf1" + encap = "vxlan-10000" + id = (known after apply) + name = "VRF1" } # module.vxlan.nxos_vrf.vxlan_vrf["staging-leaf2-VRF1-10000"] will be created + resource "nxos_vrf" "vxlan_vrf" { + description = "VRF1 for Cisco Live Seminar" + device = "staging-leaf2" + encap = "vxlan-10000" + id = (known after apply) + name = "VRF1" } # module.vxlan.nxos_vrf.vxlan_vrf["staging-leaf2-VRF2-20000"] will be created + resource "nxos_vrf" "vxlan_vrf" { + description = "VRF2 for Cisco Live Seminar" + device = "staging-leaf2" + encap = "vxlan-20000" + id = (known after apply) + name = "VRF2" } # module.vxlan.nxos_vrf_address_family.vxlan_vrf_routing_ipv4_addr_family["staging-leaf1-VRF1-10000"] will be created + resource "nxos_vrf_address_family" "vxlan_vrf_routing_ipv4_addr_family" { + address_family = "ipv4-ucast" + device = "staging-leaf1" + id = (known after apply) + vrf = "VRF1" } # module.vxlan.nxos_vrf_address_family.vxlan_vrf_routing_ipv4_addr_family["staging-leaf2-VRF1-10000"] will be created + resource "nxos_vrf_address_family" "vxlan_vrf_routing_ipv4_addr_family" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + id = (known after apply) + vrf = "VRF1" } # module.vxlan.nxos_vrf_address_family.vxlan_vrf_routing_ipv4_addr_family["staging-leaf2-VRF2-20000"] will be created + resource "nxos_vrf_address_family" "vxlan_vrf_routing_ipv4_addr_family" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + id = (known after apply) + vrf = "VRF2" } # module.vxlan.nxos_vrf_route_target.vxlan_vrf_route_target_ipv4ucast_import["staging-leaf1-VRF1-10000"] will be created + resource "nxos_vrf_route_target" "vxlan_vrf_route_target_ipv4ucast_import" { + address_family = "ipv4-ucast" + device = "staging-leaf1" + direction = "import" + id = (known after apply) + route_target = "route-target:unknown:0:0" + route_target_address_family = "ipv4-ucast" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target.vxlan_vrf_route_target_ipv4ucast_import["staging-leaf2-VRF1-10000"] will be created + resource "nxos_vrf_route_target" "vxlan_vrf_route_target_ipv4ucast_import" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + direction = "import" + id = (known after apply) + route_target = "route-target:unknown:0:0" + route_target_address_family = "ipv4-ucast" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target.vxlan_vrf_route_target_ipv4ucast_import["staging-leaf2-VRF2-20000"] will be created + resource "nxos_vrf_route_target" "vxlan_vrf_route_target_ipv4ucast_import" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + direction = "import" + id = (known after apply) + route_target = "route-target:unknown:0:0" + route_target_address_family = "ipv4-ucast" + vrf = "VRF2" } # module.vxlan.nxos_vrf_route_target.vxlan_vrf_route_target_l2evpn_ipv4_import["staging-leaf1-VRF1-10000"] will be created + resource "nxos_vrf_route_target" "vxlan_vrf_route_target_l2evpn_ipv4_import" { + address_family = "ipv4-ucast" + device = "staging-leaf1" + direction = "import" + id = (known after apply) + route_target = "route-target:unknown:0:0" + route_target_address_family = "l2vpn-evpn" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target.vxlan_vrf_route_target_l2evpn_ipv4_import["staging-leaf2-VRF1-10000"] will be created + resource "nxos_vrf_route_target" "vxlan_vrf_route_target_l2evpn_ipv4_import" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + direction = "import" + id = (known after apply) + route_target = "route-target:unknown:0:0" + route_target_address_family = "l2vpn-evpn" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target.vxlan_vrf_route_target_l2evpn_ipv4_import["staging-leaf2-VRF2-20000"] will be created + resource "nxos_vrf_route_target" "vxlan_vrf_route_target_l2evpn_ipv4_import" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + direction = "import" + id = (known after apply) + route_target = "route-target:unknown:0:0" + route_target_address_family = "l2vpn-evpn" + vrf = "VRF2" } # module.vxlan.nxos_vrf_route_target_address_family.vxlan_vrf_route_target_ipv4ucast_address_family["staging-leaf1-VRF1-10000"] will be created + resource "nxos_vrf_route_target_address_family" "vxlan_vrf_route_target_ipv4ucast_address_family" { + address_family = "ipv4-ucast" + device = "staging-leaf1" + id = (known after apply) + route_target_address_family = "ipv4-ucast" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target_address_family.vxlan_vrf_route_target_ipv4ucast_address_family["staging-leaf2-VRF1-10000"] will be created + resource "nxos_vrf_route_target_address_family" "vxlan_vrf_route_target_ipv4ucast_address_family" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + id = (known after apply) + route_target_address_family = "ipv4-ucast" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target_address_family.vxlan_vrf_route_target_ipv4ucast_address_family["staging-leaf2-VRF2-20000"] will be created + resource "nxos_vrf_route_target_address_family" "vxlan_vrf_route_target_ipv4ucast_address_family" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + id = (known after apply) + route_target_address_family = "ipv4-ucast" + vrf = "VRF2" } # module.vxlan.nxos_vrf_route_target_address_family.vxlan_vrf_route_target_l2vpn_ipv4_address_family["staging-leaf1-VRF1-10000"] will be created + resource "nxos_vrf_route_target_address_family" "vxlan_vrf_route_target_l2vpn_ipv4_address_family" { + address_family = "ipv4-ucast" + device = "staging-leaf1" + id = (known after apply) + route_target_address_family = "l2vpn-evpn" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target_address_family.vxlan_vrf_route_target_l2vpn_ipv4_address_family["staging-leaf2-VRF1-10000"] will be created + resource "nxos_vrf_route_target_address_family" "vxlan_vrf_route_target_l2vpn_ipv4_address_family" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + id = (known after apply) + route_target_address_family = "l2vpn-evpn" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target_address_family.vxlan_vrf_route_target_l2vpn_ipv4_address_family["staging-leaf2-VRF2-20000"] will be created + resource "nxos_vrf_route_target_address_family" "vxlan_vrf_route_target_l2vpn_ipv4_address_family" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + id = (known after apply) + route_target_address_family = "l2vpn-evpn" + vrf = "VRF2" } # module.vxlan.nxos_vrf_route_target_direction.vxlan_vrf_route_target_direction_ipv4ucast_export["staging-leaf1-VRF1-10000"] will be created + resource "nxos_vrf_route_target_direction" "vxlan_vrf_route_target_direction_ipv4ucast_export" { + address_family = "ipv4-ucast" + device = "staging-leaf1" + direction = "export" + id = (known after apply) + route_target_address_family = "ipv4-ucast" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target_direction.vxlan_vrf_route_target_direction_ipv4ucast_export["staging-leaf2-VRF1-10000"] will be created + resource "nxos_vrf_route_target_direction" "vxlan_vrf_route_target_direction_ipv4ucast_export" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + direction = "export" + id = (known after apply) + route_target_address_family = "ipv4-ucast" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target_direction.vxlan_vrf_route_target_direction_ipv4ucast_export["staging-leaf2-VRF2-20000"] will be created + resource "nxos_vrf_route_target_direction" "vxlan_vrf_route_target_direction_ipv4ucast_export" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + direction = "export" + id = (known after apply) + route_target_address_family = "ipv4-ucast" + vrf = "VRF2" } # module.vxlan.nxos_vrf_route_target_direction.vxlan_vrf_route_target_direction_ipv4ucast_import["staging-leaf1-VRF1-10000"] will be created + resource "nxos_vrf_route_target_direction" "vxlan_vrf_route_target_direction_ipv4ucast_import" { + address_family = "ipv4-ucast" + device = "staging-leaf1" + direction = "import" + id = (known after apply) + route_target_address_family = "ipv4-ucast" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target_direction.vxlan_vrf_route_target_direction_ipv4ucast_import["staging-leaf2-VRF1-10000"] will be created + resource "nxos_vrf_route_target_direction" "vxlan_vrf_route_target_direction_ipv4ucast_import" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + direction = "import" + id = (known after apply) + route_target_address_family = "ipv4-ucast" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target_direction.vxlan_vrf_route_target_direction_ipv4ucast_import["staging-leaf2-VRF2-20000"] will be created + resource "nxos_vrf_route_target_direction" "vxlan_vrf_route_target_direction_ipv4ucast_import" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + direction = "import" + id = (known after apply) + route_target_address_family = "ipv4-ucast" + vrf = "VRF2" } # module.vxlan.nxos_vrf_route_target_direction.vxlan_vrf_route_target_direction_l2evpn_ipv4_export["staging-leaf1-VRF1-10000"] will be created + resource "nxos_vrf_route_target_direction" "vxlan_vrf_route_target_direction_l2evpn_ipv4_export" { + address_family = "ipv4-ucast" + device = "staging-leaf1" + direction = "export" + id = (known after apply) + route_target_address_family = "l2vpn-evpn" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target_direction.vxlan_vrf_route_target_direction_l2evpn_ipv4_export["staging-leaf2-VRF1-10000"] will be created + resource "nxos_vrf_route_target_direction" "vxlan_vrf_route_target_direction_l2evpn_ipv4_export" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + direction = "export" + id = (known after apply) + route_target_address_family = "l2vpn-evpn" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target_direction.vxlan_vrf_route_target_direction_l2evpn_ipv4_export["staging-leaf2-VRF2-20000"] will be created + resource "nxos_vrf_route_target_direction" "vxlan_vrf_route_target_direction_l2evpn_ipv4_export" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + direction = "export" + id = (known after apply) + route_target_address_family = "l2vpn-evpn" + vrf = "VRF2" } # module.vxlan.nxos_vrf_route_target_direction.vxlan_vrf_route_target_direction_l2evpn_ipv4_import["staging-leaf1-VRF1-10000"] will be created + resource "nxos_vrf_route_target_direction" "vxlan_vrf_route_target_direction_l2evpn_ipv4_import" { + address_family = "ipv4-ucast" + device = "staging-leaf1" + direction = "import" + id = (known after apply) + route_target_address_family = "l2vpn-evpn" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target_direction.vxlan_vrf_route_target_direction_l2evpn_ipv4_import["staging-leaf2-VRF1-10000"] will be created + resource "nxos_vrf_route_target_direction" "vxlan_vrf_route_target_direction_l2evpn_ipv4_import" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + direction = "import" + id = (known after apply) + route_target_address_family = "l2vpn-evpn" + vrf = "VRF1" } # module.vxlan.nxos_vrf_route_target_direction.vxlan_vrf_route_target_direction_l2evpn_ipv4_import["staging-leaf2-VRF2-20000"] will be created + resource "nxos_vrf_route_target_direction" "vxlan_vrf_route_target_direction_l2evpn_ipv4_import" { + address_family = "ipv4-ucast" + device = "staging-leaf2" + direction = "import" + id = (known after apply) + route_target_address_family = "l2vpn-evpn" + vrf = "VRF2" } # module.vxlan.nxos_vrf_routing.vxlan_vrf_routing["staging-leaf1-VRF1-10000"] will be created + resource "nxos_vrf_routing" "vxlan_vrf_routing" { + device = "staging-leaf1" + id = (known after apply) + route_distinguisher = "rd:unknown:0:0" + vrf = "VRF1" } # module.vxlan.nxos_vrf_routing.vxlan_vrf_routing["staging-leaf2-VRF1-10000"] will be created + resource "nxos_vrf_routing" "vxlan_vrf_routing" { + device = "staging-leaf2" + id = (known after apply) + route_distinguisher = "rd:unknown:0:0" + vrf = "VRF1" } # module.vxlan.nxos_vrf_routing.vxlan_vrf_routing["staging-leaf2-VRF2-20000"] will be created + resource "nxos_vrf_routing" "vxlan_vrf_routing" { + device = "staging-leaf2" + id = (known after apply) + route_distinguisher = "rd:unknown:0:0" + vrf = "VRF2" } # module.vxlan.terraform_data.validation will be created + resource "terraform_data" "validation" { + id = (known after apply) } Plan: 276 to add, 0 to change, 0 to destroy.
terraform apply -auto-approve