An open API service indexing awesome lists of open source software.

https://github.com/netascode/terraform-nxos-fabric-forwarding

Terraform NX-OS Fabric Forwarding Module
https://github.com/netascode/terraform-nxos-fabric-forwarding

cisco nx-os nxos terraform terraform-module

Last synced: 3 months ago
JSON representation

Terraform NX-OS Fabric Forwarding Module

Awesome Lists containing this project

README

        

[![Tests](https://github.com/netascode/terraform-nxos-fabric-forwarding/actions/workflows/test.yml/badge.svg)](https://github.com/netascode/terraform-nxos-fabric-forwarding/actions/workflows/test.yml)

# Terraform NX-OS Fabric Forwarding Module

Manages NX-OS Fabric Forwarding Configurations

Model Documentation: [Link](https://developer.cisco.com/docs/cisco-nexus-3000-and-9000-series-nx-api-rest-sdk-user-guide-and-api-reference-release-9-3x/#!configuring-hmm)

## Examples

```hcl
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](#requirement\_terraform) | >= 1.3.0 |
| [nxos](#requirement\_nxos) | >= 0.5.0 |

## Providers

| Name | Version |
|------|---------|
| [nxos](#provider\_nxos) | >= 0.5.0 |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [device](#input\_device) | A device name from the provider configuration. | `string` | `null` | no |
| [anycast\_gateway\_mac](#input\_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](#input\_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](#output\_dn) | Distinguished name of the object. |

## Resources

| Name | Type |
|------|------|
| [nxos_hmm.hmmEntity](https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/hmm) | resource |
| [nxos_hmm_instance.hmmFwdInst](https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/hmm_instance) | resource |
| [nxos_hmm_interface.hmmFwdIf](https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/hmm_interface) | resource |