Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/netascode/terraform-nxos-pim
Terraform Cisco NX-OS PIM Module
https://github.com/netascode/terraform-nxos-pim
cisco nx-os nxos terraform terraform-module
Last synced: about 1 month ago
JSON representation
Terraform Cisco NX-OS PIM Module
- Host: GitHub
- URL: https://github.com/netascode/terraform-nxos-pim
- Owner: netascode
- License: apache-2.0
- Created: 2022-05-29T18:37:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-10T12:03:59.000Z (11 months ago)
- Last Synced: 2024-02-10T13:23:47.439Z (11 months ago)
- Topics: cisco, nx-os, nxos, terraform, terraform-module
- Language: HCL
- Homepage: https://registry.terraform.io/modules/netascode/pim/nxos
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![Tests](https://github.com/netascode/terraform-nxos-pim/actions/workflows/test.yml/badge.svg)](https://github.com/netascode/terraform-nxos-pim/actions/workflows/test.yml)
# Terraform NX-OS PIM Module
Manages NX-OS PIM
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-pimpim6)
## Examples
```hcl
module "nxos_pim" {
source = "netascode/pim/nxos"
version = ">= 0.2.0"vrfs = [
{
name = "default"
admin_state = true
bfd = true
rps = [
{
address = "20.1.1.1"
group_range = "225.0.0.0/8"
bidir = false
override = false
}
]
anycast_rp_local_interface = "lo1"
anycast_rp_source_interface = "lo1"
anycast_rps = [
{
address = "20.1.1.1"
set_address = "30.1.1.1"
}
]
interfaces = [
{
interface = "vlan100"
admin_state = true
bfd = true
dr_priority = 10
passive = false
sparse_mode = true
}
]
}
]
}
```## 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 |
| [vrfs](#input\_vrfs) | PIM VRF list.
Default value `admin_state`: `true`.
Default value `bfd`: `false`.
Default value `bidir`: `false`.
Default value `override`: `false`.
Default value `interfaces.admin_state`: `true`.
Choices `interfaces.bfd`: `unspecified`, `enabled`, `disabled`. Default value `interfaces.bfd`: `unspecified`.
Allowed values `dr_priority`: `1`-`4294967295`. Default value `dr_priority`: `1`.
Default value `passive`: `false`.
Default value `sparse_mode`: `false`. |list(object({| `[]` | no |
name = string
admin_state = optional(bool, true)
bfd = optional(bool, false)
rps = optional(list(object({
address = string
group_range = optional(string, "224.0.0.0/4")
bidir = optional(bool, false)
override = optional(bool, false)
})), [])
anycast_rp_local_interface = optional(string)
anycast_rp_source_interface = optional(string)
anycast_rps = optional(list(object({
address = string
set_address = string
})), [])
interfaces = optional(list(object({
interface = string
admin_state = optional(bool, true)
bfd = optional(string, "unspecified")
dr_priority = optional(number, 1)
passive = optional(bool, false)
sparse_mode = optional(bool, false)
})), [])
}))## Outputs
| Name | Description |
|------|-------------|
| [dn](#output\_dn) | Distinguished name of the object. |## Resources
| Name | Type |
|------|------|
| [nxos_pim.pimEntity](https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/pim) | resource |
| [nxos_pim_anycast_rp.pimAcastRPFuncP](https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/pim_anycast_rp) | resource |
| [nxos_pim_anycast_rp_peer.pimAcastRPPeer](https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/pim_anycast_rp_peer) | resource |
| [nxos_pim_instance.pimInst](https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/pim_instance) | resource |
| [nxos_pim_interface.pimIf](https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/pim_interface) | resource |
| [nxos_pim_static_rp.pimStaticRP](https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/pim_static_rp) | resource |
| [nxos_pim_static_rp_group_list.pimRPGrpList](https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/pim_static_rp_group_list) | resource |
| [nxos_pim_static_rp_policy.pimStaticRPP](https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/pim_static_rp_policy) | resource |
| [nxos_pim_vrf.pimDom](https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/pim_vrf) | resource |