Skip to content

netascode/terraform-nxos-fabric-forwarding

Tests

Terraform NX-OS Fabric Forwarding Module

Manages NX-OS Fabric Forwarding Configurations

Model Documentation: Link

Examples

module "nxos_fabric_forwarding" {
  source  = "netascode/fabric-forwarding/nxos"
  version = ">= 0.2.0"

  anycast_gateway_mac = "20:20:00:00:10:12"
  vlan_interfaces = [
    {
      id = 14
    },
    {
      id   = 15
      mode = "proxyGW"
    }
  ]
}

Requirements

Name Version
terraform >= 1.3.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
anycast_gateway_mac Fabric forwarding anycast gateway mac specified by command fabric forwarding anycast-gateway-mac. Format: XX:XX:XX:XX:XX:XX. string n/a yes
vlan_interfaces List of VLAN interfaces configured with command fabric forwarding mode anycast-gateway. Choices mode: anycastGW, proxyGW. Default value mode: anycastGW.
list(object({
id = number
mode = optional(string, "anycastGW")
}))
[] no

Outputs

Name Description
dn Distinguished name of the object.

Resources

Name Type
nxos_hmm.hmmEntity resource
nxos_hmm_instance.hmmFwdInst resource
nxos_hmm_interface.hmmFwdIf resource