Skip to content

Commit

Permalink
Merge pull request #197 from cisco-en-programmability/develop
Browse files Browse the repository at this point in the history
Develop v6.22.0
  • Loading branch information
fmunozmiranda authored Oct 25, 2024
2 parents 169bf7c + 0e98d87 commit 456572a
Show file tree
Hide file tree
Showing 24 changed files with 3,965 additions and 1,895 deletions.
26 changes: 26 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1038,3 +1038,29 @@ releases:
- device_credential_workflow_manager.py - added attribute 'apply_credentials_to_site'.
- accesspoint_workflow_manager.py - added attribute 'factory_reset_aps'.
- Ansible utils requirement updated.
6.22.0:
release_date: "2024-10-25"
changes:
release_summary: Code changes in workflow manager modules.
minor_changes:
- Added 'lan_automation_workflow_manager' to automate network discovery, deployment, and device configuration with LAN Automation.
- Added 'sda_fabric_devices_workflow_manager' to manage SDA fabric devices.
- Bug fixes in accesspoint_workflow_manager module
- Changes in device_configs_backup_workflow_manager module
- Code enhancements in device_credential_workflow_manager module
- Enhancements in ise_radius_integration_workflow_manager module
- Code changes in network_compliance_workflow_manager module
- Bug fixes in network_settings_workflow_manager module
- Bug fixes in pnp_workflow_manager module
- Code changes in rma_workflow_manager module
- Code changes in sda_fabric_devices_workflow_manager module
- Code changes in sda_fabric_sites_zones_workflow_manager module
- Code changes in sda_fabric_virtual_networks_workflow_manager module
- Code changes in sda_host_port_onboarding_workflow_manager module
- Code changes in site_workflow_manager module
- Code changes in swim_workflow_manager module
- Code change in template_workflow_manager module
- Code change in user_role_manager module
- Changes in dnac.py
- inventory_workflow_manager.py - added attribute hostnames, serial_numbers and mac_addresses
- inventory_workflow_manager.py - Removed attribute hostname_list, serial_number_list and mac_address_list
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: cisco
name: dnac
version: 6.21.0
version: 6.22.0
readme: README.md
authors:
- Rafael Campos <[email protected]>
Expand Down
33 changes: 29 additions & 4 deletions playbooks/template_workflow_manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
dnac_username: "{{ dnac_username }}"
dnac_password: "{{ dnac_password }}"
dnac_verify: "{{ dnac_verify }}"
dnac_version: "{{dnac_version}}"
dnac_debug: "{{ dnac_debug }}"
dnac_log: True
dnac_log: true
dnac_log_level: DEBUG
dnac_log_append: True
dnac_log_file_path: "{{ dnac_log_file_path }}"
validate_response_schema: False
dnac_log_append: true
# dnac_log_file_path: "{{ dnac_log_file_path }}"
validate_response_schema: false
state: "merged"
config_verify: true
#ignore_errors: true #Enable this to continue execution even the task fails
Expand All @@ -41,6 +42,30 @@
import:
project: "{{ item.import_project }}"
template: "{{ item.import_template }}"

deploy_template:
project_name: "{{ item.proj_name }}"
template_name: "{{ item.temp_name }}"
force_push: "{{ item.force_push }}"
template_parameters:
- param_name: "{{ item.template_parameters.param_name }}"
param_value: "{{ item.template_parameters.param_value }}"
- param_name: "{{ item.template_parameters.param_name }}"
param_value: "{{ item.template_parameters.param_value }}"
device_details:
# Provide any of the one device_specific details either device_ips, device_hostnames
# serial_numbers, mac_addresses to deploy template to the devices
# device_ips: "{{ item.device_details.device_ips }}"
device_hostnames: "{{ item.device_details.device_hostnames }}"
# serial_numbers: "{{ item.device_details.serial_numbers }}"
# mac_addresses: "{{ item.device_details.mac_addresses }}"
site_provisioning_details:
# Provide the site name and other parameters are optional to narrow down the results
- site_name: "{{ item.site_provisioning_details.site_name }}"
device_family: "{{ item.site_provisioning_details.device_family }}"
device_role: "{{ item.site_provisioning_details.device_role }}"
device_tag: "{{ item.site_provisioning_details.device_tag }}"

register: template_result
with_items: '{{ template_details }}'
tags:
Expand Down
Loading

0 comments on commit 456572a

Please sign in to comment.