Skip to content

Commit 8636629

Browse files
authored
Merge pull request #335 from cisco-en-programmability/main
Changes in workflow manager modules
2 parents 1f8d2fd + bc9cedf commit 8636629

51 files changed

Lines changed: 5501 additions & 8223 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

changelogs/changelog.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2045,3 +2045,32 @@ releases:
20452045
- Changes in wireless_design_playbook_config_generator module
20462046
- Changes in wireless_design_workflow_manager module
20472047
- Added 'member_template_deployment_info' attribute in template_workflow_manager module
2048+
2049+
6.51.0:
2050+
release_date: "2026-04-23"
2051+
changes:
2052+
release_summary: Minor changes in workflow manager modules
2053+
minor_changes:
2054+
- Changes in application_policy_workflow_manager module
2055+
- Changes in assurance_icap_settings_workflow_manager module
2056+
- Changes in assurance_issue_playbook_config_generator module
2057+
- Changes in device_credential_playbook_config_generator module
2058+
- Changes in events_and_notifications_playbook_config_generator module
2059+
- Changes in events_and_notifications_workflow_manager module
2060+
- Changes in inventory_playbook_config_generator module
2061+
- Changes in lan_automation_workflow_manager module
2062+
- Changes in network_profile_switching_playbook_config_generator module
2063+
- Changes in network_profile_wireless_playbook_config_generator module
2064+
- Changes in pnp_playbook_config_generator module
2065+
- Changes in sda_fabric_devices_playbook_config_generator module
2066+
- Changes in sda_fabric_devices_workflow_manager module
2067+
- Changes in sda_fabric_sites_zones_playbook_config_generator module
2068+
- Changes in sda_fabric_virtual_networks_workflow_manager module
2069+
- Changes in tags_playbook_config_generator module
2070+
- Changes in tags_workflow_manager module
2071+
- Changes in template_workflow_manager module
2072+
- Changes in user_role_playbook_config_generator module
2073+
- Changes in user_role_workflow_manager module
2074+
- Changes in wired_campus_automation_playbook_config_generator module
2075+
- Changes in wired_campus_automation_workflow_manager module
2076+
- Changes in wireless_design_playbook_config_generator module

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
namespace: cisco
33
name: dnac
4-
version: 6.50.0
4+
version: 6.51.0
55
readme: README.md
66
authors:
77
- Rafael Campos <rcampos@cloverhound.com>

playbooks/inventory_playbook_config_generator.yml

Lines changed: 40 additions & 1108 deletions
Large diffs are not rendered by default.

playbooks/tags_playbook_config_generator.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
file_mode: "overwrite"
7676
config:
7777
component_specific_filters:
78-
components_list: ["tag"]
78+
components_list: ["tags"]
7979

8080
# Example 4: Generate only tag membership configurations
8181
- name: Generate tag memberships only
@@ -131,7 +131,7 @@
131131
file_mode: "overwrite"
132132
config:
133133
component_specific_filters:
134-
components_list: ["tag", "tag_memberships"]
134+
components_list: ["tags", "tag_memberships"]
135135

136136
# Example 6: Auto-populate components_list from component filters
137137
- name: Generate configuration with auto-populated components_list
@@ -159,12 +159,12 @@
159159
file_mode: "overwrite"
160160
config:
161161
component_specific_filters:
162-
# No components_list specified, but tag filters are provided
163-
# The 'tag' component will be automatically added to components_list
164-
tag:
162+
# No components_list specified, but tags filters are provided
163+
# The 'tags' component will be automatically added to components_list
164+
tags:
165165
- tag_name: Production
166166
- tag_name: Data-Center
167-
# This will automatically include 'tag' in components_list and retrieve only those tags
167+
# This will automatically include 'tags' in components_list and retrieve only those tags
168168

169169
# Example 7: Filter specific tags by name
170170
- name: Generate configuration for specific tags by name
@@ -192,8 +192,8 @@
192192
file_mode: "overwrite"
193193
config:
194194
component_specific_filters:
195-
components_list: ["tag", "tag_memberships"]
196-
tag:
195+
components_list: ["tags", "tag_memberships"]
196+
tags:
197197
- tag_name: Production
198198
- tag_name: Data-Center
199199

@@ -223,7 +223,7 @@
223223
file_mode: "overwrite"
224224
config:
225225
component_specific_filters:
226-
components_list: ["tag", "tag_memberships"]
226+
components_list: ["tags", "tag_memberships"]
227227
tag_memberships:
228228
- tag_name: Campus-Switches
229229
- tag_name: Core-Routers
@@ -254,8 +254,8 @@
254254
file_mode: "append"
255255
config:
256256
component_specific_filters:
257-
components_list: ["tag", "tag_memberships"]
258-
tag:
257+
components_list: ["tags", "tag_memberships"]
258+
tags:
259259
- tag_name: Branch-Office
260260
- tag_name: Access-Points
261261

playbooks/tags_workflow_manager.yml

