GithubHelp home page GithubHelp logo

netascode / terraform-nxos-vrf Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 43 KB

Terraform Cisco NX-OS VRF Module

Home Page: https://registry.terraform.io/modules/netascode/vrf/nxos

License: Apache License 2.0

HCL 100.00%
cisco nx-os nxos terraform terraform-module

terraform-nxos-vrf's Introduction

Tests

Terraform NX-OS VRF Module

Manages NX-OS VRF

Model Documentation: Link

Examples

module "nxos_vrf" {
  source  = "netascode/vrf/nxos"
  version = ">= 0.2.0"

  name                = "VRF1"
  description         = "My Description"
  vni                 = 16777210
  route_distinguisher = "1.1.1.1:1"
  address_families = [
    {
      address_family              = "ipv4_unicast"
      route_target_both_auto      = true
      route_target_both_auto_evpn = true
      route_target_import         = ["1.1.1.1:1", "65535:1", "65536:123"]
      route_target_export         = ["1.1.1.1:1", "65535:1", "65536:123"]
      route_target_import_evpn    = ["2.2.2.2:2", "65000:1", "100000:123"]
      route_target_export_evpn    = ["2.2.2.2:2", "65000:1", "100000:123"]
    },
    {
      address_family = "ipv6_unicast"
    }
  ]
}

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
name VRF Name. string n/a yes
description VRF description. string "" no
vni VRF Virtual Network Identifier. number null no
route_distinguisher VRF Route Distinguisher. Allowed formats: auto, 1.1.1.1:1, 65535:1. string null no
address_families VRF Address Families List.
Choices address_family: ipv4_unicast, ipv6_unicast.
Allowed formats route_target_import: auto, 1.1.1.1:1, 65535:1."
Allowed formats route_target_export: auto, 1.1.1.1:1, 65535:1."
Allowed formats route_target_import_evpn: auto, 1.1.1.1:1, 65535:1."
Allowed formats route_target_export_evpn: auto, 1.1.1.1:1, 65535:1."
list(object({
address_family = string
route_target_both_auto = optional(bool, false)
route_target_both_auto_evpn = optional(bool, false)
route_target_import = optional(list(string), [])
route_target_export = optional(list(string), [])
route_target_import_evpn = optional(list(string), [])
route_target_export_evpn = optional(list(string), [])
}))
[] no

Outputs

Name Description
dn Distinguished name of the object.
name VRF name.

Resources

Name Type
nxos_ipv4_vrf.ipv4Dom resource
nxos_vrf.l3Inst resource
nxos_vrf_address_family.rtctrlDomAf resource
nxos_vrf_route_target.rtctrlRttEntry resource
nxos_vrf_route_target_address_family.rtctrlAfCtrl resource
nxos_vrf_route_target_direction.rtctrlRttP resource
nxos_vrf_routing.rtctrlDom resource

terraform-nxos-vrf's People

Contributors

danischm avatar dependabot[bot] avatar vaneuk avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.