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

https://github.com/netascode/terrafrom-nxos-route-map

Terraform Cisco NX-OS Route-Map Module
https://github.com/netascode/terrafrom-nxos-route-map

Last synced: 3 months ago
JSON representation

Terraform Cisco NX-OS Route-Map Module

Awesome Lists containing this project

README

        

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

# Terraform NXOS Scaffolding Module

Description

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-an-ethernet-interface)

## Examples

```hcl
module "nxos_scaffolding" {
source = "netascode/scaffolding/nxos"
version = ">= 0.0.1"

id = "eth1/10"
description = "My Description"
mode = "trunk"
}
```

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.0.0 |
| [nxos](#requirement\_nxos) | >= 0.1.0 |

## Providers

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

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [id](#input\_id) | Interface ID. Must match first field in the output of `show intf brief`. Example: `eth1/1`. | `string` | n/a | yes |
| [description](#input\_description) | Interface description. | `string` | `""` | no |
| [mode](#input\_mode) | Interface mode. Choices: `access`, `trunk`, `fex-fabric`, `dot1q-tunnel`, `promiscuous`, `host`, `trunk_secondary`, `trunk_promiscuous`, `vntag`. | `string` | `"access"` | no |

## Outputs

| Name | Description |
|------|-------------|
| [dn](#output\_dn) | Distinguished name of `l1PhysIf` object. |
| [id](#output\_id) | Interface ID. |

## Resources

| Name | Type |
|------|------|
| [nxos_rest.l1PhysIf](https://registry.terraform.io/providers/netascode/nxos/latest/docs/resources/rest) | resource |