Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1032 commits
Select commit Hold shift + click to select a range
a02ea57
Common changes done - User Role Playbook config generator (#303)
madhansansel Mar 5, 2026
c731177
Fix config entry from list to dict
shatagopasunil Mar 5, 2026
0ef5eee
sanity fixed
syed-khadeerahmed Mar 5, 2026
1d5b0fe
Brownfield application policy playbook generator - common changes (#301)
madhansansel Mar 5, 2026
cb6974c
Merge branch 'main' of https://github.com/cisco-en-programmability/ca…
Kandarimegha Mar 5, 2026
2296e67
Fix config entry from list to dict (#304)
madhansansel Mar 6, 2026
20506b2
update
Kandarimegha Mar 6, 2026
ade459f
Merge branch 'main' into cg_discovery
Kandarimegha Mar 6, 2026
d0c8230
sanity fix
Kandarimegha Mar 6, 2026
73d7230
Merge branch 'main' into config_generator
Kandarimegha Mar 6, 2026
037bb7d
Convert config from list to dict and add file_mode support for networ…
madhansansel Mar 6, 2026
d16f311
Convert config from list to dict and add file_mode support for discov…
madhansansel Mar 6, 2026
058ad92
Add YAML document start marker for append output
Kandarimegha Mar 6, 2026
d4db931
Merge branch 'main' into cg_device_healthscore
Kandarimegha Mar 6, 2026
7e1c9b0
Common changes done
Priyadharshini16092002 Mar 6, 2026
670912e
lint fixed
syed-khadeerahmed Mar 6, 2026
1946bf0
Common changes done
Priyadharshini16092002 Mar 6, 2026
cca1fb9
Switch profile config generator - Common code changes file mode and c…
md-rafeek Mar 7, 2026
1df0110
Switch profile config generator - Common code changes file mode and c…
md-rafeek Mar 7, 2026
2264253
Switch profile CG - Common code changes file mode and config dict upd…
madhansansel Mar 7, 2026
93925a6
BugFix & Common changes done - Events and Notifications Playbook Conf…
madhansansel Mar 7, 2026
517db2f
Add YAML document separator for appended playbook output (#307)
madhansansel Mar 7, 2026
5159c4b
4 bugs completed and common changes done (#308)
madhansansel Mar 7, 2026
b1ae007
Wireless Profile CG - Common Changes of file mode and config dict fixed
md-rafeek Mar 7, 2026
f20d90c
Wireless Profile CG - Common Changes of file mode and config dict fix…
madhansansel Mar 7, 2026
165ec6d
Accesspoint location CG - Common changes file mode and config dict fixed
md-rafeek Mar 7, 2026
6e9173a
Merge branch 'main' of https://github.com/cisco-en-programmability/ca…
md-rafeek Mar 7, 2026
dc3438d
Accesspoint config generator - Common changes of file mode and config…
md-rafeek Mar 7, 2026
9e590ed
Accesspoint location CG - Common change file mode and config dict (#312)
madhansansel Mar 8, 2026
79485b1
Accesspoint config generator - Common changes of file mode and config…
madhansansel Mar 8, 2026
698c5e0
Implemented Fallback logic when the requested device identifier is no…
koderchit Mar 8, 2026
a1ff22c
Add examples for generating tag memberships using various device iden…
koderchit Mar 8, 2026
61f2fc1
Accesspoint config generator - Common changes of file mode yaml docs …
md-rafeek Mar 8, 2026
87e6ba0
Merge branch 'main' of https://github.com/cisco-en-programmability/ca…
md-rafeek Mar 8, 2026
1242797
Accesspoint location CG - Common changes of file mode yaml docs stirn…
md-rafeek Mar 8, 2026
9b76681
Switch and wireless profile CG - File name added in the yaml docs string
md-rafeek Mar 8, 2026
b75c1e4
Wireless design config generator
shatagopasunil Mar 2, 2026
3aa9e4f
Brownfield accesspoint config generator - File name added on the yaml…
madhansansel Mar 8, 2026
a45c779
Bug Fix: Tags Playbook Config Generator: Device Identifier Fallback F…
madhansansel Mar 8, 2026
6c14d21
Enhanced _get_file_path logic
Mar 9, 2026
350e922
Lint fix
Mar 9, 2026
1515b35
Added logs
Mar 9, 2026
ebab9ba
Accesspoint Location CG - Global filter duplicate value remove code a…
md-rafeek Mar 9, 2026
a2fb11f
Template CG filters Bug Fix
shatagopasunil Mar 10, 2026
bcf7073
sanity fix
shatagopasunil Mar 10, 2026
0948803
Refactor YAML configuration structure and update validation messages …
koderchit Mar 10, 2026
5d275b4
fixed 2 bugs
syed-khadeerahmed Mar 10, 2026
34a6da6
Sanity Fix
koderchit Mar 10, 2026
4eaf291
fixed 2 bugs
syed-khadeerahmed Mar 10, 2026
45dd1bf
fixed 2 bugs
syed-khadeerahmed Mar 10, 2026
9ac9e44
Config from list to dict
shatagopasunil Mar 10, 2026
fb99c0c
fixing lint issues
shatagopasunil Mar 10, 2026
cdac3ca
lint issue fix
shatagopasunil Mar 10, 2026
7126a0c
Bug fixes:Site Config Generator
Mar 10, 2026
e0ea93e
Config from list to dict (#322)
madhansansel Mar 10, 2026
000a847
Example update
Mar 10, 2026
4842f66
Error fix
Mar 11, 2026
448edae
[Jeet] Added changes for file mode and config from list to dict
jeetugangwar11 Mar 11, 2026
be90866
[Jeet] Sanity fix
jeetugangwar11 Mar 11, 2026
0dcbb0d
Update ise_radius_integration_playbook_config_generator.py
jeetugangwar11 Mar 11, 2026
2ba320c
changed config to dict in inventory playbook generator
Mar 11, 2026
73da421
Enhanced _get_playbook_path logic (#317)
madhansansel Mar 11, 2026
3fb6152
Adding Coding guidelines
madhansansel Mar 11, 2026
24b9b64
[Jeet] Added changes for file mode and config from list to dict (#324)
madhansansel Mar 11, 2026
ff03089
Tags Playbook Config Generator: Config Structure Change From List of …
madhansansel Mar 11, 2026
8b59045
Template CG filters Bug Fix (#319)
madhansansel Mar 11, 2026
caf47ac
Accesspoint Location CG - Global filter duplicate value remove code a…
madhansansel Mar 11, 2026
f48ebef
Bug fix
Priyadharshini16092002 Mar 12, 2026
a00b7a7
fixed review comments
syed-khadeerahmed Mar 12, 2026
420cce2
Merge from Mainline (#326)
madhansansel Mar 12, 2026
bb0b27f
Inventory workflow manager bugs (#321)
madhansansel Mar 12, 2026
a9e39e2
Review comments addressing
Mar 12, 2026
258a2c9
Site Brown field
Jan 19, 2026
33441b9
Remove brownfield site playbook generator artifacts
Mar 12, 2026
0bcdd31
Bug fixes:Site Config Generator: Config Dict, File Overwrite, List su…
VidhyaGit Mar 12, 2026
53050cd
Modified key name from temp_spec_function to reverse_mapping_function
shatagopasunil Mar 12, 2026
98bf2d3
Addressed Review Comments
shatagopasunil Mar 12, 2026
26791a8
common changes
Kandarimegha Mar 12, 2026
c1fa4b1
phase 2 common changes in progress
syed-khadeerahmed Mar 12, 2026
ae326fd
Phase2 common changes in progress
Priyadharshini16092002 Mar 13, 2026
671bb58
Changes in Pull request format
madhansansel Mar 13, 2026
4e61534
Merge branch 'main' of github.com:cisco-en-programmability/catalyst-c…
madhansansel Mar 13, 2026
5142bfd
Bug fix in progress
Priyadharshini16092002 Mar 13, 2026
131c005
Phase2 common changes done
Priyadharshini16092002 Mar 13, 2026
0cdcc4a
phase 2 code done
syed-khadeerahmed Mar 13, 2026
fd1889a
common changes for discovery playbook config
Kandarimegha Mar 13, 2026
bb18366
bug fix: Incorrect IP Address Range Format Generated for discoveryTyp…
Kandarimegha Mar 13, 2026
849c7fa
phase2 common changes in progress
Priyadharshini16092002 Mar 13, 2026
0ce2046
code in progress
syed-khadeerahmed Mar 13, 2026
3124167
common changesb updated
Kandarimegha Mar 13, 2026
9cbbb4b
Phase2 common changes in progress
Priyadharshini16092002 Mar 13, 2026
0afe7de
phase 2 code changes done
syed-khadeerahmed Mar 13, 2026
6c849f5
Phase2 common changes done
Priyadharshini16092002 Mar 13, 2026
938c2c4
Phase2 common changes done
Priyadharshini16092002 Mar 13, 2026
5141fa8
lint issue fixed
Priyadharshini16092002 Mar 13, 2026
00b3f40
Enhance tags playbook configuration generator with file path and mode…
koderchit Mar 13, 2026
6702cc1
Ansible lint failure fix
koderchit Mar 13, 2026
e2552d0
Fixed ansible lint
koderchit Mar 13, 2026
dbcc240
Phase2 common changes - Brownfield backup and restore playbook config…
madhansansel Mar 14, 2026
bad7921
phase 2 code changes done - PNP playbook (#329)
madhansansel Mar 14, 2026
9fabbd5
Assurance Issue Playbook Config Generator: make config optional, move…
madhansansel Mar 14, 2026
aaebce0
Modified key name from temp_spec_function to reverse_mapping_function…
madhansansel Mar 14, 2026
35dd0e1
Tags Playbook Config Generator - Aligning the module with the new des…
madhansansel Mar 14, 2026
450bea0
Wireless design config generator (#316)
madhansansel Mar 15, 2026
76f2eb3
Switch Profile CG - Phase 2 common Changes implemented
md-rafeek Mar 15, 2026
cfbb4a4
Merge branch 'main' of https://github.com/cisco-en-programmability/ca…
md-rafeek Mar 15, 2026
62a1093
Wireless Profile CG - Common Changes Phase 2 implemented
md-rafeek Mar 15, 2026
fa004f1
Accesspoint location CG - Common Phase 2 changes implemented
md-rafeek Mar 15, 2026
e9ad5cb
Accesspoint location CG - Common Phase 2 changes implemented (#334)
madhansansel Mar 15, 2026
d41c93f
Switch Profile CG - Phase 2 common Changes implemented (#332)
madhansansel Mar 15, 2026
74dcd82
Wireless Profile CG - Common Changes Phase 2 implemented (#333)
madhansansel Mar 15, 2026
143c09b
Accesspoint Configuration CG - Common changes Phase 2 implemented
md-rafeek Mar 16, 2026
d46b042
Merge branch 'main' of https://github.com/cisco-en-programmability/ca…
md-rafeek Mar 16, 2026
29aa796
Phase2 common changes in progress
Priyadharshini16092002 Mar 16, 2026
9b7096d
Implement auto-populate and validation for components_list in BrownFi…
koderchit Mar 16, 2026
b8a8604
Formatting changes
koderchit Mar 16, 2026
087a2fd
Addressed review comment & common changes done
Priyadharshini16092002 Mar 16, 2026
9b2d7b2
code completed
syed-khadeerahmed Mar 16, 2026
597f94b
Merge branch 'main' into brownfield_provision_playbook_generator
syed-khadeerahmed Mar 16, 2026
9534182
code completed
syed-khadeerahmed Mar 16, 2026
644e1b7
Merge branch 'brownfield_provision_playbook_generator' of https://git…
syed-khadeerahmed Mar 16, 2026
693628d
Bug fix & Common changes - Events and Notifications Playbook Config G…
madhansansel Mar 16, 2026
c2d0740
Implement auto-populate and validation for components_list in BrownFi…
madhansansel Mar 16, 2026
249406a
Merge branch 'main' of https://github.com/cisco-en-programmability/ca…
md-rafeek Mar 16, 2026
0a4d9af
phaseII common changes
Kandarimegha Mar 16, 2026
0c9b37d
sanity fix
Kandarimegha Mar 16, 2026
5c782bf
Accesspoint Configuration CG - Common changes Phase 2 implemented
md-rafeek Mar 16, 2026
2792879
Merge branch 'main' of https://github.com/cisco-en-programmability/ca…
Kandarimegha Mar 16, 2026
1cc0674
Implement filtering for system tags in TagsPlaybookGenerator to exclu…
koderchit Mar 16, 2026
29f9424
Merge remote-tracking branch 'development/main' into bug-fix/brownfie…
koderchit Mar 16, 2026
6351d59
phaseII changes
Kandarimegha Mar 16, 2026
170d79c
addressed review comments
syed-khadeerahmed Mar 16, 2026
c10555b
Brownfield provision playbook generator - Phase 2 changes (#337)
madhansansel Mar 16, 2026
1bf2305
Accesspoint Configuration CG - Common changes Phase 2 implemented (#335)
madhansansel Mar 16, 2026
79e5d85
Network_settings_playbook_config_generator: phase II common changes (…
madhansansel Mar 16, 2026
bbf5e01
sanity fix
Kandarimegha Mar 16, 2026
b120ac7
Merge branch 'main' into bug-fix/brownfield-tags-cg
koderchit Mar 16, 2026
f5ba005
Merge branch 'main' into cg_discovery
Kandarimegha Mar 16, 2026
7a7beb6
Align Template CG module with new design
shatagopasunil Mar 16, 2026
c678fac
code completed
syed-khadeerahmed Mar 16, 2026
ec8c34f
Phase2 common changes done
Priyadharshini16092002 Mar 16, 2026
ee906d3
Merge branch 'main' into brownfield_application_policy_playbook_gener…
syed-khadeerahmed Mar 16, 2026
2315228
sanity fix
Kandarimegha Mar 16, 2026
c0b9004
Merge branch 'cg_discovery' of https://github.com/Kandarimegha/madhan…
Kandarimegha Mar 16, 2026
1f9042a
code completed
syed-khadeerahmed Mar 16, 2026
ccad020
Merge branch 'main' into cg_device_healthscore
Kandarimegha Mar 16, 2026
d58917e
Align Template CG module with new design (#341)
madhansansel Mar 16, 2026
6a082f9
discovery_playbook_config_generator: phase II common changes (#340)
madhansansel Mar 16, 2026
c1e1c6f
Aligning SDA CG Module with new design
shatagopasunil Mar 16, 2026
f280255
assurance_device_health_score_settings_playbook_config_generator: pha…
madhansansel Mar 16, 2026
5354196
Wireless Design New Design Changes
shatagopasunil Mar 16, 2026
e50927b
Aligning SDA CG Module with new design (#345)
madhansansel Mar 16, 2026
062a69b
Wireless Design New Design Changes (#346)
madhansansel Mar 16, 2026
87890f6
Addressed review comments
Priyadharshini16092002 Mar 17, 2026
7178a0b
Addressed review comments
koderchit Mar 17, 2026
2973704
Merge branch 'bug-fix/brownfield-tags-cg' of https://github.com/koder…
koderchit Mar 17, 2026
bc2467f
Merge branch 'main' into bug-fix/brownfield-tags-cg
koderchit Mar 17, 2026
0810f30
Bug fix
Priyadharshini16092002 Mar 17, 2026
67adc11
Implement filtering for system tags in TagsPlaybookGenerator to exclu…
madhansansel Mar 17, 2026
c266039
Phase2 common changes - user role playbook config generator (#343)
madhansansel Mar 17, 2026
1118b96
Bug fix - Backup and Restore Playbook Config Generator (#347)
madhansansel Mar 17, 2026
5a044bc
addressed review comments
syed-khadeerahmed Mar 17, 2026
dedc426
Aligning SDA Fabric devices with the new design
koderchit Mar 17, 2026
b88f53c
Merge remote-tracking branch 'development/main' into bug-fix/sda-fabr…
koderchit Mar 17, 2026
2260d6d
Brownfield application policy playbook generator - Phase 2 changes d…
madhansansel Mar 17, 2026
0330d2c
Aligning the sda multicast module with the new design.
koderchit Mar 17, 2026
768fd75
Resolved lint issues
koderchit Mar 17, 2026
be6f9f5
bug fixed
syed-khadeerahmed Mar 17, 2026
349a61a
New brownfield design changes for device credentials, sda host port o…
Mar 17, 2026
5217159
Lint fix
Mar 17, 2026
c33d393
New brownfield design changes for device credentials, sda host port o…
madhansansel Mar 17, 2026
24573d8
bug fixed - provision playbook generator (#349)
madhansansel Mar 17, 2026
7380d2a
SDA Fabric Devices Playbook Config Generator - Aligning the module wi…
madhansansel Mar 17, 2026
e435d78
provision bug fixed
syed-khadeerahmed Mar 17, 2026
37f5674
SDA Fabric Multicast: Aligning the module with the new design (#352)
madhansansel Mar 17, 2026
53214f0
provision playbook generator bug fixed (#351)
madhansansel Mar 17, 2026
893aeed
Aligning SDA Extranet Policies module with the recent design changes.
koderchit Mar 18, 2026
61a99e1
Sanity Fix
koderchit Mar 18, 2026
6bdb1eb
bug fix
Kandarimegha Mar 18, 2026
d7a484f
Aligning SDA Extranet Policies module with the recent design changes …
madhansansel Mar 18, 2026
461ea22
Bug Fix
Priyadharshini16092002 Mar 19, 2026
de836c6
Merge from mainline (#354)
madhansansel Mar 19, 2026
408851f
Addressed review comments
Priyadharshini16092002 Mar 19, 2026
55ae5b7
Bug Fix - network_devices_info_workflow_manager (#355)
madhansansel Mar 19, 2026
a2dbbcd
bug fix
Kandarimegha Mar 20, 2026
dd0b23b
Merge branch 'main' into config_generator
Kandarimegha Mar 20, 2026
e5c7bbd
[Brownfield Network Settings] Fix API-path documentation mismatch and…
madhansansel Mar 20, 2026
072783a
Aligning the site module with the new design
koderchit Mar 20, 2026
1cb7448
Sanity Fix
koderchit Mar 20, 2026
eb3bc88
Aligning the site module with the new design (#359)
madhansansel Mar 21, 2026
21352ee
Merge branch 'main' into manual_testing
Kandarimegha Mar 23, 2026
0f670a9
Enhance validation logging and regex for serial numbers in Tags workf…
koderchit Mar 23, 2026
6b85911
Updated Unit tests for the multiple serial number case
koderchit Mar 23, 2026
6bfca44
Sanity fix
koderchit Mar 23, 2026
e81ea8e
Tags Workflow Manager: Updating the serial number validations (#362)
madhansansel Mar 24, 2026
3dbf130
Improved Flag Behavior for CG Modules
shatagopasunil Mar 20, 2026
a8eec3b
Sanity fix
shatagopasunil Mar 20, 2026
315ad32
Improved Logging
shatagopasunil Mar 24, 2026
93cd41e
Improved logging
shatagopasunil Mar 24, 2026
5b4e624
Improved logging
shatagopasunil Mar 24, 2026
890759f
bug fixed
syed-khadeerahmed Mar 24, 2026
c5e4442
Merge branch 'main' into brownfield_pnp_playbook_generator_module
syed-khadeerahmed Mar 24, 2026
2f5d6ce
added UT testcase
syed-khadeerahmed Mar 24, 2026
721bdcd
added UT testcase
syed-khadeerahmed Mar 24, 2026
b582412
added UT testcase
syed-khadeerahmed Mar 24, 2026
26bc49a
Remove Duplicate components from components_list
shatagopasunil Mar 24, 2026
50143d8
bug fix
syed-khadeerahmed Mar 24, 2026
f82fb20
Renamed variable from file_changed to file_written
shatagopasunil Mar 24, 2026
0f1f98a
Remove Duplicate components from components_list (#364)
madhansansel Mar 24, 2026
7001ab7
bug fixed - PNP playbook generator (#363)
madhansansel Mar 24, 2026
5d9d05f
bug fix
syed-khadeerahmed Mar 24, 2026
d6e8f49
Enhance validation for 'config' parameter in TagsPlaybookGenerator mo…
koderchit Mar 24, 2026
f4b9c89
addressed review comment
Kandarimegha Mar 24, 2026
fef1f83
Merge branch 'main' into manual_testing
Kandarimegha Mar 24, 2026
e0950dc
added doc string
Kandarimegha Mar 24, 2026
a47b82b
Fix discovery_type normalization for range replay and process all con…
madhansansel Mar 24, 2026
f35c2d9
Improved Flag Behavior for CG Modules (#358)
madhansansel Mar 24, 2026
e86ace4
bug fix - Provision playbook generator (#365)
madhansansel Mar 24, 2026
38e8284
Enhance validation for 'config' parameter in TagsPlaybookGenerator Mo…
madhansansel Mar 24, 2026
0f9040a
New brownfield design chnages for ise radius module
Mar 24, 2026
7683186
New brownfield design chnages for ise radius module (#368)
madhansansel Mar 24, 2026
c04214d
Remove unused global_filters from SdaFabricMulticastPlaybookConfigGen…
koderchit Mar 25, 2026
99442b3
Remove unused global_filters from SdaFabricMulticastPlaybookConfigGen…
madhansansel Mar 25, 2026
078f517
Validation for empty config and empty component_specific_filters
shatagopasunil Mar 25, 2026
0015433
Added device_ips as filter in sda host onboarding brownfield module
Mar 25, 2026
1bcc896
Lint fix
Mar 25, 2026
ce13d5d
Validation for empty config and empty component_specific_filters (#370)
madhansansel Mar 25, 2026
8c72a9f
Deduplicate component filters
shatagopasunil Mar 25, 2026
089fa7f
Added new filters
Mar 25, 2026
5ae5e26
Addressed comments
Mar 26, 2026
5f65e44
Addressing Review Comments
shatagopasunil Mar 26, 2026
73dbb85
Addressed comments
Mar 26, 2026
a17d9b9
Add validation for empty config and component_specific_filters in SDA…
koderchit Mar 26, 2026
e49de85
Added device_ips, serial_numbers, hostnames as filter in sda host onb…
vivekraj2000 Mar 26, 2026
5ba86eb
Add validation for empty config and component_specific_filters in SDA…
koderchit Mar 26, 2026
3be6676
Deduplicate component filters (#372)
madhansansel Mar 26, 2026
fd6d604
UT fix in template workflow manager
Mar 26, 2026
8c728e5
UT fix
Kandarimegha Mar 26, 2026
134f507
Merge branch 'main' into manual_testing
Kandarimegha Mar 26, 2026
3365b2f
UT fix in template workflow manager (#376)
madhansansel Mar 26, 2026
0755df5
Merge branch 'main' into manual_testing
Kandarimegha Mar 26, 2026
57c668c
Updating Galaxy version
madhansansel Mar 26, 2026
3189732
Merge branch 'main' of github.com:cisco-en-programmability/catalyst-c…
madhansansel Mar 26, 2026
2fd1cfe
Updating version in galaxy
madhansansel Mar 26, 2026
3d86b1a
updating galaxy
madhansansel Mar 26, 2026
ec954ca
UT fix for device credential (#377)
madhansansel Mar 26, 2026
cc70d68
UT fixed
syed-khadeerahmed Mar 26, 2026
51515db
UT fixed (#379)
madhansansel Mar 26, 2026
b8ddc38
Add validation for empty config and component_specific_filters in SDA…
madhansansel Mar 26, 2026
ff7f86c
Merge pull request #329 from cisco-en-programmability/main
bvargasre Mar 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 25 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,33 @@
- [ ] Documentation update

## Description
Please include a summary of the changes and the related issue. Also, include relevant motivation and context.

Bug Fix: [Brief description of the bug fixed]
Root Cause (if applicable): [Explain what caused the bug]
Fix Implemented: [Describe the fix applied]
Summary:
A brief description of the issue or bug.

Enhancement: [Brief description of the improvement/enhancement made]
Enhancement Description: [Explain what was enhanced, why, and how]
Impact Area: [Mention which part of the system/codebase is affected]
Steps to Reproduce:
Detailed steps that developers can follow to reproduce the issue.

Observed Behavior:
What is currently happening, including error messages or symptoms.

Expected Behavior:
What should happen under normal conditions.

Root Cause Analysis:
Technical explanation of the underlying cause, if known.

Workaround:
Any temporary solutions or mitigations available.

Fix Details:
Description of the fix or code changes made.

Impact:
Information on the scope and severity of the issue.

Additional Information:
Logs, configuration snippets, environment details, or references to related bugs.

Testing Done:
- [] Manual testing
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ test.yaml
sanity_fixes.py
.yamlfmt
.github/copilot-instructions.md
ai-assistant-catalyst-center-ansible-iac/
154 changes: 154 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
# Contributing

This document applies to the entire `cisco.dnac` collection and defines
the coding and code review standards for Ansible modules.

## Core Principles

- Follow Ansible core module development standards.
- Follow PEP 8 with a maximum of 100 characters per line.
- Keep YAML `DOCUMENTATION` blocks to a maximum of 80 characters per
line.
- Code must be idempotent.
- Avoid unnecessary complexity.
- Use early returns for failure cases.
- Keep logic linear and easy to follow.

## Ansible Module Structure

- Use `AnsibleModule` properly with `argument_spec`.
- Validate required parameters via `argument_spec`, not manual checks.
- Use `supports_check_mode=True` where applicable.
- Respect `check_mode` and do not make changes in check mode.
- Always return:
- `changed` (`bool`)
- `failed` (`bool`) when applicable
- meaningful result data
- Use `module.exit_json()` and `module.fail_json()`.
- Do not raise raw exceptions. Wrap errors using `fail_json()`.
- Ensure idempotency:
- compare current state with desired state
- set `changed=True` only when an actual change occurs

## Early Returns and Flow

- Use early return for:
- validation failures
- unsupported states
- no-op and idempotent cases
- Avoid nested `if`/`else` blocks where possible.
- Keep execution flow sequential.

## Logging Standards

- Use `module.log()` for logging.
- Do not use `print()` or the Python `logging` module.
- Add an entry log describing the action.
- Log input parameters, excluding sensitive data.
- Do not log the function name directly.
- Logs must describe the action.
- Example: `Validating VLAN configuration for vlan_id=10`
- Log major decision points.
- Log external API calls and why they are made.
- Never log passwords, tokens, or sensitive values.
- Logs must explain why an action is happening.

## Documentation Requirements

### `DOCUMENTATION` Block

The `DOCUMENTATION` block must include:

- `module`
- `short_description`
- `description`
- `version_added`
- `options` with `type`, `required`, `default`, and `choices` where
applicable
- `author`

### `EXAMPLES` Block

- Keep examples minimal but meaningful.
- Demonstrate idempotent usage.

### `RETURN` Block

- Document returned fields.
- Include type and sample values.
- Keep lines at 80 characters or fewer.

### Documentation Rules

- Be concise and accurate.
- Keep descriptions clear and action-oriented.
- Avoid unnecessary verbosity.
- Follow consistent formatting across modules.

## API Review Instructions

- Review only the API logic.
- In function docstrings include only:
- short description
- long description
- `Args`
- `Returns`
- Do not include extra explanation.

## Code Quality and Maintainability

- Avoid redundant key lookups.
- Avoid repeated validations.
- Use helper functions only if they are reusable.
- Do not split logic unnecessarily.
- Keep state comparison clean and explicit.
- Suggest better naming if unclear, but do not modify directly.
- Ensure consistent naming patterns such as `success_count` and
`failed_count`.

## Error Handling

- Use `fail_json(msg=..., details=...)` where helpful.
- Provide actionable error messages.
- Include relevant identifiers in errors.
- Avoid generic error messages.

## Security Considerations

- Mark sensitive parameters with `no_log=True`.
- Never log sensitive data.
- Avoid exposing secrets in return values.
- Validate input types strictly.

## Performance and Scalability

- Avoid unnecessary API calls.
- Cache fetched state when possible.
- Minimize repeated lookups.
- Prefer bulk operations when supported.

## Suggestions Policy

When suggesting improvements during review, suggestions may cover:

- refactoring
- optimization
- documentation
- tests
- security
- performance
- readability
- maintainability
- scalability
- compatibility
- best practices
- design patterns
- architecture
- conventions
- anti-patterns

Suggestions must:

- be clear and actionable
- not directly modify original code
- preserve structure unless reuse justifies refactoring
20 changes: 20 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1985,3 +1985,23 @@ releases:
- Changes in template_workflow_manager module
- Changes in wired_campus_automation_workflow_manager module
- Changes in wireless_design_workflow_manager module

6.49.0:
release_date: "2026-03-26"
changes:
release_summary: Added playbook config generator modules and shared helper
enhancements for workflow manager modules
minor_changes:
- Added playbook config generator modules for access point, application
policy, assurance, backup and restore, device credential, discovery,
events and notifications, inventory, ISE radius integration, network
profile, network settings, PnP, provision, and RMA workflows.
- Added playbook config generator modules for SDA fabric, SDA
extranet policies, SDA host port onboarding, site, tags, template,
user role, wired campus automation, and wireless design workflows.
- Added shared brownfield helper support, config validation, and
component filter deduplication for playbook config generator modules.
- Added device_ips, serial_numbers, and hostnames filters to
sda_host_port_onboarding_playbook_config_generator.
- Updated related workflow manager modules to align with the new
playbook config generator design.
5 changes: 4 additions & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: cisco
name: dnac
version: 6.48.2
version: 6.49.0
readme: README.md
authors:
- Rafael Campos <rcampos@cloverhound.com>
Expand Down Expand Up @@ -31,6 +31,9 @@ authors:
- Karthick S N <kasn@cisco.com>
- Sunil Shatagopa <sshatago@cisco.com>
- Vivek Raj Penke <vpenke@cisco.com>
- Vidhya Rathinam <virathin@cisco.com>
- Mridul Saurabh <msaurabh@cisco.com>
- Jeet Ram <jeeram@cisco.com>

description: "DEPRECATED - Use cisco.catalystcenter instead. Ansible Modules for Cisco DNA Center."
license_file: "LICENSE"
Expand Down
140 changes: 140 additions & 0 deletions playbooks/accesspoint_location_playbook_config_generator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
---
- name: Generate access point location playbook configuration from Cisco Catalyst Center
hosts: localhost
connection: local
gather_facts: false
vars_files:
- "credentials.yml"
tasks:
# Example 1: Generate all access point location configurations
- name: Generate complete access point location configuration
cisco.dnac.accesspoint_location_playbook_config_generator:
dnac_host: "{{ dnac_host }}"
dnac_username: "{{ dnac_username }}"
dnac_password: "{{ dnac_password }}"
dnac_verify: "{{ dnac_verify }}"
dnac_port: "{{ dnac_port }}"
dnac_version: "{{ dnac_version }}"
dnac_debug: "{{ dnac_debug }}"
dnac_log: true
dnac_log_level: DEBUG
dnac_api_task_timeout: 1000
dnac_task_poll_interval: 1
state: gathered
file_path: "tmp/accesspoint_location_workflow_playbook.yml"
file_mode: append

# Example 2: Generate access point location configurations by sites
- name: Generate access point location configurations by sites
cisco.dnac.accesspoint_location_playbook_config_generator:
dnac_host: "{{ dnac_host }}"
dnac_username: "{{ dnac_username }}"
dnac_password: "{{ dnac_password }}"
dnac_verify: "{{ dnac_verify }}"
dnac_port: "{{ dnac_port }}"
dnac_version: "{{ dnac_version }}"
dnac_debug: "{{ dnac_debug }}"
dnac_log: true
dnac_log_level: DEBUG
dnac_api_task_timeout: 1000
dnac_task_poll_interval: 1
state: gathered
file_path: "tmp/accesspoint_location_workflow_playbook_site_base.yml"
file_mode: "append"
config:
global_filters:
site_list:
- Global/USA/SAN JOSE/SJ_BLD23/FLOOR1
- Global/USA/SAN JOSE/SJ_BLD23/FLOOR2
- Global/USA/SAN JOSE/SJ_BLD23/FLOOR4

# Example 3: Generate access point location configurations by planned APs
- name: Generate access point location configurations by planned APs
cisco.dnac.accesspoint_location_playbook_config_generator:
dnac_host: "{{ dnac_host }}"
dnac_username: "{{ dnac_username }}"
dnac_password: "{{ dnac_password }}"
dnac_verify: "{{ dnac_verify }}"
dnac_port: "{{ dnac_port }}"
dnac_version: "{{ dnac_version }}"
dnac_debug: "{{ dnac_debug }}"
dnac_log: true
dnac_log_level: DEBUG
dnac_api_task_timeout: 1000
dnac_task_poll_interval: 1
state: gathered
file_path: "tmp/accesspoint_location_workflow_playbook_PAP_base.yml"
file_mode: "append"
config:
global_filters:
planned_accesspoint_list:
- ap_test_auto-1
- ap_test_auto-3

# Example 4: Generate access point location configurations by real APs
- name: Generate access point location configurations by real APs
cisco.dnac.accesspoint_location_playbook_config_generator:
dnac_host: "{{ dnac_host }}"
dnac_username: "{{ dnac_username }}"
dnac_password: "{{ dnac_password }}"
dnac_verify: "{{ dnac_verify }}"
dnac_port: "{{ dnac_port }}"
dnac_version: "{{ dnac_version }}"
dnac_debug: "{{ dnac_debug }}"
dnac_log: true
dnac_log_level: DEBUG
dnac_api_task_timeout: 1000
dnac_task_poll_interval: 1
state: gathered
file_path: "tmp/accesspoint_location_workflow_playbook_real_ap_base.yml"
file_mode: "append"
config:
global_filters:
real_accesspoint_list:
- AP687D.B402.1614-AP-Test6
- Cisco_9120AXE_IP4-01-Test2

# Example 5: Generate access point location configurations by access point models
- name: Generate access point location configurations by AP models
cisco.dnac.accesspoint_location_playbook_config_generator:
dnac_host: "{{ dnac_host }}"
dnac_username: "{{ dnac_username }}"
dnac_password: "{{ dnac_password }}"
dnac_verify: "{{ dnac_verify }}"
dnac_port: "{{ dnac_port }}"
dnac_version: "{{ dnac_version }}"
dnac_debug: "{{ dnac_debug }}"
dnac_log: true
dnac_log_level: DEBUG
dnac_api_task_timeout: 1000
dnac_task_poll_interval: 1
state: gathered
file_path: "tmp/accesspoint_location_workflow_playbook_accesspoint_model_base.yml"
file_mode: "overwrite"
config:
global_filters:
accesspoint_model_list:
- AP9120E
- CW9172I

# Example 6: Generate access point location configurations by MAC addresses
- name: Generate access point location configurations by MAC addresses
cisco.dnac.accesspoint_location_playbook_config_generator:
dnac_host: "{{ dnac_host }}"
dnac_username: "{{ dnac_username }}"
dnac_password: "{{ dnac_password }}"
dnac_verify: "{{ dnac_verify }}"
dnac_port: "{{ dnac_port }}"
dnac_version: "{{ dnac_version }}"
dnac_debug: "{{ dnac_debug }}"
dnac_log: true
dnac_log_level: DEBUG
dnac_api_task_timeout: 1000
dnac_task_poll_interval: 1
state: gathered
file_path: "tmp/accesspoint_location_workflow_playbook_mac_address_base.yml"
file_mode: "overwrite"
config:
global_filters:
mac_address_list:
- cc:6e:2a:e1:02:40
Loading
Loading