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
- Host: GitHub
- URL: https://github.com/netascode/terraform-nxos-fabric-forwarding
- Owner: netascode
- License: apache-2.0
- Created: 2022-05-04T17:44:57.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-10T12:04:37.000Z (over 1 year ago)
- Last Synced: 2025-01-14T14:14:07.486Z (4 months ago)
- Topics: cisco, nx-os, nxos, terraform, terraform-module
- Language: HCL
- Homepage: https://registry.terraform.io/modules/netascode/fabric-forwarding/nxos
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](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({| `[]` | no |
id = number
mode = optional(string, "anycastGW")
}))## 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 |