Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #169

Merged
merged 444 commits into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
444 commits
Select commit Hold shift + click to select a range
3617dde
Integration Tests
rukapse Mar 5, 2024
ed5689d
Integration Tests
rukapse Mar 5, 2024
e58e8bf
Integration tests
rukapse Mar 5, 2024
00e7a9c
Integration tests
rukapse Mar 5, 2024
8b9e34b
Integration tests
rukapse Mar 5, 2024
cf1c731
integration tests
rukapse Mar 5, 2024
d13ef92
integration tests
rukapse Mar 5, 2024
d95ec16
integration tests
rukapse Mar 5, 2024
4d29c86
integration tests
rukapse Mar 5, 2024
29272b5
integraiton tests
rukapse Mar 5, 2024
a4ebde0
integraiton tests
rukapse Mar 5, 2024
de9aae0
integraiton tests
rukapse Mar 5, 2024
4d91c48
integraiton tests
rukapse Mar 5, 2024
82550bf
integraiton tests
rukapse Mar 5, 2024
cc7354e
Integration tests
rukapse Mar 5, 2024
facfa1b
Merge pull request #29 from madhansansel/main
rukapse Mar 5, 2024
f273fb6
integration tests
rukapse Mar 5, 2024
43d8a5d
path filtering tests
rukapse Mar 5, 2024
551a7b8
integration tests
rukapse Mar 6, 2024
10e2f72
integration tests
rukapse Mar 6, 2024
99d1970
integration tests
rukapse Mar 6, 2024
669dbee
integration tests
rukapse Mar 6, 2024
a052b99
testing path filtering
rukapse Mar 6, 2024
8f9b231
testing path filtering
rukapse Mar 6, 2024
98a6254
testing path filtering
rukapse Mar 6, 2024
a29ca17
testing path filtering
rukapse Mar 6, 2024
7a5b158
integration tests
rukapse Mar 6, 2024
6ccde04
path filtering testing
rukapse Mar 6, 2024
54a9953
path filtering testing
rukapse Mar 6, 2024
1962b96
path filtering testing
rukapse Mar 6, 2024
5754c42
path filtering tests
rukapse Mar 6, 2024
da1e6fe
path filtering changes
rukapse Mar 6, 2024
ea0d5cc
path mapping tests
rukapse Mar 6, 2024
a9eb06c
path mapping tests
rukapse Mar 6, 2024
2401b2e
path mapping tests
rukapse Mar 6, 2024
e480c72
path mapping tests
rukapse Mar 6, 2024
27a5452
path mapping tests
rukapse Mar 6, 2024
3ffd5a3
path mapping tests
rukapse Mar 6, 2024
0ba36ab
path mapping tests
rukapse Mar 6, 2024
9c2ef75
path mapping tests
rukapse Mar 6, 2024
97890d7
path mapping tests
rukapse Mar 6, 2024
377b357
path filtering
rukapse Mar 6, 2024
e1d57e1
final testing
rukapse Mar 6, 2024
83e1d00
testing scheduled workflow
rukapse Mar 6, 2024
40719ef
testing scheduled workflow
rukapse Mar 6, 2024
7f32d77
testing scheduled workflow
rukapse Mar 6, 2024
d818e01
Merge pull request #30 from madhansansel/main
rukapse Mar 7, 2024
0e111e9
scheduler added
rukapse Mar 12, 2024
f57ed98
Merge branch 'circleci-setup' of github.com:rukapse/dnacenter-ansible…
rukapse Mar 12, 2024
7de0822
scheduler added
rukapse Mar 12, 2024
497a64b
scheduler added
rukapse Mar 12, 2024
1ec316f
scheduler added
rukapse Mar 12, 2024
f34c1eb
scheduler added
rukapse Mar 12, 2024
9ccf7b2
scheduler added
rukapse Mar 12, 2024
aa7efbe
scheduler added
rukapse Mar 12, 2024
b22399c
test
rukapse Mar 12, 2024
a939802
test
rukapse Mar 12, 2024
ffcedb6
test
rukapse Mar 12, 2024
e0a35e0
Merge pull request #31 from madhansansel/main
rukapse Mar 13, 2024
e8862e5
Merge pull request #32 from madhansansel/main
rukapse Mar 13, 2024
8bdc44b
tests
rukapse Mar 13, 2024
42db7d7
added pnp and network settings
rukapse Mar 13, 2024
d900377
added pnp and network settings
rukapse Mar 13, 2024
872acf4
Merge pull request #33 from rukapse/circleci-setup
rukapse Mar 13, 2024
0f2a95e
Merge pull request #34 from rukapse/dev
rukapse Mar 13, 2024
6fd0c37
Merge pull request #35 from madhansansel/main
rukapse Mar 18, 2024
e3848d9
pnp ITs
rukapse Mar 26, 2024
530fc7f
Merge pull request #36 from madhansansel/main
rukapse Mar 26, 2024
42eb3a6
swim changes
rukapse Mar 26, 2024
cf8ec5c
Merge branch 'main' of github.com:rukapse/dnacenter-ansible
rukapse Mar 26, 2024
52739d1
final testing
rukapse Mar 26, 2024
48ba99f
clean up
rukapse Mar 26, 2024
feed478
Merge pull request #37 from madhansansel/main
rukapse Mar 27, 2024
78671c9
pnp IT changes
rukapse Mar 27, 2024
5bdd7e5
final testing
rukapse Mar 27, 2024
390bdd1
Merge pull request #38 from madhansansel/main
rukapse Mar 27, 2024
9fb0a96
pnp update
rukapse Mar 27, 2024
4cce1ba
pnp claim IT
rukapse Mar 27, 2024
8048112
modified run-all
rukapse Mar 27, 2024
458b8e7
modified run-all
rukapse Mar 27, 2024
990ed7e
final testing
rukapse Mar 27, 2024
26f6a1c
final testing
rukapse Mar 27, 2024
3906434
final testing
rukapse Mar 27, 2024
812fedd
final testing
rukapse Mar 27, 2024
f239244
inventory bug test
rukapse Mar 28, 2024
6936db1
test inventory bug
rukapse Mar 28, 2024
0386062
testing swim
rukapse Mar 28, 2024
002bb29
final testing
rukapse Mar 28, 2024
44795c9
Merge pull request #39 from madhansansel/main
rukapse Mar 28, 2024
8542547
fixing sanity bugs
rukapse Mar 28, 2024
3829a7f
sanity test bug fixes
rukapse Mar 28, 2024
0e62c4a
changes to inventory IT post latet changes merge
rukapse Mar 28, 2024
2f8dd6f
reduced retry and timeout
rukapse Mar 28, 2024
5ffea39
inventory IT changes
rukapse Mar 28, 2024
d8b5228
inventory IT changes
rukapse Mar 28, 2024
e5f63e6
inventory IT changes
rukapse Mar 28, 2024
8b22c6e
integration tests
rukapse Mar 28, 2024
a454a78
pnp test case added
rukapse Mar 28, 2024
5df1c0f
added pnp ITs
rukapse Mar 28, 2024
cddeaf0
pnp ITs
rukapse Mar 28, 2024
0d3fd53
pnp ITs
rukapse Mar 28, 2024
e61034b
commented pnp test
rukapse Mar 28, 2024
dc01220
commented pnp test
rukapse Mar 28, 2024
8afa6fa
merged main
rukapse Mar 28, 2024
d76952f
Merge pull request #40 from rukapse/circleci-setup
rukapse Mar 28, 2024
94a705e
Merge branch 'main' into dev
rukapse Apr 1, 2024
c9cf3e2
Merge pull request #41 from rukapse/main
rukapse Apr 1, 2024
9ad4bd0
Merge pull request #42 from madhansansel/main
rukapse Apr 1, 2024
34e98d3
Merge branch 'main' into dev
rukapse Apr 1, 2024
59e394d
Merge pull request #43 from madhansansel/main
rukapse Apr 1, 2024
4e08c6a
Merge branch 'dev' of github.com:rukapse/dnacenter-ansible into dev
rukapse Apr 1, 2024
3c9a6d2
Merge pull request #44 from madhansansel/main
rukapse Apr 8, 2024
b68cd8f
reduced the number of ip range to 7 in discovery IT
rukapse Apr 8, 2024
b6ae730
Merge pull request #45 from madhansansel/main
rukapse Apr 8, 2024
1724117
Merge branch 'dev' of github.com:rukapse/dnacenter-ansible into dev
rukapse Apr 8, 2024
88da739
Merge branch 'main' into dev
rukapse Apr 8, 2024
e114074
Added a new feature on reserved pool (Accessing using the name of the…
Apr 10, 2024
7165e1e
network compliance module
rukapse Apr 11, 2024
a0d7eaa
Merge pull request #46 from madhansansel/main
rukapse Apr 12, 2024
dcf5931
Used offset to find the global pool details
Apr 12, 2024
68a2ac5
Resolved the sanity errors
Apr 12, 2024
c42a6e7
Enhanced log result messaged for updating role of multiple devices
Abhishek-121 Apr 15, 2024
3a18a1a
Changed the playbook and documentation order as per GUI
Apr 15, 2024
9772de5
Resolved the sanity errors
Apr 15, 2024
07270ac
Merge pull request #217 from MUTHU-RAKESH-27/main
madhansansel Apr 15, 2024
27b5b3f
Merge pull request #218 from Abhishek-121/main
madhansansel Apr 15, 2024
70f0ccf
Eliminated the useless and redundant variables and optimised the code…
Apr 15, 2024
77adb76
Addressed the review comments
Apr 15, 2024
0997322
Merge pull request #219 from MUTHU-RAKESH-27/main
madhansansel Apr 15, 2024
7894c97
Merge pull request #48 from madhansansel/main
rukapse Apr 15, 2024
6b7274e
network compliance module
rukapse Apr 15, 2024
c971c04
Update device credentials giving error because API is taking empty st…
Abhishek-121 Apr 15, 2024
0b70f63
Merge pull request #220 from Abhishek-121/main
madhansansel Apr 16, 2024
c087417
Resolved the problem with the snmp and syslog servers updation.
Apr 16, 2024
ece6299
Merge branch 'madhansansel:main' into main
MUTHU-RAKESH-27 Apr 16, 2024
bcdb3c3
Merge pull request #221 from MUTHU-RAKESH-27/main
madhansansel Apr 16, 2024
3b6b758
Adding try and error exception for provision module
abimishr Apr 16, 2024
1fc00b2
Adding try and error exception for provision module
abimishr Apr 16, 2024
693021d
Merge branch 'madhansansel:main' into PNP_Code_Abinash
abimishr Apr 17, 2024
fc11821
Merge pull request #222 from abimishr/PNP_Code_Abinash
madhansansel Apr 17, 2024
f75fcfe
Fix the issue of Wired Device Provisioning when running second time b…
Abhishek-121 Apr 22, 2024
3f1ccfb
Add the log message for device prov status flag
Abhishek-121 Apr 22, 2024
7ac485e
network compliance module
rukapse Apr 22, 2024
2e7b592
Merge pull request #223 from Abhishek-121/main
madhansansel Apr 23, 2024
7691ee2
Added the code for adding/updating the configuration of Syslog, SNMP,…
Abhishek-121 Apr 23, 2024
598da3c
Added a check for the global device credentials while verifying the c…
Apr 24, 2024
558b3a7
While checking snmp dest needs update, mistakenly call 'email_dest_ne…
Abhishek-121 Apr 24, 2024
6f7c47b
Addressed the review comments
Apr 24, 2024
e8d9124
Addressed the review comments
Apr 24, 2024
8b80dba
Addressed the review comments
Apr 24, 2024
09b6744
Changed the log message while adding snmp destination in Catalyst Center
Abhishek-121 Apr 25, 2024
09454d9
Addressed the review comments
Apr 25, 2024
0157a4b
Addressed the review comments
Apr 25, 2024
a332191
Instead of raising exception failed the status and show corresponding…
Abhishek-121 Apr 25, 2024
41b2c91
Merge pull request #225 from MUTHU-RAKESH-27/main
madhansansel Apr 25, 2024
4811e90
Added a new playbook and module for ISE RADIUS Integration
Apr 25, 2024
50ca47d
Merge branch 'madhansansel:main' into main
MUTHU-RAKESH-27 Apr 25, 2024
a300145
Adding module for device config backup
abimishr Apr 25, 2024
8331a57
Adding module for device config backup
abimishr Apr 25, 2024
97f1d95
Adding module for device config backup
abimishr Apr 25, 2024
1a28ce1
update to 2.3.7.5 version
Apr 25, 2024
9dfdfec
network compliance module
rukapse Apr 28, 2024
b5a4d85
Merge pull request #49 from madhansansel/main
rukapse Apr 28, 2024
6e58261
network compliance module
rukapse Apr 30, 2024
44433de
network compliance module
rukapse Apr 30, 2024
4e44f23
removed .circleci and integration tests
rukapse Apr 30, 2024
709d554
documentation changes
rukapse Apr 30, 2024
983c2e1
addressed code sanity issues
rukapse Apr 30, 2024
b12b001
addressed code sanity issues
rukapse Apr 30, 2024
b3116f6
addressed code sanity issues
rukapse Apr 30, 2024
cfac685
addressed code sanity issues
rukapse Apr 30, 2024
9577d85
addressed code sanity issues
rukapse Apr 30, 2024
e483b99
doc change
rukapse Apr 30, 2024
037160c
addressed code sanity issues
rukapse Apr 30, 2024
fb3e5b7
addressed PR review comments
rukapse Apr 30, 2024
8e91919
addressed PR review comments
rukapse Apr 30, 2024
32b8da0
combined both iplist and site
rukapse May 1, 2024
742d419
modification to support py2.7
rukapse May 1, 2024
5e1a258
modification to support py2.7
rukapse May 1, 2024
bbfca63
code sanity issue fixed
rukapse May 1, 2024
4df7491
Resolving review comments for device configs backup
abimishr May 2, 2024
a65246c
Resolving review comments for device configs backup
abimishr May 2, 2024
d5cb746
Resolving review comments for device configs backup
abimishr May 2, 2024
6017215
Merge pull request #227 from abimishr/PNP_Code_Abinash
madhansansel May 2, 2024
d70727d
paramter change suggested by Madhan
rukapse May 3, 2024
c0d9106
paramter change suggested by Madhan
rukapse May 3, 2024
02cb692
doc review changes
rukapse May 3, 2024
77ca77d
Address the review comments
Abhishek-121 May 3, 2024
12487e2
Merge pull request #224 from Abhishek-121/main
madhansansel May 3, 2024
621f964
Enhanced log messages for site instead of showing last messages show …
Abhishek-121 May 3, 2024
fd4f5b5
Write API for returning the status of site events including creation/…
Abhishek-121 May 3, 2024
fde1b97
Merge pull request #232 from Abhishek-121/main
madhansansel May 3, 2024
7038fae
replaced fail_json with log in validate_params
rukapse May 3, 2024
ebe79cb
replaced fail_json with log in validate_params
rukapse May 3, 2024
a882549
changed if condition in validate_run_comp_params
rukapse May 3, 2024
1c101f2
modified dnacentersdk version
rukapse May 3, 2024
0468d51
added statement in doc for run_compliance
rukapse May 3, 2024
383e0a0
added statement in doc for run_compliance
rukapse May 3, 2024
b765429
Merge pull request #229 from rukapse/dev
madhansansel May 3, 2024
7116848
Merge pull request #233 from cisco-en-programmability/main
madhansansel May 4, 2024
748ff58
Merge pull request #226 from MUTHU-RAKESH-27/main
madhansansel May 6, 2024
04aacb1
Added new features and resolved the bugs for the network settings and…
May 6, 2024
fd27e0c
Addressed the review comments
May 6, 2024
2ef1ac5
Addressed the review comments
May 6, 2024
60953a1
Addressed the review comments
May 6, 2024
899aa49
Merge pull request #234 from MUTHU-RAKESH-27/main
madhansansel May 6, 2024
982c09e
Update the cli_transport type in documentaion to ssh/telnet
Abhishek-121 May 7, 2024
719a089
Merge pull request #235 from Abhishek-121/main
madhansansel May 7, 2024
144282e
Addressed the review comments and added a log message for checking th…
May 7, 2024
41d2b49
Changed the dnacentersdk version '==' to '>='
May 7, 2024
5c9e912
Addressed the review comments
May 7, 2024
8b9a1b8
Merge pull request #236 from MUTHU-RAKESH-27/main
madhansansel May 7, 2024
a30b7d7
Removed the unused failure_params parameter
May 7, 2024
47ffa65
Merge pull request #237 from MUTHU-RAKESH-27/main
madhansansel May 7, 2024
db6a72b
Prompts an error when the site_name is invalid under assign_credentia…
May 8, 2024
bbb2e26
Addressed the review comments
May 8, 2024
1b6ed79
Merge pull request #238 from MUTHU-RAKESH-27/main
madhansansel May 8, 2024
1805b98
Verified the config of containingTemplates under configuration_templates
May 8, 2024
994c71d
Addressed the review comments
May 9, 2024
137cb33
Addressed the review comments
May 9, 2024
7b352b6
Merge pull request #239 from MUTHU-RAKESH-27/main
madhansansel May 9, 2024
501feb5
Adding workflow manager modules for IAC 2.0
madhansansel May 9, 2024
871c3de
Fixed the issue with passing more than one element in containingTempl…
May 9, 2024
0ebd4ea
changes in workflow manager modules
madhansansel May 9, 2024
4a96e7d
Merge branch 'madhansansel:main' into main
MUTHU-RAKESH-27 May 9, 2024
c4cfc71
Merge branch 'madhansansel:main' into main
MUTHU-RAKESH-27 May 9, 2024
9504176
Correcting the format
madhansansel May 9, 2024
b58c471
Merge branch 'madhansansel:main' into main
MUTHU-RAKESH-27 May 9, 2024
059d844
Addressed the review comments
May 9, 2024
cb5f357
Merge pull request #241 from MUTHU-RAKESH-27/main
madhansansel May 9, 2024
db3f557
Removed the unused variables which shows no effect on the GUI
May 10, 2024
a0d9c26
Merge pull request #242 from MUTHU-RAKESH-27/main
madhansansel May 10, 2024
0cac68e
Added the removed variables in the changelogs.yaml
May 10, 2024
c3521a1
Addressed the review comments
May 10, 2024
e30760d
Merge pull request #243 from MUTHU-RAKESH-27/main
madhansansel May 10, 2024
8d00176
Fix the issue of validating Server_address of Syslog destination, upd…
Abhishek-121 May 10, 2024
0f235c5
updated review comments
Abhishek-121 May 10, 2024
042568c
Merge pull request #244 from Abhishek-121/main
madhansansel May 10, 2024
930e54f
Fixed the issue of valdiating snmp server address, validating url in …
Abhishek-121 May 13, 2024
845da18
address review comments
Abhishek-121 May 13, 2024
bfc7e88
Merge pull request #246 from Abhishek-121/main
madhansansel May 13, 2024
7d2e32f
Merge pull request #168 from madhansansel/main
fmunozmiranda May 13, 2024
34d59ea
update 2.3.7.6 version
May 30, 2024
d2b7d07
update 2.3.7.6 version
May 31, 2024
8cdbc0f
Merge branch 'main' of github.com:cisco-en-programmability/dnacenter-…
bvargasre May 31, 2024
208ac78
Merge branch 'develop_2.3.7.6' of github.aaakk.us.kg-work:cisco-en-programmab…
wastorga May 31, 2024
67a57ff
chore: Update dnacentersdk requirement to 2.7.1
bvargasre May 31, 2024
72d7ed4
Remove trailing whitespace
bvargasre Jun 1, 2024
edd7f05
chore: Remove inconsistent parameters import and fix some module's name
bvargasre Jun 1, 2024
d771b44
Fix inconsistent parameters import and module names
bvargasre Jun 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
dnacentersdk = ">=2.7.0"

[dev-packages]

[requires]
python_version = "3.12"
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The dnacenter-ansible project provides an Ansible collection for managing and automating your Cisco DNA Center environment. It consists of a set of modules and roles for performing tasks related to DNA Center.

This collection has been tested and supports Cisco DNA Center 2.3.5.3.
This collection has been tested and supports Cisco DNA Center 2.3.7.6.

*Note: This collection is not compatible with versions of Ansible before v2.8.*

Expand All @@ -15,11 +15,11 @@ The following table shows the supported versions.

| Cisco DNA Center version | Ansible "cisco.dnac" version | Python "dnacentersdk" version |
|--------------------------|------------------------------|-------------------------------|
| 2.1.1 | 3.0.0 | 2.2.5 |
| 2.2.2.3 | 3.3.1 | 2.3.3 |
| 2.2.3.3 | 6.4.0 | 2.4.11 |
| 2.3.3.0 | 6.6.4 | 2.5.5 |
| 2.3.5.3 | ^6.13.0 | ^2.6.0 |
| 2.3.5.3 | 6.13.3 | 2.6.11 |
| 2.3.7.6 | ^6.14.0 | ^2.7.1 |

If your Ansible collection is older please consider updating it first.

Expand All @@ -45,7 +45,7 @@ ansible-galaxy collection install cisco.dnac:3.3.1

## Requirements
- Ansible >= 2.15
- [Python DNA Center SDK](https://github.com/cisco-en-programmability/dnacentersdk) v2.6.0 or newer
- [Python DNA Center SDK](https://github.com/cisco-en-programmability/dnacentersdk) v2.7.0 or newer
- Python >= 3.9, as the DNA Center SDK doesn't support Python version 2.x

## Install
Expand Down Expand Up @@ -76,7 +76,7 @@ export DNAC_HOST=<A.B.C.D>
export DNAC_PORT=443 # optional, defaults to 443
export DNAC_USERNAME=<username>
export DNAC_PASSWORD=<password>
export DNAC_VERSION=2.3.5.3 # optional, defaults to 2.3.5.3. See the Compatibility matrix
export DNAC_VERSION=2.3.7.6 # optional, defaults to 2.3.7.6. See the Compatibility matrix
export DNAC_VERIFY=False # optional, defaults to True
export DNAC_DEBUG=False # optional, defaults to False
```
Expand Down Expand Up @@ -114,7 +114,7 @@ dnac_host: <A.B.C.D>
dnac_port: 443 # optional, defaults to 443
dnac_username: <username>
dnac_password: <password>
dnac_version: 2.3.5.3 # optional, defaults to 2.3.5.3. See the Compatibility matrix
dnac_version: 2.3.7.6 # optional, defaults to 2.3.7.6. See the Compatibility matrix
dnac_verify: False # optional, defaults to True
dnac_debug: False # optional, defaults to False
```
Expand Down
43 changes: 43 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -865,4 +865,47 @@ releases:
minor_changes:
- Adding support to importing a template using JSON file
- Changes in discovery workflow manager modules relating to different states of the discovery job
6.14.0:
release_date: "2024-05-31"
changes:
release_summary: New Dna Center API version 2.3.7.6, and addition of Workflow Manager modules support for device configuration backups, events and notifications, ISE and RADIUS server integrations, and network compliance.
minor_changes:
- device_configs_backup_workflow_manager - New workflow manager module for device configuration backup functions.
- events_and_notifications_workflow_manager - New workflow manager for configuring various types of destinations(Webhook, Email, Syslog, SNMP, ITSM) to deliver event notifications.
- ise_radius_integration_workflow_manager - New workflow manager for Authentication and Policy Servers(ISE/AAA).
- network_compliance_workflow_manager - New workflow manager for Network Compliance module for managing network compliance tasks on reachable device(s).
- device_credential_workflow_manager - Updated the log messages.
- inventory_workflow_manager - Updated changes related to provisioning devices.
- provision_workflow_manager - Updated changes related to handle errors.
- site_workflow_manager - Updated changes in Site updation.
- network_settings_workflow_manager - Added attributes 'ipv4_global_pool_name'.
- template_workflow_manager - Removed attributes 'create_time', 'failure_policy', 'last_update_time', 'latest_version_time', 'parent_template_id', 'project_id', 'validation_errors', 'rollback_template_params' and 'rollback_template_content'.
- Changes in inventory and swim workflow manager modules.
- application_policy_application_set_count_info - new module
- application_policy_application_set_info - new module
- application_policy_application_set - new module
- applications_count_v2_info - new module
- applications_v2_info - new module
- applications_v2 - new module
- auth_token_create - new module
- authentication_policy_servers - new module
- device_reboot_apreboot - new module
- dna_event_snmp_config_info - new module
- event_snmp_config - new module
- event_webhook_read_info - new module
- flexible_report_content_info - new module
- flexible_report_execute - new module
- flexible_report_executions_info - new module
- flexible_report_schedule_info - new module
- flexible_report_schedule - new module
- integration_settings_itsm_instances_info - new module
- integration_settings_status_info - new module
- ise_integration_status_info - new module
- lan_automation_sessions_info - new module
- lan_automation_update_device - new module
- lan_automation_update_v2 - new module
- lan_automation_update - new module
- lan_automation_v2 - new module
- network_device_user_defined_field_delete - new module
- users_external_authentication - new module
- users_external_servers_aaa_attribute - new module
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.13.3
version: 6.14.0
readme: README.md
authors:
- Rafael Campos <[email protected]>
Expand Down
39 changes: 39 additions & 0 deletions playbooks/configs_backup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
- name: Take running config backup of devices
hosts: localhost
connection: local
gather_facts: no

vars_files:
- "{{ CLUSTERFILE }}"

vars:
dnac_login: &dnac_login
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_level: "DEBUG"

tasks:
- name: Take backup of a wired 9500 switch
cisco.dnac.device_configs_backup_workflow_manager:
<<: *dnac_login
dnac_log: True
state: merged
config_verify: True
config:
- hostname: NY-BN-9500.cisco.local
file_path: /home/admin/madhan_ansible/collections/ansible_collections/cisco/dnac/playbooks/new_tmp

- name: Take backup of all the switches
cisco.dnac.device_configs_backup_workflow_manager:
<<: *dnac_login
dnac_log: True
state: merged
config_verify: True
config:
- family: Switches and Hubs
2 changes: 1 addition & 1 deletion playbooks/credentials.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dnac_host: <A.B.C.D>
dnac_port: 443
dnac_username: <username>
dnac_password: <password>
dnac_version: 2.3.5.3
dnac_version: 2.3.7.6
dnac_verify: False
dnac_debug: False
dnac_log_level: [CRITICAL, ERROR, WARNING, INFO, DEBUG]
Expand Down
21 changes: 18 additions & 3 deletions playbooks/device_credential_workflow_manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
gather_facts: no
connection: local
tasks:
- name: Create Credentials and assign it to a site.
- name: Create global device credentials.
cisco.dnac.device_credential_workflow_manager:
dnac_host: "{{ dnac_host }}"
dnac_port: "{{ dnac_port }}"
Expand All @@ -14,6 +14,7 @@
dnac_debug: "{{ dnac_debug }}"
dnac_log: True
state: merged
config_verify: True
config:
- global_credential_details:
cli_credential:
Expand Down Expand Up @@ -54,7 +55,20 @@
port: 443
# old_description:
# old_username:
assign_credentials_to_site:

- name: Assign global device credentials to a site.
cisco.dnac.device_credential_workflow_manager:
dnac_host: "{{ dnac_host }}"
dnac_port: "{{ dnac_port }}"
dnac_username: "{{ dnac_username }}"
dnac_password: "{{ dnac_password }}"
dnac_verify: "{{ dnac_verify }}"
dnac_debug: "{{ dnac_debug }}"
dnac_log: True
state: merged
config_verify: True
config:
- assign_credentials_to_site:
cli_credential:
description: CLI
username: cli
Expand All @@ -74,7 +88,7 @@
- Global/Chennai/Trill
- Global/Chennai/Tidel

- name: Delete Credentials
- name: Delete credentials
cisco.dnac.device_credential_workflow_manager:
dnac_host: "{{ dnac_host }}"
dnac_port: "{{ dnac_port }}"
Expand All @@ -84,6 +98,7 @@
dnac_debug: "{{ dnac_debug }}"
dnac_log: True
state: deleted
config_verify: True
config:
- global_credential_details:
cli_credential:
Expand Down
Empty file added playbooks/dnac.log
Empty file.
65 changes: 65 additions & 0 deletions playbooks/events_and_notifications_workflow_manager.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
- name: Configure channels and create events in Cisco Catalyst Center
hosts: localhost
connection: local
gather_facts: no
vars_files:
- "input_events_and_notification.yml"
- "credentials.yml"
tasks:
- name: Add/update channels with destination and create/update events in Cisco Catalyst Center.
cisco.dnac.events_and_notifications_workflow_manager:
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_level: DEBUG
dnac_log: true
config_verify: true
state: merged
config:
- syslog_destination:
name: "{{item.syslog_destination.name}}"
description: "{{item.syslog_destination.description}}"
server_address: "{{item.syslog_destination.server_address}}"
protocol: "{{item.syslog_destination.protocol}}"
port: "{{item.syslog_destination.port}}"
webhook_destination:
name: "{{item.webhook_destination.name}}"
description: "{{item.webhook_destination.description}}"
url: "{{item.webhook_destination.url}}"
method: "{{item.webhook_destination.method}}"
trust_cert: "{{item.webhook_destination.trust_cert}}"
email_destination:
from_email: "{{item.email_destination.from_email}}"
to_email: "{{item.email_destination.to_email}}"
subject: "{{item.email_destination.subject}}"
primary_smtp_config:
server_address: "{{item.email_destination.primary_smtp_config.server_address}}"
port: "{{item.email_destination.primary_smtp_config.port}}"
snmp_destination:
name: "{{item.snmp_destination.name}}"
description: "{{item.snmp_destination.description}}"
server_address: "{{item.snmp_destination.server_address}}"
port: "{{item.snmp_destination.port}}"
snmp_version: "{{item.snmp_destination.snmp_version}}"
username: "{{item.snmp_destination.username}}"
mode: "{{item.snmp_destination.mode}}"
auth_type: "{{item.snmp_destination.auth_type}}"
auth_password: "{{item.snmp_destination.auth_password}}"
privacy_type: "{{item.snmp_destination.privacy_type}}"
privacy_password: "{{item.snmp_destination.privacy_password}}"
itsm_setting:
instance_name: "{{item.itsm_setting.instance_name}}"
description: "{{item.itsm_setting.description}}"
connection_settings:
url: "{{item.itsm_setting.connection_settings.url}}"
username: "{{item.itsm_setting.connection_settings.username}}"
password: "{{item.itsm_setting.connection_settings.password}}"

with_items: "{{ events_notification }}"
tags:
- events_testing
40 changes: 40 additions & 0 deletions playbooks/input_events_and_notification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
events_notification:
- syslog_destination:
name: Syslog Demo test
description: "Adding syslog destination for testing"
server_address: "10.30.0.90"
protocol: "TCP"
port: 652
webhook_destination:
name: "webhook demo 19"
description: "webhhok description for testing"
url: "https://10.195.227.14/dna"
method: "POST"
trust_cert: False
email_destination:
from_email: "[email protected]"
to_email: "[email protected]"
subject: "Ansible testing"
primary_smtp_config:
server_address: "outbound.cisco.com"
port: '25'
snmp_destination:
name: Snmp test
description: "Adding snmp destination for testing for update"
server_address: "10.30.0.91"
port: '265'
snmp_version: "V3"
username: cisco123
mode: AUTH_PRIVACY
auth_type: SHA
auth_password: authpass123
privacy_type: AES128
privacy_password: privacy123
itsm_setting:
instance_name: "Playbook itsm demo"
description: "ITSM description for testing"
connection_settings:
url: "https://catalystcente1.com"
username: "catalyst"
password: "catalyst@123"
Loading