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 v6.7.6 #120

Merged
merged 51 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
bc26b6c
Support validating nested list of dictionary as input, make base clas…
Abhishek-121 Sep 11, 2023
7f60c80
run ansible-test sanity on both dnac and template_intent file and fix…
Abhishek-121 Sep 12, 2023
69fae67
Made changes for PNP with Sanity and unit test
abimishr Sep 13, 2023
16d4306
Formatted the dictionary and added a few more changes to increase the…
abimishr Sep 13, 2023
058ff5e
address review comments like write member functions for all the state…
Abhishek-121 Sep 15, 2023
2abba58
Did some formatting with description of methods
abimishr Sep 21, 2023
2f3e77f
make required chnages in site_intent module
Abhishek-121 Sep 21, 2023
12f2e05
modify get want code
Abhishek-121 Sep 21, 2023
e0969b8
add return type in get_diff_deleted method
Abhishek-121 Sep 21, 2023
40c4ade
Fixed the failure in sanity run
abimishr Sep 21, 2023
ee9b083
Merge pull request #8 from abimishr/PNP_Code_Abinash
madhansansel Sep 22, 2023
4e9e768
change abstract base class w.r.t python version support
Abhishek-121 Sep 22, 2023
7a9b695
remove unused import DNACSDK
Abhishek-121 Sep 22, 2023
d0d41a4
Merge pull request #7 from Abhishek-121/main
madhansansel Sep 22, 2023
572cf95
Network settings module and playbook
Sep 29, 2023
7eed04a
Updated dnac.py - check_execution_response_status
Sep 29, 2023
2298b13
Update network_settings_intent.py
MUTHU-RAKESH-27 Sep 29, 2023
07a23b6
Delete playbooks/network_settings_intent.yml
MUTHU-RAKESH-27 Sep 29, 2023
a6119d1
Delete plugins/modules/network_settings_intent.py
MUTHU-RAKESH-27 Sep 29, 2023
3742d26
Network settings module and playbook
Sep 29, 2023
ae2a520
network settings module, playbook and dnac.py
Oct 2, 2023
a98df23
Updated network settings module
Oct 2, 2023
4504d47
Updated network_settings.py
Oct 2, 2023
1d22399
Update network_settings_intent.py and dnac.py
Oct 2, 2023
8d62390
Updated Network settings module
Oct 2, 2023
61b3399
Updated network settings
Oct 2, 2023
3d506ef
Updated network settings
Oct 2, 2023
95f474b
Updated network settings module
Oct 2, 2023
08c38e3
Merge pull request #19 from cisco-en-programmability/main
madhansansel Oct 2, 2023
92663b9
Updated Network settings module
Oct 2, 2023
a51e38d
Updated Network settings
Oct 2, 2023
1711518
Updated Network Settings
Oct 2, 2023
fbdf113
Updated Network Settings
Oct 2, 2023
c14130f
Updated Network Settings
Oct 3, 2023
2778783
Updated Network Settings
Oct 3, 2023
64859ec
Merge branch 'madhansansel:main' into main
MUTHU-RAKESH-27 Oct 3, 2023
632a80e
Updated Network Settings
Oct 3, 2023
15709ed
test/sanity changes
Oct 3, 2023
796a469
Updated test/sanity
Oct 3, 2023
d46e01a
rewrite swim module with Base class chnages and add docstring for eac…
Abhishek-121 Oct 3, 2023
8e4f680
remove unused import
Abhishek-121 Oct 3, 2023
2256855
Merge pull request #28 from Abhishek-121/main
madhansansel Oct 3, 2023
3473730
Updated Network Settings
Oct 4, 2023
2965f6f
Merge pull request #29 from MUTHU-RAKESH-27/main
madhansansel Oct 4, 2023
8bfc16d
Addressed reviewer comments for network_settings_intent.py and dnac.py
Oct 6, 2023
c706d15
Addressed reviewer comments
Oct 6, 2023
5cce7ea
Addressed reviewer comments
Oct 6, 2023
fd587b2
Merge pull request #32 from MUTHU-RAKESH-27/main
madhansansel Oct 6, 2023
a0efb97
Merge pull request #119 from madhansansel/main
fmunozmiranda Oct 13, 2023
6f59a6d
6.7.6:
Oct 13, 2023
31946c2
galaxy update
Oct 13, 2023
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
9 changes: 8 additions & 1 deletion changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -712,4 +712,11 @@ releases:
- Updated from get_permissions_ap_i to get_permissions_api
- Updated from get_roles_ap_i to get_roles_api
- Updated from get_users_ap_i to get_users_api
- Updated from get_external_authentication_servers_ap_i to get_external_authentication_servers_api
- Updated from get_external_authentication_servers_ap_i to get_external_authentication_servers_api
6.7.6:
release_date: "2023-10-13"
changes:
release_summary: Several changes to modules.
minor_changes:
- A new intent module for network settings to support Global IP Pool, Reserve IP Pool, Global servers, TimeZone, Message of the Day and telemetry servers.
- By inheriting DNAC base class, changes done to Swim, Template, PnP intent modules.
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.7.5
version: 6.7.6
readme: README.md
authors:
- Rafael Campos <[email protected]>
Expand Down
86 changes: 86 additions & 0 deletions playbooks/network_settings_intent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
- hosts: dnac_servers
vars_files:
- credentials_245.yml
gather_facts: no
connection: local
tasks:
#
# Project Info Section
#

- name: Create global pool, reserve subpool and network functions
cisco.dnac.network_settings_intent:
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:
- GlobalPoolDetails:
settings:
ippool:
- ipPoolName: Global_Pool2
gateway: "" #use this for updating
IpAddressSpace: IPv6 #required when we are creating
ipPoolCidr: 2001:db8::/64 #required when we are creating
type: Generic
dhcpServerIps: [] #use this for updating
dnsServerIps: [] #use this for updating
# prev_name: Global_Pool2
ReservePoolDetails:
ipv6AddressSpace: True
ipv4GlobalPool: 100.0.0.0/8
ipv4Prefix: True
ipv4PrefixLength: 9
ipv4Subnet: 100.128.0.0
# ipv4DnsServers: [100.128.0.1]
name: IP_Pool_3
ipv6Prefix: True
ipv6PrefixLength: 64
ipv6GlobalPool: 2001:db8::/64
ipv6Subnet: "2001:db8::"
siteName: Global/Chennai/Trill
slaacSupport: True
# prev_name: IP_Pool_4
type: LAN
NetworkManagementDetails:
settings:
dhcpServer:
- 10.0.0.1
dnsServer:
domainName: cisco.com
primaryIpAddress: 10.0.0.2
secondaryIpAddress: 10.0.0.3
clientAndEndpoint_aaa: #works only if we system settigns is set
# ipAddress: 10.197.156.42 #Mandatory for ISE, sec ip for AAA
network: 10.0.0.20
protocol: RADIUS
servers: AAA
# sharedSecret: string #ISE
messageOfTheday:
bannerMessage: hello
retainExistingBanner: "true"
netflowcollector:
ipAddress: 10.0.0.4
port: 443
network_aaa: #works only if we system settigns is set
# ipAddress: string #Mandatory for ISE, sec ip for AAA
network: 10.0.0.20
protocol: TACACS
servers: AAA
# sharedSecret: string #ISE
ntpServer:
- 10.0.0.5
snmpServer:
configureDnacIP: True
ipAddresses:
- 10.0.0.6
syslogServer:
configureDnacIP: True
ipAddresses:
- 10.0.0.7
timezone: GMT
siteName: Global/Chennai
Loading