Skip to content

Latest commit

 

History

History
144 lines (122 loc) · 14.9 KB

README.md

File metadata and controls

144 lines (122 loc) · 14.9 KB

Terraform Network-as-Code Cisco SD-WAN Module

A Terraform module to configure Cisco SD-WAN.

Usage

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

Examples

Configuring a Banner Feature Template using YAML:

banner_feature_template.yaml

sdwan:
  edge_feature_templates:
    banner_templates:
      - name: FT-CEDGE-BANNER-01
        description: Base banner template; support carrier returns
        login: "login banner: new\n"
        motd: "motd banner:\r\nNo message today\n"

main.tf

module "sdwan" {
  source  = "netascode/nac-sdwan/sdwan"
  version = "0.1.0"

  yaml_files = ["banner_feature_template.yaml"]
}

Requirements

Name Version
terraform >=1.3.0
local >= 2.3.0
sdwan >= 0.2.8
utils >= 0.2.5

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
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.

Providers

Name Version
local >= 2.3.0
sdwan >= 0.2.8
utils >= 0.2.5

Resources

Name Type
local_sensitive_file.defaults resource
sdwan_activate_centralized_policy.activate_centralized_policy resource
sdwan_app_probe_class_policy_object.app_probe_class_policy_object resource
sdwan_application_aware_routing_policy_definition.application_aware_routing_policy_definition resource
sdwan_application_list_policy_object.application_list_policy_object resource
sdwan_as_path_list_policy_object.as_path_list_policy_object resource
sdwan_attach_feature_device_template.attach_feature_device_template resource
sdwan_cedge_aaa_feature_template.cedge_aaa_feature_template resource
sdwan_cedge_global_feature_template.cedge_global_feature_template resource
sdwan_centralized_policy.centralized_policy resource
sdwan_cflowd_policy_definition.cflowd_policy_definition resource
sdwan_cisco_banner_feature_template.cisco_banner_feature_template resource
sdwan_cisco_bfd_feature_template.cisco_bfd_feature_template resource
sdwan_cisco_bgp_feature_template.cisco_bgp_feature_template resource
sdwan_cisco_dhcp_server_feature_template.cisco_dhcp_server_feature_template resource
sdwan_cisco_logging_feature_template.cisco_logging_feature_template resource
sdwan_cisco_ntp_feature_template.cisco_ntp_feature_template resource
sdwan_cisco_omp_feature_template.cisco_omp_feature_template resource
sdwan_cisco_ospf_feature_template.cisco_ospf_feature_template resource
sdwan_cisco_secure_internet_gateway_feature_template.cisco_secure_internet_gateway_feature_template resource
sdwan_cisco_security_feature_template.cisco_security_feature_template resource
sdwan_cisco_sig_credentials_feature_template.cisco_sig_credentials_feature_template resource
sdwan_cisco_snmp_feature_template.cisco_snmp_feature_template resource
sdwan_cisco_system_feature_template.cisco_system_feature_template resource
sdwan_cisco_thousandeyes_feature_template.cisco_thousandeyes_feature_template resource
sdwan_cisco_vpn_feature_template.cisco_vpn_feature_template resource
sdwan_cisco_vpn_interface_feature_template.cisco_vpn_interface_feature_template resource
sdwan_cisco_vpn_interface_ipsec_feature_template.cisco_vpn_interface_ipsec_feature_template resource
sdwan_class_map_policy_object.class_map_policy_object resource
sdwan_cli_config_profile_parcel.cli_config_profile_parcel resource
sdwan_cli_feature_profile.cli_feature_profile resource
sdwan_cli_template_feature_template.cli_template_feature_template resource
sdwan_color_list_policy_object.color_list_policy_object resource
sdwan_custom_control_topology_policy_definition.custom_control_topology_policy_definition resource
sdwan_data_ipv4_prefix_list_policy_object.data_ipv4_prefix_list_policy_object resource
sdwan_data_ipv6_prefix_list_policy_object.data_ipv6_prefix_list_policy_object resource
sdwan_expanded_community_list_policy_object.expanded_community_list_policy_object resource
sdwan_extended_community_list_policy_object.extended_community_list_policy_object resource
sdwan_feature_device_template.feature_device_template resource
sdwan_hub_and_spoke_topology_policy_definition.hub_and_spoke_topology_policy_definition resource
sdwan_ipv4_acl_policy_definition.ipv4_acl_policy_definition resource
sdwan_ipv4_device_acl_policy_definition.ipv4_device_acl_policy_definition resource
sdwan_ipv4_prefix_list_policy_object.ipv4_prefix_list_policy_object resource
sdwan_ipv6_acl_policy_definition.ipv6_acl_policy_definition resource
sdwan_ipv6_device_acl_policy_definition.ipv6_device_acl_policy_definition resource
sdwan_ipv6_prefix_list_policy_object.ipv6_prefix_list_policy_object resource
sdwan_localized_policy.localized_policy resource
sdwan_mesh_topology_policy_definition.mesh_topology_policy_definition resource
sdwan_mirror_policy_object.mirror_policy_object resource
sdwan_policer_policy_object.policer_policy_object resource
sdwan_preferred_color_group_policy_object.preferred_color_group_policy_object resource
sdwan_qos_map_policy_definition.qos_map_policy_definition resource
sdwan_region_list_policy_object.region_list_policy_object resource
sdwan_rewrite_rule_policy_definition.rewrite_rule_policy_definition resource
sdwan_route_policy_definition.route_policy_definition resource
sdwan_site_list_policy_object.site_list_policy_object resource
sdwan_sla_class_policy_object.sla_class_policy_object resource
sdwan_standard_community_list_policy_object.standard_community_list_policy_object resource
sdwan_switchport_feature_template.switchport_feature_template resource
sdwan_tloc_list_policy_object.tloc_list_policy_object resource
sdwan_traffic_data_policy_definition.traffic_data_policy_definition resource
sdwan_vpn_interface_svi_feature_template.vpn_interface_svi_feature_template resource
sdwan_vpn_list_policy_object.vpn_list_policy_object resource
sdwan_vpn_membership_policy_definition.vpn_membership_policy_definition resource
utils_yaml_merge.defaults data source
utils_yaml_merge.model data source

Modules

No modules.