Skip to content

rrahimm/terraform-sdwan-nac-sdwan-dev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.4.1
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.4.1
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_feature.cli_config_feature 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_fqdn_prefix_list_policy_object.fqdn_prefix_list_policy_object 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_intrusion_prevention_policy_definition.intrusion_prevention_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_local_application_list_policy_object.local_application_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_other_feature_profile.other_feature_profile resource
sdwan_other_thousandeyes_feature.other_thousandeyes_feature 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_security_app_hosting_feature_template.security_app_hosting_feature_template resource
sdwan_security_policy.security_policy resource
sdwan_service_feature_profile.service_feature_profile resource
sdwan_service_object_tracker_feature.service_object_tracker_feature resource
sdwan_service_object_tracker_group_feature.service_object_tracker_group_feature resource
sdwan_service_tracker_feature.service_tracker_feature resource
sdwan_service_tracker_group_feature.service_tracker_group_feature 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_system_aaa_feature.system_aaa_feature resource
sdwan_system_banner_feature.system_banner_feature resource
sdwan_system_basic_feature.system_basic_feature resource
sdwan_system_bfd_feature.system_bfd_feature resource
sdwan_system_feature_profile.system_feature_profile resource
sdwan_system_flexible_port_speed_feature.system_flexible_port_speed_feature resource
sdwan_system_global_feature.system_global_feature resource
sdwan_system_logging_feature.system_logging_feature resource
sdwan_system_mrf_feature.system_mrf_feature resource
sdwan_system_ntp_feature.system_ntp_feature resource
sdwan_system_omp_feature.system_omp_feature resource
sdwan_system_performance_monitoring_feature.system_performance_monitoring_feature resource
sdwan_system_security_feature.system_security_feature resource
sdwan_system_snmp_feature.system_snmp_feature resource
sdwan_tloc_list_policy_object.tloc_list_policy_object resource
sdwan_traffic_data_policy_definition.traffic_data_policy_definition resource
sdwan_transport_feature_profile.transport_feature_profile resource
sdwan_transport_ipv6_tracker_feature.transport_ipv6_tracker_feature resource
sdwan_transport_ipv6_tracker_group_feature.transport_ipv6_tracker_group_feature resource
sdwan_transport_tracker_feature.transport_tracker_feature resource
sdwan_transport_tracker_group_feature.transport_tracker_group_feature resource
sdwan_transport_wan_vpn_feature.transport_wan_vpn_feature 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
sdwan_zone_based_firewall_policy_definition.zone_based_firewall_policy_definition resource
sdwan_zone_list_policy_object.zone_list_policy_object resource
utils_yaml_merge.defaults data source
utils_yaml_merge.model data source

Modules

No modules.

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%