Lines changed: 83 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -22,89 +22,88 @@
2222
state: merged
2323
config_verify: true
2424
config:
25-
- tag:
26-
name: Servers_Connected_Devices_and_Interfaces
27-
description: Tag for devices and interfaces connected to servers
28-
device_rules:
29-
rule_descriptions:
30-
- rule_name: device_name
31-
search_pattern: equals
32-
value: Border
33-
operation: ILIKE
34-
- rule_name: device_family
35-
search_pattern: contains
36-
value: "9300"
37-
operation: ILIKE
38-
- rule_name: device_series
39-
search_pattern: equals
40-
value: "9X"
41-
operation: ILIKE
42-
- rule_name: ip_address
43-
search_pattern: starts_with
44-
value: "10.197"
45-
operation: ILIKE
46-
- rule_name: location
47-
search_pattern: contains
48-
value: "Global/India"
49-
operation: ILIKE
50-
- rule_name: version
51-
search_pattern: ends_with
52-
value: "3.8.0"
53-
operation: ILIKE
54-
55-
port_rules:
56-
scope_description:
57-
scope_category: SITE
58-
scope_members:
59-
- GLOBAL
60-
rule_descriptions:
61-
- rule_name: speed
62-
search_pattern: contains
63-
value: "100000"
64-
operation: ILIKE
65-
- rule_name: admin_status
66-
search_pattern: Equals
67-
value: Active
68-
operation: ILIKE
69-
- rule_name: port_name
70-
search_pattern: equals
71-
value: TenGigaBitEthernet1/0/1
72-
operation: ILIKE
73-
- rule_name: operational_status
74-
search_pattern: contains
75-
value: Active
76-
operation: ILIKE
77-
- rule_name: description
78-
search_pattern: contains
79-
value: Border To Fusion Link
80-
operation: ILIKE
25+
- tags:
26+
- name: Servers_Connected_Devices_and_Interfaces
27+
description: Tag for devices and interfaces connected to servers
28+
device_rules:
29+
rule_descriptions:
30+
- rule_name: device_name
31+
search_pattern: equals
32+
value: Border
33+
operation: ILIKE
34+
- rule_name: device_family
35+
search_pattern: contains
36+
value: "9300"
37+
operation: ILIKE
38+
- rule_name: device_series
39+
search_pattern: equals
40+
value: "9X"
41+
operation: ILIKE
42+
- rule_name: ip_address
43+
search_pattern: starts_with
44+
value: "10.197"
45+
operation: ILIKE
46+
- rule_name: location
47+
search_pattern: contains
48+
value: "Global/India"
49+
operation: ILIKE
50+
- rule_name: version
51+
search_pattern: ends_with
52+
value: "3.8.0"
53+
operation: ILIKE
8154

55+
port_rules:
56+
scope_description:
57+
scope_category: SITE
58+
scope_members:
59+
- GLOBAL
60+
rule_descriptions:
61+
- rule_name: speed
62+
search_pattern: contains
63+
value: "100000"
64+
operation: ILIKE
65+
- rule_name: admin_status
66+
search_pattern: Equals
67+
value: Active
68+
operation: ILIKE
69+
- rule_name: port_name
70+
search_pattern: equals
71+
value: TenGigaBitEthernet1/0/1
72+
operation: ILIKE
73+
- rule_name: operational_status
74+
search_pattern: contains
75+
value: Active
76+
operation: ILIKE
77+
- rule_name: description
78+
search_pattern: contains
79+
value: Border To Fusion Link
80+
operation: ILIKE
8281
- tag_memberships:
83-
tags:
84-
- Servers_Connected_Devices_and_Interfaces
85-
device_details:
86-
- ip_addresses:
87-
- 10.197.156.97
88-
- 10.197.156.98
89-
- 10.197.156.99
90-
hostnames:
91-
- SJC_Border1
92-
- SJC_Border2
93-
- NY_Border1
94-
mac_addresses:
95-
- e4:38:7e:42:bc:00
96-
- 6c:d6:e3:75:5a:e0
97-
- 34:5d:a8:3b:d8:e0
98-
serial_numbers:
99-
- SAD055006NE
100-
- SAD04350EEU
101-
- SAD055108C2
102-
port_names:
103-
- FortyGigabitEthernet1/1/1
104-
- FortyGigabitEthernet1/1/2
105-
site_details:
106-
- site_names:
107-
- Global/prime_site_global/prime_site/Bengaluru
108-
port_names:
109-
- FortyGigabitEthernet1/1/1
110-
- FortyGigabitEthernet1/1/2
82+
- tags:
83+
- Servers_Connected_Devices_and_Interfaces
84+
device_details:
85+
- ip_addresses:
86+
- 10.197.156.97
87+
- 10.197.156.98
88+
- 10.197.156.99
89+
hostnames:
90+
- SJC_Border1
91+
- SJC_Border2
92+
- NY_Border1
93+
mac_addresses:
94+
- e4:38:7e:42:bc:00
95+
- 6c:d6:e3:75:5a:e0
96+
- 34:5d:a8:3b:d8:e0
97+
serial_numbers:
98+
- SAD055006NE
99+
- SAD04350EEU
100+
- SAD055108C2
101+
port_names:
102+
- FortyGigabitEthernet1/1/1
103+
- FortyGigabitEthernet1/1/2
104+
site_details:
105+
- site_names:
106+
- Global/prime_site_global/prime_site/Bengaluru
107+
port_names:
108+
- FortyGigabitEthernet1/1/1
109+
- FortyGigabitEthernet1/1/2

0 commit comments

Comments
 (0)