netascode / terraform-nxos-interface-vlan

Terraform NX-OS VLAN Interface Module

Home Page:https://registry.terraform.io/modules/netascode/interface-vlan/nxos

Repository from Github https://github.comnetascode/terraform-nxos-interface-vlanRepository from Github https://github.comnetascode/terraform-nxos-interface-vlan

Tests

Terraform NX-OS Vlan Interface Module

Manages NX-OS Vlan Interface

Model Documentation: Link

Examples

module "nxos_interface_vlan" {
  source  = "netascode/interface-vlan/nxos"
  version = ">= 0.1.1"

  id           = 10
  admin_state  = true
  vrf          = "VRF1"
  ipv4_address = "3.1.1.1/24"
  ipv4_secondary_addresses = [
    "2.1.2.1/24",
    "2.1.3.1/24"
  ]
  description = "Terraform was here"
  mtu         = 9216
}

Requirements

Name Version
terraform >= 1.0.0
nxos >= 0.5.0

Providers

Name Version
nxos >= 0.5.0

Inputs

Name Description Type Default Required
device A device name from the provider configuration. string null no
id Interface ID. Allowed format: 1. number n/a yes
admin_state Administrative port state. Set true for up or false for down. bool true no
delay The administrative port delay time. Minimum value: 1. Maximum value: 16777215. number 1 no
description Interface description. string "" no
bandwidth Interface bandwidth. Minimum value: 1. Maximum value: 400000000. number 1000000 no
ip_forward Enable/disable command ip forward. bool false no
ip_drop_glean Enable/disable command ip drop-glean. bool false no
medium Administrative port medium type. string "bcast" no
mtu Administrative port MTU. Minimum value: 576. Maximum value: 9216. number 1500 no
vrf VRF Name. string "default" no
ipv4_address Interface IPv4 address. Allowed format: 192.168.0.1/24. string null no
ipv4_secondary_addresses List of Interface IPv4 secondary addresses. Allowed format: 192.168.0.1/24. list(string) [] no

Outputs

Name Description
dn Distinguished name of the object.

Resources

Name Type
nxos_ipv4_interface.ipv4If resource
nxos_ipv4_interface_address.ipv4Addr resource
nxos_ipv4_interface_address.secondary_ipv4Addr resource
nxos_svi_interface.sviIf resource
nxos_svi_interface_vrf.nwRtVrfMbr resource

About

Terraform NX-OS VLAN Interface Module

https://registry.terraform.io/modules/netascode/interface-vlan/nxos

License:Apache License 2.0


Languages

Language:HCL 100.0%