Skip to content

netascode/terraform-catalystcenter-nac-catalystcenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Terraform Network-as-Code Cisco Catalyst Center Module

A Terraform module to configure Cisco Catalyst Center.

Usage

This module supports an inventory driven approach, where a complete Catalyst Center configuration or parts of it are either modeled in one or more YAML files or natively using Terraform variables.

Examples

Configuring an area under Design -> Network Hierarchy using YAML:

area.yaml

---
catalyst_center:
  sites:
    areas:
      - name: Site1
        parent_name: Global

main.tf

module "catalystcenter" {
  source  = "netascode/nac-catalystcenter/catalystcenter"
  version = ">= 0.1.0"

  yaml_files = ["area.yaml"]
}

Requirements

Name Version
terraform >= 1.8.0
catalystcenter >= 0.1.18
local >= 2.3.0
time >= 0.12.1
utils >= 0.2.6

Inputs

Name Description Type Default Required
model As an alternative to YAML files, a native Terraform data structure can be provided as well. map(any) {} no
template_directories List of paths to templates directories. list(string) [] no
write_default_values_file Write all default values to a YAML file. Value is a path pointing to the file to be created. string "" no
yaml_directories List of paths to YAML directories. list(string) [] no
yaml_files List of paths to YAML files. list(string) [] no

Outputs

Name Description
default_values All default values.
model Full model.

Resources

Name Type
catalystcenter_anycast_gateway.anycast_gateway resource
catalystcenter_area.area_0 resource
catalystcenter_area.area_1 resource
catalystcenter_area.area_2 resource
catalystcenter_assign_credentials.assign_credentials resource
catalystcenter_assign_templates_to_tag.template_to_tag resource
catalystcenter_associate_site_to_network_profile.site_to_network_profile resource
catalystcenter_associate_site_to_network_profile.site_to_wireless_network_profile resource
catalystcenter_building.building resource
catalystcenter_credentials_cli.cli_credentials resource
catalystcenter_credentials_https_read.https_read_credentials resource
catalystcenter_credentials_https_write.https_write_credentials resource
catalystcenter_credentials_snmpv2_read.snmpv2_read_credentials resource
catalystcenter_credentials_snmpv2_write.snmpv2_write_credentials resource
catalystcenter_credentials_snmpv3.snmpv3_credentials resource
catalystcenter_deploy_template.composite_template_deploy resource
catalystcenter_deploy_template.regular_template_deploy resource
catalystcenter_device_role.role resource
catalystcenter_fabric_device.border_device resource
catalystcenter_fabric_device.edge_device resource
catalystcenter_fabric_device.wireless_controller resource
catalystcenter_fabric_l2_handoff.l2_handoff resource
catalystcenter_fabric_l2_virtual_network.l2_vn resource
catalystcenter_fabric_l3_handoff_ip_transit.l3_handoff_ip_transit resource
catalystcenter_fabric_port_assignment.port_assignments resource
catalystcenter_fabric_provision_device.border_device resource
catalystcenter_fabric_provision_device.edge_device resource
catalystcenter_fabric_site.fabric_site resource
catalystcenter_fabric_virtual_network.vn resource
catalystcenter_floor.floor resource
catalystcenter_ip_pool.ip_pool resource
catalystcenter_ip_pool_reservation.pool_reservation resource
catalystcenter_lan_automation.lanauto_edge resource
catalystcenter_lan_automation.lanauto_link resource
catalystcenter_network.network_settings resource
catalystcenter_network_profile.switching_network_profile resource
catalystcenter_pnp_config_preview.config_preview resource
catalystcenter_pnp_device_claim_site.claim_device resource
catalystcenter_pnp_import_devices.pnp_devices resource
catalystcenter_project.project resource
catalystcenter_tag.tag resource
catalystcenter_template.composite_template resource
catalystcenter_template.regular_template resource
catalystcenter_template_version.composite_commit_version resource
catalystcenter_template_version.regular_commit_version resource
catalystcenter_transit_network.transit resource
catalystcenter_virtual_network_to_fabric_site.vn_to_fabric_site resource
catalystcenter_wireless_device_provision.wireless_controller resource
catalystcenter_wireless_enterprise_ssid.enteprise_ssid resource
catalystcenter_wireless_profile.wireless_profile resource
catalystcenter_wireless_rf_profile.rf_profile resource
local_sensitive_file.defaults resource
terraform_data.validation resource
time_sleep.template_wait resource
catalystcenter_network_devices.all_devices data source
catalystcenter_pnp_device.pnp_device data source

Modules

No modules.