diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 1f69ba0d63..46ab0dbc27 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -6,21 +6,21 @@ on: - v[0-9]+.[0-9]+.[0-9]+ branches: - main - + workflow_dispatch: jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: configure git run: | git config user.name "${GITHUB_ACTOR}" git config user.email "${GITHUB_ACTOR}@bots.github.com" git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: "3.7" + python-version: "3.11" - name: Install dependencies run: make doc-setup - name: Build docs diff --git a/.github/workflows/sanity_tests.yml b/.github/workflows/sanity_tests.yml index 32d46d4788..e974d81c79 100644 --- a/.github/workflows/sanity_tests.yml +++ b/.github/workflows/sanity_tests.yml @@ -5,22 +5,30 @@ on: pull_request: schedule: - cron: '0 6 * * *' + workflow_dispatch: env: NAMESPACE: cisco COLLECTION_NAME: dnac jobs: + # https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix + # 2.14 supports Python 3.9-3.11 + # 2.15 supports Python 3.9-3.11 + # 2.16 supports Python 3.10-3.12 + # https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_17.html + # milestone is 2.17 until after 2.17 branches from devel + # devel is 2.17 until 2024-04-01 sanity: name: Sanity (Ⓐ${{ matrix.ansible }}) strategy: matrix: ansible: - - stable-2.14 - stable-2.15 - - devel - runs-on: ubuntu-20.04 + - stable-2.16 + - stable-2.17 + runs-on: ubuntu-22.04 steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: cisco-en-programmability/dnacenter-ansible - name: Create directory @@ -28,9 +36,9 @@ jobs: - name: Move repository run: mv ./cisco-en-programmability/dnacenter-ansible ./ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}} - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - name: Install ansible-base (${{ matrix.ansible }}) run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check - name: Run sanity tests diff --git a/.github/workflows/sanity_tests_devel.yml b/.github/workflows/sanity_tests_devel.yml new file mode 100644 index 0000000000..98b5494912 --- /dev/null +++ b/.github/workflows/sanity_tests_devel.yml @@ -0,0 +1,32 @@ +name: CI Devel +on: + workflow_dispatch: +env: + NAMESPACE: cisco + COLLECTION_NAME: dnac +jobs: + sanity: + name: Sanity (Ⓐ${{ matrix.ansible }}) + strategy: + matrix: + ansible: + - devel + runs-on: ubuntu-22.04 + steps: + - name: Check out code + uses: actions/checkout@v4 + with: + path: cisco-en-programmability/dnacenter-ansible + - name: Create directory + run: mkdir -p ./ansible_collections/${{env.NAMESPACE}} + - name: Move repository + run: mv ./cisco-en-programmability/dnacenter-ansible ./ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}} + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.11' + - name: Install ansible-base (${{ matrix.ansible }}) + run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check + - name: Run sanity tests + run: ansible-test sanity --docker -v --color + working-directory: ./ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}} diff --git a/README.md b/README.md index 2492d75b9e..4d2835f33d 100644 --- a/README.md +++ b/README.md @@ -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.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 | If your Ansible collection is older please consider updating it first. @@ -44,9 +44,9 @@ ansible-galaxy collection install cisco.dnac:3.3.1 ``` ## Requirements -- Ansible >= 2.9 -- [Python DNA Center SDK](https://github.com/cisco-en-programmability/dnacentersdk) v2.4.7 or newer -- Python >= 3.6, as the DNA Center SDK doesn't support Python version 2.x +- Ansible >= 2.15 +- [Python DNA Center SDK](https://github.com/cisco-en-programmability/dnacentersdk) v2.6.0 or newer +- Python >= 3.9, as the DNA Center SDK doesn't support Python version 2.x ## Install Ansible must be installed ([Install guide](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)) diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 2720b6ee3b..81e4f43487 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -858,3 +858,11 @@ releases: - Added a method to validate IP addresses. - Fixed a minor issue in the site workflow manager module. - Updating galaxy.yml ansible.utils dependencies. + 6.13.3: + release_date: "2024-04-08" + changes: + release_summary: Enhancements in discovery, template, swim and inventory workflow manager modules. + 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 + - Changes in inventory and swim workflow manager modules. diff --git a/galaxy.yml b/galaxy.yml index 2e40b75e16..9858ed672f 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: cisco name: dnac -version: 6.13.2 +version: 6.13.3 readme: README.md authors: - Rafael Campos diff --git a/meta/runtime.yml b/meta/runtime.yml index bcb6dcedc2..9912f4a7d0 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1,2 +1,2 @@ --- -requires_ansible: '>=2.14.0' \ No newline at end of file +requires_ansible: '>=2.15.0' \ No newline at end of file diff --git a/playbooks/device_details.template b/playbooks/device_details.template index 38c95c627d..bdf58ab610 100644 --- a/playbooks/device_details.template +++ b/playbooks/device_details.template @@ -19,25 +19,7 @@ template_details: import_template: do_version: false project_name: 'Onboarding Configuration' - payload: - - name: 'Platinum-Onboarding-Template-J21' - device_types: - - product_family: 'Switches and Hubs' - productSeries: 'Cisco Catalyst 9300 Series Switches' - software_type: 'IOS' - language: 'JINJA' - - name: 'Platinum-Onboarding-Template-J22' - device_types: - - product_family: 'Switches and Hubs' - productSeries: 'Cisco Catalyst 9300 Series Switches' - software_type: 'IOS' - language: 'JINJA' - - name: 'Platinum-Onboarding-Template-J23' - device_types: - - product_family: 'Switches and Hubs' - productSeries: 'Cisco Catalyst 9300 Series Switches' - software_type: 'IOS' - language: 'JINJA' + template_file: 'JSON template file' device_details: - site_name: 'Global/Chennai/Trill' diff --git a/playbooks/template_workflow_manager.yml b/playbooks/template_workflow_manager.yml index f71e29480a..3cfed07e70 100644 --- a/playbooks/template_workflow_manager.yml +++ b/playbooks/template_workflow_manager.yml @@ -13,11 +13,11 @@ dnac_password: "{{ dnac_password }}" dnac_verify: "{{ dnac_verify }}" dnac_debug: "{{ dnac_debug }}" - dnac_log: true - dnac_log_level: "{{ dnac_debug }}" - dnac_log_append: true + dnac_log: True + dnac_log_level: DEBUG + dnac_log_append: True dnac_log_file_path: "{{ dnac_log_file_path }}" - validate_response_schema: false + validate_response_schema: False state: "merged" config_verify: true #ignore_errors: true #Enable this to continue execution even the task fails @@ -41,7 +41,7 @@ template_name: AP_Onboarding import: project: "{{ item.import_project }}" - # template: "{{ item.import_template }}" + template: "{{ item.import_template }}" register: template_result with_items: '{{ template_details }}' tags: diff --git a/plugins/module_utils/dnac.py b/plugins/module_utils/dnac.py index 8064cc5e76..1d4b804cd0 100644 --- a/plugins/module_utils/dnac.py +++ b/plugins/module_utils/dnac.py @@ -510,6 +510,42 @@ def is_valid_ipv4(self, ip_address): except socket.error: return False + def is_path_exists(self, file_path): + """ + Check if the file path 'file_path' exists or not. + + Parameters: + file_path (string) - Path of the provided file. + + Returns: + True/False (bool) - True if the file path exists, else False. + """ + + if not os.path.exists(file_path): + return False + + return True + + def is_json(self, file_path): + """ + Check if the file in the file path is JSON or not. + + Parameters: + file_path (string) - Path of the provided file. + + Returns: + True/False (bool) - True if the file is in JSON format, else False. + """ + + try: + with open(file_path, 'r') as file: + json.load(file) + return True + + except (ValueError, FileNotFoundError): + self.log("The provided file '{0}' is not in JSON format".format(file_path), "CRITICAL") + return False + def is_list_complex(x): return isinstance(x[0], dict) or isinstance(x[0], list) diff --git a/plugins/modules/accesspoint_configuration_details_by_task_id_info.py b/plugins/modules/accesspoint_configuration_details_by_task_id_info.py index 63bf5df7ea..642034e5ca 100644 --- a/plugins/modules/accesspoint_configuration_details_by_task_id_info.py +++ b/plugins/modules/accesspoint_configuration_details_by_task_id_info.py @@ -24,8 +24,8 @@ - Task_id path parameter. Task id information of ap config. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless GetAccessPointConfigurationTaskResult description: Complete reference of the GetAccessPointConfigurationTaskResult API. diff --git a/plugins/modules/app_policy_default_info.py b/plugins/modules/app_policy_default_info.py index 3ad0878fb8..921f7a095f 100644 --- a/plugins/modules/app_policy_default_info.py +++ b/plugins/modules/app_policy_default_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy GetApplicationPolicyDefault description: Complete reference of the GetApplicationPolicyDefault API. diff --git a/plugins/modules/app_policy_info.py b/plugins/modules/app_policy_info.py index d70d8fd441..3479d1edee 100644 --- a/plugins/modules/app_policy_info.py +++ b/plugins/modules/app_policy_info.py @@ -24,8 +24,8 @@ - PolicyScope query parameter. Policy scope name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy GetApplicationPolicy description: Complete reference of the GetApplicationPolicy API. diff --git a/plugins/modules/app_policy_intent_create.py b/plugins/modules/app_policy_intent_create.py index 6c1b468324..fd487ca0c4 100644 --- a/plugins/modules/app_policy_intent_create.py +++ b/plugins/modules/app_policy_intent_create.py @@ -226,8 +226,8 @@ type: dict type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy ApplicationPolicyIntent description: Complete reference of the ApplicationPolicyIntent API. diff --git a/plugins/modules/app_policy_queuing_profile.py b/plugins/modules/app_policy_queuing_profile.py index 769e87fc11..9260ffbf52 100644 --- a/plugins/modules/app_policy_queuing_profile.py +++ b/plugins/modules/app_policy_queuing_profile.py @@ -89,8 +89,8 @@ type: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy CreateApplicationPolicyQueuingProfile description: Complete reference of the CreateApplicationPolicyQueuingProfile API. diff --git a/plugins/modules/app_policy_queuing_profile_count_info.py b/plugins/modules/app_policy_queuing_profile_count_info.py index 5f814ac1db..2a3b2c4dff 100644 --- a/plugins/modules/app_policy_queuing_profile_count_info.py +++ b/plugins/modules/app_policy_queuing_profile_count_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy GetApplicationPolicyQueuingProfileCount description: Complete reference of the GetApplicationPolicyQueuingProfileCount API. diff --git a/plugins/modules/app_policy_queuing_profile_info.py b/plugins/modules/app_policy_queuing_profile_info.py index 860545f2ce..bb89873a67 100644 --- a/plugins/modules/app_policy_queuing_profile_info.py +++ b/plugins/modules/app_policy_queuing_profile_info.py @@ -24,8 +24,8 @@ - Name query parameter. Queuing profile name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy GetApplicationPolicyQueuingProfile description: Complete reference of the GetApplicationPolicyQueuingProfile API. diff --git a/plugins/modules/application_sets.py b/plugins/modules/application_sets.py index 1210f90d68..b4c5dd14c3 100644 --- a/plugins/modules/application_sets.py +++ b/plugins/modules/application_sets.py @@ -29,8 +29,8 @@ type: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy CreateApplicationSet description: Complete reference of the CreateApplicationSet API. diff --git a/plugins/modules/application_sets_count_info.py b/plugins/modules/application_sets_count_info.py index b719237194..bd6336fb7c 100644 --- a/plugins/modules/application_sets_count_info.py +++ b/plugins/modules/application_sets_count_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy GetApplicationSetsCount description: Complete reference of the GetApplicationSetsCount API. diff --git a/plugins/modules/application_sets_info.py b/plugins/modules/application_sets_info.py index 844341de07..168674c87f 100644 --- a/plugins/modules/application_sets_info.py +++ b/plugins/modules/application_sets_info.py @@ -32,8 +32,8 @@ - Name query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy GetApplicationSets description: Complete reference of the GetApplicationSets API. diff --git a/plugins/modules/applications.py b/plugins/modules/applications.py index 22c309bd45..43c18a12bf 100644 --- a/plugins/modules/applications.py +++ b/plugins/modules/applications.py @@ -133,8 +133,8 @@ type: list type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy CreateApplication description: Complete reference of the CreateApplication API. diff --git a/plugins/modules/applications_count_info.py b/plugins/modules/applications_count_info.py index 1c725cb141..cf4eb7d8de 100644 --- a/plugins/modules/applications_count_info.py +++ b/plugins/modules/applications_count_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy GetApplicationsCount description: Complete reference of the GetApplicationsCount API. diff --git a/plugins/modules/applications_health_info.py b/plugins/modules/applications_health_info.py index 4bc998401b..883fd5398b 100644 --- a/plugins/modules/applications_health_info.py +++ b/plugins/modules/applications_health_info.py @@ -64,8 +64,8 @@ - ApplicationName query parameter. The name of the application to get information on. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Applications Applications description: Complete reference of the Applications API. diff --git a/plugins/modules/applications_info.py b/plugins/modules/applications_info.py index 431d62e371..6570ca75d4 100644 --- a/plugins/modules/applications_info.py +++ b/plugins/modules/applications_info.py @@ -32,8 +32,8 @@ - Name query parameter. Application's name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy GetApplications description: Complete reference of the GetApplications API. diff --git a/plugins/modules/assign_device_to_site.py b/plugins/modules/assign_device_to_site.py index fbd3cec3d9..c1da97fe91 100644 --- a/plugins/modules/assign_device_to_site.py +++ b/plugins/modules/assign_device_to_site.py @@ -31,8 +31,8 @@ description: SiteId path parameter. Site id to which site the device to assign. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for AssignDevicesToSite description: Complete reference of the AssignDevicesToSite API. diff --git a/plugins/modules/associate_site_to_network_profile.py b/plugins/modules/associate_site_to_network_profile.py index 7a2aab8e50..b018515566 100644 --- a/plugins/modules/associate_site_to_network_profile.py +++ b/plugins/modules/associate_site_to_network_profile.py @@ -23,8 +23,8 @@ description: SiteId path parameter. Site Id to be associated. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Site Design Associate description: Complete reference of the Associate API. diff --git a/plugins/modules/authentication_import_certificate.py b/plugins/modules/authentication_import_certificate.py index 7cfca0c478..15cb6d2b61 100644 --- a/plugins/modules/authentication_import_certificate.py +++ b/plugins/modules/authentication_import_certificate.py @@ -30,8 +30,8 @@ description: PkPassword query parameter. Private Key Passsword. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Authentication Management ImportCertificate description: Complete reference of the ImportCertificate API. diff --git a/plugins/modules/authentication_import_certificate_p12.py b/plugins/modules/authentication_import_certificate_p12.py index ab19906f74..23d98d2775 100644 --- a/plugins/modules/authentication_import_certificate_p12.py +++ b/plugins/modules/authentication_import_certificate_p12.py @@ -30,8 +30,8 @@ description: PkPassword query parameter. Private Key Passsword. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Authentication Management ImportCertificateP12 description: Complete reference of the ImportCertificateP12 API. diff --git a/plugins/modules/authentication_policy_servers_info.py b/plugins/modules/authentication_policy_servers_info.py index cb5124de79..d0366ecc2a 100644 --- a/plugins/modules/authentication_policy_servers_info.py +++ b/plugins/modules/authentication_policy_servers_info.py @@ -32,8 +32,8 @@ - Role query parameter. Authentication and Policy Server Role (Example primary, secondary). type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for System Settings GetAuthenticationAndPolicyServers description: Complete reference of the GetAuthenticationAndPolicyServers API. diff --git a/plugins/modules/buildings_planned_access_points_info.py b/plugins/modules/buildings_planned_access_points_info.py index 07dda3ca9e..20aaae21a1 100644 --- a/plugins/modules/buildings_planned_access_points_info.py +++ b/plugins/modules/buildings_planned_access_points_info.py @@ -36,8 +36,8 @@ - Radios query parameter. Inlcude planned radio details. type: bool requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetPlannedAccessPointsForBuilding description: Complete reference of the GetPlannedAccessPointsForBuilding API. diff --git a/plugins/modules/business_sda_hostonboarding_ssid_ippool.py b/plugins/modules/business_sda_hostonboarding_ssid_ippool.py index daa0bbc005..53a47bdc98 100644 --- a/plugins/modules/business_sda_hostonboarding_ssid_ippool.py +++ b/plugins/modules/business_sda_hostonboarding_ssid_ippool.py @@ -34,8 +34,8 @@ description: VLAN Name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Fabric Wireless AddSSIDToIPPoolMapping description: Complete reference of the AddSSIDToIPPoolMapping API. diff --git a/plugins/modules/business_sda_hostonboarding_ssid_ippool_info.py b/plugins/modules/business_sda_hostonboarding_ssid_ippool_info.py index 6ecfdd80fb..7de5bd47ff 100644 --- a/plugins/modules/business_sda_hostonboarding_ssid_ippool_info.py +++ b/plugins/modules/business_sda_hostonboarding_ssid_ippool_info.py @@ -28,8 +28,8 @@ - SiteNameHierarchy query parameter. Site Name Heirarchy. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Fabric Wireless GetSSIDToIPPoolMapping description: Complete reference of the GetSSIDToIPPoolMapping API. diff --git a/plugins/modules/business_sda_virtual_network_summary_info.py b/plugins/modules/business_sda_virtual_network_summary_info.py index 941822ad5c..beb749da61 100644 --- a/plugins/modules/business_sda_virtual_network_summary_info.py +++ b/plugins/modules/business_sda_virtual_network_summary_info.py @@ -24,8 +24,8 @@ - SiteNameHierarchy query parameter. Complete fabric siteNameHierarchy Path. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for GetVirtualNetworkSummary description: Complete reference of the GetVirtualNetworkSummary API. diff --git a/plugins/modules/business_sda_wireless_controller_create.py b/plugins/modules/business_sda_wireless_controller_create.py index 1d9993a6c4..9b1619f907 100644 --- a/plugins/modules/business_sda_wireless_controller_create.py +++ b/plugins/modules/business_sda_wireless_controller_create.py @@ -23,8 +23,8 @@ description: Site Name Hierarchy. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Fabric Wireless AddWLCToFabricDomain description: Complete reference of the AddWLCToFabricDomain API. diff --git a/plugins/modules/business_sda_wireless_controller_delete.py b/plugins/modules/business_sda_wireless_controller_delete.py index 4ca615500b..3231a6e233 100644 --- a/plugins/modules/business_sda_wireless_controller_delete.py +++ b/plugins/modules/business_sda_wireless_controller_delete.py @@ -23,8 +23,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Fabric Wireless RemoveWLCFromFabricDomain description: Complete reference of the RemoveWLCFromFabricDomain API. diff --git a/plugins/modules/cli_credential.py b/plugins/modules/cli_credential.py index d7b542962e..9a7c0e4890 100644 --- a/plugins/modules/cli_credential.py +++ b/plugins/modules/cli_credential.py @@ -45,8 +45,8 @@ description: Cli Credential's username. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery CreateCLICredentials description: Complete reference of the CreateCLICredentials API. diff --git a/plugins/modules/client_detail_info.py b/plugins/modules/client_detail_info.py index a823da7b54..5cc6ca6d93 100644 --- a/plugins/modules/client_detail_info.py +++ b/plugins/modules/client_detail_info.py @@ -28,8 +28,8 @@ - MacAddress query parameter. MAC Address of the client. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Clients GetClientDetail description: Complete reference of the GetClientDetail API. diff --git a/plugins/modules/client_enrichment_details_info.py b/plugins/modules/client_enrichment_details_info.py index da1fd47d2f..54be2389af 100644 --- a/plugins/modules/client_enrichment_details_info.py +++ b/plugins/modules/client_enrichment_details_info.py @@ -22,8 +22,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Clients GetClientEnrichmentDetails description: Complete reference of the GetClientEnrichmentDetails API. diff --git a/plugins/modules/client_health_info.py b/plugins/modules/client_health_info.py index 2def53c982..f036bb5bdb 100644 --- a/plugins/modules/client_health_info.py +++ b/plugins/modules/client_health_info.py @@ -24,8 +24,8 @@ - Timestamp query parameter. Epoch time(in milliseconds) when the Client health data is required. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Clients GetOverallClientHealth description: Complete reference of the GetOverallClientHealth API. diff --git a/plugins/modules/client_proximity_info.py b/plugins/modules/client_proximity_info.py index d65c51e09f..7d30d7542e 100644 --- a/plugins/modules/client_proximity_info.py +++ b/plugins/modules/client_proximity_info.py @@ -40,8 +40,8 @@ with a minimum 5 minutes. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Clients ClientProximity description: Complete reference of the ClientProximity API. diff --git a/plugins/modules/command_runner_run_command.py b/plugins/modules/command_runner_run_command.py index 34222b28fb..5b12002ede 100644 --- a/plugins/modules/command_runner_run_command.py +++ b/plugins/modules/command_runner_run_command.py @@ -34,8 +34,8 @@ description: Command Runner Run Command's timeout. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Command Runner RunReadOnlyCommandsOnDevicesToGetTheirRealTimeConfiguration description: Complete reference of the RunReadOnlyCommandsOnDevicesToGetTheirRealTimeConfiguration API. diff --git a/plugins/modules/compliance_check_run.py b/plugins/modules/compliance_check_run.py index 6d9a5c6bc6..c244f41f85 100644 --- a/plugins/modules/compliance_check_run.py +++ b/plugins/modules/compliance_check_run.py @@ -28,8 +28,8 @@ description: TriggerFull flag. type: bool requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Compliance RunCompliance description: Complete reference of the RunCompliance API. diff --git a/plugins/modules/compliance_device_by_id_info.py b/plugins/modules/compliance_device_by_id_info.py index 92e2f73bb0..99d967c02a 100644 --- a/plugins/modules/compliance_device_by_id_info.py +++ b/plugins/modules/compliance_device_by_id_info.py @@ -46,8 +46,8 @@ - Value query parameter. Extended attribute value. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Compliance ComplianceDetailsOfDevice description: Complete reference of the ComplianceDetailsOfDevice API. diff --git a/plugins/modules/compliance_device_details_count_info.py b/plugins/modules/compliance_device_details_count_info.py index 2bc29a3056..a51939ed4d 100644 --- a/plugins/modules/compliance_device_details_count_info.py +++ b/plugins/modules/compliance_device_details_count_info.py @@ -32,8 +32,8 @@ 'IN_PROGRESS', 'NOT_AVAILABLE', 'NOT_APPLICABLE', 'ERROR'. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Compliance GetComplianceDetailCount description: Complete reference of the GetComplianceDetailCount API. diff --git a/plugins/modules/compliance_device_details_info.py b/plugins/modules/compliance_device_details_info.py index 9eb00777b4..bc06458f28 100644 --- a/plugins/modules/compliance_device_details_info.py +++ b/plugins/modules/compliance_device_details_info.py @@ -44,8 +44,8 @@ - Limit query parameter. Number of records to be retrieved. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Compliance GetComplianceDetail description: Complete reference of the GetComplianceDetail API. diff --git a/plugins/modules/compliance_device_info.py b/plugins/modules/compliance_device_info.py index d256f41d83..38eaafb12c 100644 --- a/plugins/modules/compliance_device_info.py +++ b/plugins/modules/compliance_device_info.py @@ -40,8 +40,8 @@ - Limit query parameter. Number of records to be retrieved. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Compliance DeviceComplianceStatus description: Complete reference of the DeviceComplianceStatus API. diff --git a/plugins/modules/compliance_device_status_count_info.py b/plugins/modules/compliance_device_status_count_info.py index ef33aae083..6c7897f94d 100644 --- a/plugins/modules/compliance_device_status_count_info.py +++ b/plugins/modules/compliance_device_status_count_info.py @@ -26,8 +26,8 @@ 'IN_PROGRESS', 'NOT_AVAILABLE', 'NOT_APPLICABLE', 'ERROR'. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Compliance GetComplianceStatusCount description: Complete reference of the GetComplianceStatusCount API. diff --git a/plugins/modules/configuration_template.py b/plugins/modules/configuration_template.py index 35dc21ac53..05e7acf351 100644 --- a/plugins/modules/configuration_template.py +++ b/plugins/modules/configuration_template.py @@ -512,8 +512,8 @@ description: Current version of template. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates DeletesTheTemplate description: Complete reference of the DeletesTheTemplate API. diff --git a/plugins/modules/configuration_template_clone.py b/plugins/modules/configuration_template_clone.py index be0a5c1cb7..c21257ba40 100644 --- a/plugins/modules/configuration_template_clone.py +++ b/plugins/modules/configuration_template_clone.py @@ -28,8 +28,8 @@ description: TemplateId path parameter. UUID of the template to clone it. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates CreatesACloneOfTheGivenTemplate description: Complete reference of the CreatesACloneOfTheGivenTemplate API. diff --git a/plugins/modules/configuration_template_create.py b/plugins/modules/configuration_template_create.py index 4bb6a9a7b5..f5beee649b 100644 --- a/plugins/modules/configuration_template_create.py +++ b/plugins/modules/configuration_template_create.py @@ -508,8 +508,8 @@ description: Current version of template. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates CreateTemplate description: Complete reference of the CreateTemplate API. diff --git a/plugins/modules/configuration_template_deploy.py b/plugins/modules/configuration_template_deploy.py index 537fa850c0..a1b1b5265b 100644 --- a/plugins/modules/configuration_template_deploy.py +++ b/plugins/modules/configuration_template_deploy.py @@ -55,8 +55,8 @@ description: UUID of template to be provisioned. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates DeployTemplate description: Complete reference of the DeployTemplate API. diff --git a/plugins/modules/configuration_template_deploy_status_info.py b/plugins/modules/configuration_template_deploy_status_info.py index 21fd83a51b..46c7439eb5 100644 --- a/plugins/modules/configuration_template_deploy_status_info.py +++ b/plugins/modules/configuration_template_deploy_status_info.py @@ -24,8 +24,8 @@ - DeploymentId path parameter. UUID of deployment to retrieve template deployment status. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates StatusOfTemplateDeployment description: Complete reference of the StatusOfTemplateDeployment API. diff --git a/plugins/modules/configuration_template_deploy_v2.py b/plugins/modules/configuration_template_deploy_v2.py index 3994417064..af7f1094d4 100644 --- a/plugins/modules/configuration_template_deploy_v2.py +++ b/plugins/modules/configuration_template_deploy_v2.py @@ -55,8 +55,8 @@ description: UUID of template to be provisioned. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates DeployTemplateV2 description: Complete reference of the DeployTemplateV2 API. diff --git a/plugins/modules/configuration_template_export_project.py b/plugins/modules/configuration_template_export_project.py index 377f4fbeb1..f414750054 100644 --- a/plugins/modules/configuration_template_export_project.py +++ b/plugins/modules/configuration_template_export_project.py @@ -21,8 +21,8 @@ elements: dict type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates ExportsTheProjectsForAGivenCriteria description: Complete reference of the ExportsTheProjectsForAGivenCriteria API. diff --git a/plugins/modules/configuration_template_export_template.py b/plugins/modules/configuration_template_export_template.py index df4a583232..d460cef406 100644 --- a/plugins/modules/configuration_template_export_template.py +++ b/plugins/modules/configuration_template_export_template.py @@ -21,8 +21,8 @@ elements: dict type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates ExportsTheTemplatesForAGivenCriteria description: Complete reference of the ExportsTheTemplatesForAGivenCriteria API. diff --git a/plugins/modules/configuration_template_import_project.py b/plugins/modules/configuration_template_import_project.py index 2846658632..37b2096e4e 100644 --- a/plugins/modules/configuration_template_import_project.py +++ b/plugins/modules/configuration_template_import_project.py @@ -23,8 +23,8 @@ fails with 'Template already exists' error. type: bool requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates ImportsTheProjectsProvided description: Complete reference of the ImportsTheProjectsProvided API. diff --git a/plugins/modules/configuration_template_import_template.py b/plugins/modules/configuration_template_import_template.py index fc612c50fb..7f9cf31f6b 100644 --- a/plugins/modules/configuration_template_import_template.py +++ b/plugins/modules/configuration_template_import_template.py @@ -523,8 +523,8 @@ project. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates ImportsTheTemplatesProvided description: Complete reference of the ImportsTheTemplatesProvided API. diff --git a/plugins/modules/configuration_template_info.py b/plugins/modules/configuration_template_info.py index 993d2e0b5a..ad9e264cf9 100644 --- a/plugins/modules/configuration_template_info.py +++ b/plugins/modules/configuration_template_info.py @@ -76,8 +76,8 @@ - LatestVersion query parameter. LatestVersion flag to get the latest versioned template. type: bool requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates GetsDetailsOfAGivenTemplate description: Complete reference of the GetsDetailsOfAGivenTemplate API. diff --git a/plugins/modules/configuration_template_project.py b/plugins/modules/configuration_template_project.py index 518ac61f9d..7678e283c8 100644 --- a/plugins/modules/configuration_template_project.py +++ b/plugins/modules/configuration_template_project.py @@ -546,8 +546,8 @@ type: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates CreateProject description: Complete reference of the CreateProject API. diff --git a/plugins/modules/configuration_template_project_info.py b/plugins/modules/configuration_template_project_info.py index d5d60407f9..f200203db6 100644 --- a/plugins/modules/configuration_template_project_info.py +++ b/plugins/modules/configuration_template_project_info.py @@ -34,8 +34,8 @@ - ProjectId path parameter. ProjectId(UUID) of project to get project details. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates GetsAListOfProjects description: Complete reference of the GetsAListOfProjects API. diff --git a/plugins/modules/configuration_template_version_create.py b/plugins/modules/configuration_template_version_create.py index b3210a7c43..d0317ea84c 100644 --- a/plugins/modules/configuration_template_version_create.py +++ b/plugins/modules/configuration_template_version_create.py @@ -23,8 +23,8 @@ description: UUID of template. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates VersionTemplate description: Complete reference of the VersionTemplate API. diff --git a/plugins/modules/configuration_template_version_info.py b/plugins/modules/configuration_template_version_info.py index 0f69566512..0dfdb8a930 100644 --- a/plugins/modules/configuration_template_version_info.py +++ b/plugins/modules/configuration_template_version_info.py @@ -24,8 +24,8 @@ - TemplateId path parameter. TemplateId(UUID) to get list of versioned templates. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates GetsAllTheVersionsOfAGivenTemplate description: Complete reference of the GetsAllTheVersionsOfAGivenTemplate API. diff --git a/plugins/modules/credential_to_site_by_siteid_create_v2.py b/plugins/modules/credential_to_site_by_siteid_create_v2.py index 44f2a99db8..1ee9e33a91 100644 --- a/plugins/modules/credential_to_site_by_siteid_create_v2.py +++ b/plugins/modules/credential_to_site_by_siteid_create_v2.py @@ -38,8 +38,8 @@ description: SNMPv3 Credential Id. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings AssignDeviceCredentialToSiteV2 description: Complete reference of the AssignDeviceCredentialToSiteV2 API. diff --git a/plugins/modules/device_configurations_export.py b/plugins/modules/device_configurations_export.py index 8f761afc24..4d7ba14db0 100644 --- a/plugins/modules/device_configurations_export.py +++ b/plugins/modules/device_configurations_export.py @@ -24,8 +24,8 @@ description: Password. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Archive ExportDeviceConfigurations description: Complete reference of the ExportDeviceConfigurations API. diff --git a/plugins/modules/device_credential_create.py b/plugins/modules/device_credential_create.py index d5732808b2..b26ec83a09 100644 --- a/plugins/modules/device_credential_create.py +++ b/plugins/modules/device_credential_create.py @@ -120,8 +120,8 @@ type: list type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings CreateDeviceCredentials description: Complete reference of the CreateDeviceCredentials API. diff --git a/plugins/modules/device_credential_delete.py b/plugins/modules/device_credential_delete.py index 42cd7bf9a2..73d1449977 100644 --- a/plugins/modules/device_credential_delete.py +++ b/plugins/modules/device_credential_delete.py @@ -20,8 +20,8 @@ description: Id path parameter. Global credential id. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings DeleteDeviceCredential description: Complete reference of the DeleteDeviceCredential API. diff --git a/plugins/modules/device_credential_info.py b/plugins/modules/device_credential_info.py index 184d82056b..27175a6692 100644 --- a/plugins/modules/device_credential_info.py +++ b/plugins/modules/device_credential_info.py @@ -24,8 +24,8 @@ - SiteId query parameter. Site id to retrieve the credential details associated with the site. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings GetDeviceCredentialDetails description: Complete reference of the GetDeviceCredentialDetails API. diff --git a/plugins/modules/device_credential_intent.py b/plugins/modules/device_credential_intent.py index 99b56df6ec..3b887aa8d2 100644 --- a/plugins/modules/device_credential_intent.py +++ b/plugins/modules/device_credential_intent.py @@ -298,8 +298,8 @@ description: snmp_v3 Credential Id. Use Description or Id. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery CreateGlobalCredentialsV2 description: Complete reference of the CreateGlobalCredentialsV2 API. @@ -892,9 +892,9 @@ def get_site_id(self, site_name): _id = response.get("response")[0].get("id") self.log("Site ID for the site name {0}: {1}".format(site_name, _id), "INFO") - except Exception as exec: + except Exception as e: self.log("Exception occurred while getting site_id from the site_name: {0}" - .format(exec), "CRITICAL") + .format(e), "CRITICAL") return None return _id @@ -918,9 +918,9 @@ def get_global_credentials_params(self): global_credentials = global_credentials.get("response") self.log("All global device credentials details: {0}" .format(global_credentials), "DEBUG") - except Exception as exec: + except Exception as e: self.log("Exception occurred while getting global device credentials: {0}" - .format(exec), "CRITICAL") + .format(e), "CRITICAL") return None return global_credentials diff --git a/plugins/modules/device_credential_update.py b/plugins/modules/device_credential_update.py index f17c18fbd3..7c5cafd5ba 100644 --- a/plugins/modules/device_credential_update.py +++ b/plugins/modules/device_credential_update.py @@ -132,8 +132,8 @@ type: dict type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings UpdateDeviceCredentials description: Complete reference of the UpdateDeviceCredentials API. diff --git a/plugins/modules/device_credential_workflow_manager.py b/plugins/modules/device_credential_workflow_manager.py index f74aded0d2..a6d188de40 100644 --- a/plugins/modules/device_credential_workflow_manager.py +++ b/plugins/modules/device_credential_workflow_manager.py @@ -298,8 +298,8 @@ description: snmp_v3 Credential Id. Use Description or Id. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco Catalyst Center documentation for Discovery CreateGlobalCredentialsV2 description: Complete reference of the CreateGlobalCredentialsV2 API. @@ -891,9 +891,9 @@ def get_site_id(self, site_name): _id = response.get("response")[0].get("id") self.log("Site ID for the site name {0}: {1}".format(site_name, _id), "INFO") - except Exception as exec: + except Exception as e: self.log("Exception occurred while getting site_id from the site_name: {0}" - .format(exec), "CRITICAL") + .format(e), "CRITICAL") return None return _id @@ -917,9 +917,9 @@ def get_global_credentials_params(self): global_credentials = global_credentials.get("response") self.log("All global device credentials details: {0}" .format(global_credentials), "DEBUG") - except Exception as exec: + except Exception as e: self.log("Exception occurred while getting global device credentials: {0}" - .format(exec), "CRITICAL") + .format(e), "CRITICAL") return None return global_credentials diff --git a/plugins/modules/device_details_info.py b/plugins/modules/device_details_info.py index 108be2c425..05793acd29 100644 --- a/plugins/modules/device_details_info.py +++ b/plugins/modules/device_details_info.py @@ -32,8 +32,8 @@ - Identifier query parameter. One of keywords macAddress or uuid or nwDeviceName. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetDeviceDetail description: Complete reference of the GetDeviceDetail API. diff --git a/plugins/modules/device_enrichment_details_info.py b/plugins/modules/device_enrichment_details_info.py index c0be8c613d..37a46f792f 100644 --- a/plugins/modules/device_enrichment_details_info.py +++ b/plugins/modules/device_enrichment_details_info.py @@ -22,8 +22,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetDeviceEnrichmentDetails description: Complete reference of the GetDeviceEnrichmentDetails API. diff --git a/plugins/modules/device_family_identifiers_details_info.py b/plugins/modules/device_family_identifiers_details_info.py index 515a0d94ae..97736aa741 100644 --- a/plugins/modules/device_family_identifiers_details_info.py +++ b/plugins/modules/device_family_identifiers_details_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Software Image Management (SWIM) GetDeviceFamilyIdentifiers description: Complete reference of the GetDeviceFamilyIdentifiers API. diff --git a/plugins/modules/device_health_info.py b/plugins/modules/device_health_info.py index 9b329a7ab7..7b0775f33e 100644 --- a/plugins/modules/device_health_info.py +++ b/plugins/modules/device_health_info.py @@ -50,8 +50,8 @@ - Offset query parameter. The offset of the first device in the returned data. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices Devices description: Complete reference of the Devices API. diff --git a/plugins/modules/device_interface_by_ip_info.py b/plugins/modules/device_interface_by_ip_info.py index 7d5d984f55..df7223b150 100644 --- a/plugins/modules/device_interface_by_ip_info.py +++ b/plugins/modules/device_interface_by_ip_info.py @@ -24,8 +24,8 @@ - IpAddress path parameter. IP address of the interface. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetInterfaceByIP description: Complete reference of the GetInterfaceByIP API. diff --git a/plugins/modules/device_interface_count_info.py b/plugins/modules/device_interface_count_info.py index 24e0290a6b..01d3361fbb 100644 --- a/plugins/modules/device_interface_count_info.py +++ b/plugins/modules/device_interface_count_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetDeviceInterfaceCount description: Complete reference of the GetDeviceInterfaceCount API. diff --git a/plugins/modules/device_interface_info.py b/plugins/modules/device_interface_info.py index 5f484a5201..31b2bc4c64 100644 --- a/plugins/modules/device_interface_info.py +++ b/plugins/modules/device_interface_info.py @@ -42,8 +42,8 @@ - Id path parameter. Interface ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetAllInterfaces description: Complete reference of the GetAllInterfaces API. diff --git a/plugins/modules/device_interface_isis_info.py b/plugins/modules/device_interface_isis_info.py index 242344a184..798c478215 100644 --- a/plugins/modules/device_interface_isis_info.py +++ b/plugins/modules/device_interface_isis_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetISISInterfaces description: Complete reference of the GetISISInterfaces API. diff --git a/plugins/modules/device_interface_ospf_info.py b/plugins/modules/device_interface_ospf_info.py index 759f4584a7..ed87a4b0cd 100644 --- a/plugins/modules/device_interface_ospf_info.py +++ b/plugins/modules/device_interface_ospf_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetOSPFInterfaces description: Complete reference of the GetOSPFInterfaces API. diff --git a/plugins/modules/device_reboot_apreboot.py b/plugins/modules/device_reboot_apreboot.py index 78a33dfd4b..92e7c41ee0 100644 --- a/plugins/modules/device_reboot_apreboot.py +++ b/plugins/modules/device_reboot_apreboot.py @@ -21,8 +21,8 @@ elements: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless RebootAccessPoints description: Complete reference of the RebootAccessPoints API. diff --git a/plugins/modules/device_reboot_apreboot_info.py b/plugins/modules/device_reboot_apreboot_info.py index 09203ba5e8..c4e500062a 100644 --- a/plugins/modules/device_reboot_apreboot_info.py +++ b/plugins/modules/device_reboot_apreboot_info.py @@ -24,8 +24,8 @@ - ParentTaskId query parameter. Task id of ap reboot request. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless GetAccessPointRebootTaskResult description: Complete reference of the GetAccessPointRebootTaskResult API. diff --git a/plugins/modules/device_replacement.py b/plugins/modules/device_replacement.py index e6ec8cbdce..a5353ddd06 100644 --- a/plugins/modules/device_replacement.py +++ b/plugins/modules/device_replacement.py @@ -65,8 +65,8 @@ type: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Replacement MarkDeviceForReplacement description: Complete reference of the MarkDeviceForReplacement API. diff --git a/plugins/modules/device_replacement_count_info.py b/plugins/modules/device_replacement_count_info.py index c15cf18dff..8aae86979d 100644 --- a/plugins/modules/device_replacement_count_info.py +++ b/plugins/modules/device_replacement_count_info.py @@ -27,8 +27,8 @@ elements: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Replacement ReturnReplacementDevicesCount description: Complete reference of the ReturnReplacementDevicesCount API. diff --git a/plugins/modules/device_replacement_deploy.py b/plugins/modules/device_replacement_deploy.py index 14f591d2de..81dfc92516 100644 --- a/plugins/modules/device_replacement_deploy.py +++ b/plugins/modules/device_replacement_deploy.py @@ -25,8 +25,8 @@ description: Device Replacement Deploy's replacementDeviceSerialNumber. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Replacement DeployDeviceReplacementWorkflow description: Complete reference of the DeployDeviceReplacementWorkflow API. diff --git a/plugins/modules/device_replacement_info.py b/plugins/modules/device_replacement_info.py index 91977952aa..4dd9756d5f 100644 --- a/plugins/modules/device_replacement_info.py +++ b/plugins/modules/device_replacement_info.py @@ -71,8 +71,8 @@ - Limit query parameter. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Replacement ReturnListOfReplacementDevicesWithReplacementDetails description: Complete reference of the ReturnListOfReplacementDevicesWithReplacementDetails API. diff --git a/plugins/modules/disassociate_site_to_network_profile.py b/plugins/modules/disassociate_site_to_network_profile.py index de80f579b5..2972ac7f20 100644 --- a/plugins/modules/disassociate_site_to_network_profile.py +++ b/plugins/modules/disassociate_site_to_network_profile.py @@ -23,8 +23,8 @@ description: SiteId path parameter. Site Id to be associated. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Site Design Disassociate description: Complete reference of the Disassociate API. diff --git a/plugins/modules/disasterrecovery_system_operationstatus_info.py b/plugins/modules/disasterrecovery_system_operationstatus_info.py index 8e05a778e2..1c6621afee 100644 --- a/plugins/modules/disasterrecovery_system_operationstatus_info.py +++ b/plugins/modules/disasterrecovery_system_operationstatus_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are disaster_recovery.DisasterRecovery.disaster_recovery_operational_status, diff --git a/plugins/modules/disasterrecovery_system_status_info.py b/plugins/modules/disasterrecovery_system_status_info.py index 40356c0f7a..f1c3c318cf 100644 --- a/plugins/modules/disasterrecovery_system_status_info.py +++ b/plugins/modules/disasterrecovery_system_status_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are disaster_recovery.DisasterRecovery.disaster_recovery_status, diff --git a/plugins/modules/discovery.py b/plugins/modules/discovery.py index 10e7e37a9d..94fca37e00 100644 --- a/plugins/modules/discovery.py +++ b/plugins/modules/discovery.py @@ -214,8 +214,8 @@ description: Discovery's userNameList. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery StartDiscovery description: Complete reference of the StartDiscovery API. diff --git a/plugins/modules/discovery_count_info.py b/plugins/modules/discovery_count_info.py index 6622742f75..59f92499a0 100644 --- a/plugins/modules/discovery_count_info.py +++ b/plugins/modules/discovery_count_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery GetCountOfAllDiscoveryJobs description: Complete reference of the GetCountOfAllDiscoveryJobs API. diff --git a/plugins/modules/discovery_device_count_info.py b/plugins/modules/discovery_device_count_info.py index b258a513d4..51da8df803 100644 --- a/plugins/modules/discovery_device_count_info.py +++ b/plugins/modules/discovery_device_count_info.py @@ -30,8 +30,8 @@ - TaskId query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery GetDevicesDiscoveredById description: Complete reference of the GetDevicesDiscoveredById API. diff --git a/plugins/modules/discovery_device_info.py b/plugins/modules/discovery_device_info.py index 345000ca0d..2bc42ae22b 100644 --- a/plugins/modules/discovery_device_info.py +++ b/plugins/modules/discovery_device_info.py @@ -30,8 +30,8 @@ - TaskId query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery GetDiscoveredNetworkDevicesByDiscoveryId description: Complete reference of the GetDiscoveredNetworkDevicesByDiscoveryId API. diff --git a/plugins/modules/discovery_device_range_info.py b/plugins/modules/discovery_device_range_info.py index 47dcb08714..ade1f28280 100644 --- a/plugins/modules/discovery_device_range_info.py +++ b/plugins/modules/discovery_device_range_info.py @@ -38,8 +38,8 @@ - TaskId query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery GetDiscoveredDevicesByRange description: Complete reference of the GetDiscoveredDevicesByRange API. diff --git a/plugins/modules/discovery_info.py b/plugins/modules/discovery_info.py index 6892269380..68d1cc74f4 100644 --- a/plugins/modules/discovery_info.py +++ b/plugins/modules/discovery_info.py @@ -24,8 +24,8 @@ - Id path parameter. Discovery ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery GetDiscoveryById description: Complete reference of the GetDiscoveryById API. diff --git a/plugins/modules/discovery_intent.py b/plugins/modules/discovery_intent.py index 33eabf254a..a71ef6be81 100644 --- a/plugins/modules/discovery_intent.py +++ b/plugins/modules/discovery_intent.py @@ -59,7 +59,8 @@ pass a list with single element like - 10.197.156.22. For CIDR based discovery, we should pass a list with single element like - 10.197.156.22/22. For RANGE based discovery, we should pass a list with single element and range like - 10.197.156.1-10.197.156.100. For MULTI RANGE based discovery, we should pass a list with multiple - elementd like - 10.197.156.1-10.197.156.100 and in next line - 10.197.157.1-10.197.157.100. + elementd like - 10.197.156.1-10.197.156.100 and in next line - 10.197.157.1-10.197.157.100. Maximum of 8 IP address ranges + are allowed. type: list elements: str required: true @@ -328,7 +329,7 @@ default: False requirements: - dnacentersdk == 2.6.10 -- python >= 3.5 +- python >= 3.9 notes: - SDK Method used are discovery.Discovery.get_all_global_credentials_v2, @@ -1060,6 +1061,10 @@ def preprocess_device_discovery(self, ip_address_list=None): else: self.preprocess_device_discovery_handle_error() else: + if len(ip_address_list) > 8: + msg = "Maximum of 8 IP ranges are allowed." + self.log(msg, "CRITICAL") + self.module.fail_json(msg=msg) new_ip_collected = [] for ip in ip_address_list: if len(str(ip).split("-")) != 2: @@ -1305,11 +1310,11 @@ def create_discovery(self, ip_address_list=None): self.log("Task Id of the API task created is {0}".format(result.response.get('taskId')), "INFO") return result.response.get('taskId') - def get_task_status(self, task_id=None): + def get_merged_task_status(self, task_id=None): """ - Monitor the status of a task in the Cisco Catalyst Center. It checks the task - status periodically until the task is no longer 'In Progress'. - If the task encounters an error or fails, it immediately fails the + Monitor the status of a task of creation of dicovery in the Cisco Catalyst Center. + It checks the task status periodically until the task is no longer 'In Progress' + or other states. If the task encounters an error or fails, it immediately fails the module and returns False. Parameters: @@ -1329,7 +1334,7 @@ def get_task_status(self, task_id=None): op_modifies=True, ) response = response.response - self.log("Task status for the task id {0} is {1}".format(str(task_id), str(response)), "INFO") + self.log("Task status for the task id {0} is {1}, is_error: {2}".format(str(task_id), str(response), str(response.get('isError'))), "INFO") if response.get('isError') or re.search( 'failed', response.get('progress'), flags=re.IGNORECASE ): @@ -1338,17 +1343,62 @@ def get_task_status(self, task_id=None): self.log(msg, "CRITICAL") self.module.fail_json(msg=msg) return False + self.log("Task status for the task id (before checking status) {0} is {1}".format(str(task_id), str(response)), "INFO") progress = response.get('progress') - if progress in ('In Progress', 'Inventory service initiating discovery'): + try: + progress_value = int(progress) + result = True + self.log("The discovery process is completed", "INFO") + self.result.update(dict(discovery_task=response)) + return result + except Exception: + self.log("The progress status is {0}, continue to check the status after 3 seconds. Putting into sleep for 3 seconds".format(progress)) time.sleep(3) - continue - else: + + def get_deleted_task_status(self, task_id=None): + """ + Monitor the status of a task of deletion of dicovery in the Cisco Catalyst Center. + It checks the itask status periodically until the task is 'Discovery deleted successfully'. + If the task encounters an error or fails, it immediately fails the module and returns False. + + Parameters: + - task_id: The ID of the task to monitor. + + Returns: + - result: True if the task completed successfully, False otherwise. + """ + + result = False + params = dict(task_id=task_id) + while True: + response = self.dnac_apply['exec']( + family="task", + function='get_task_by_id', + params=params, + op_modifies=True, + ) + response = response.response + self.log("Task status for the task id {0} is {1}, is_error: {2}".format(str(task_id), str(response), str(response.get('isError'))), "INFO") + if response.get('isError') or re.search( + 'failed', response.get('progress'), flags=re.IGNORECASE + ): + msg = 'Discovery task with id {0} has not completed - Reason: {1}'.format( + task_id, response.get("failureReason")) + self.log(msg, "CRITICAL") + self.module.fail_json(msg=msg) + return False + + self.log("Task status for the task id (before checking status) {0} is {1}".format(str(task_id), str(response)), "INFO") + progress = response.get('progress') + if re.search('Discovery deleted successfully.', response.get('progress')): result = True - self.log("The Process is completed", "INFO") - break - self.result.update(dict(discovery_task=response)) - return result + self.log("The discovery process is completed", "INFO") + self.result.update(dict(discovery_task=response)) + return result + + self.log("The progress status is {0}, continue to check the status after 3 seconds. Putting into sleep for 3 seconds".format(progress)) + time.sleep(3) def lookup_discovery_by_range_via_name(self): """ @@ -1414,6 +1464,7 @@ def get_discoveries_by_range_until_success(self): """ result = False + aborted = False discovery = self.lookup_discovery_by_range_via_name() if not discovery: @@ -1424,17 +1475,25 @@ def get_discoveries_by_range_until_success(self): while True: discovery = self.lookup_discovery_by_range_via_name() - if discovery.get('discoveryCondition') == 'Complete': + discovery_condition = discovery.get('discoveryCondition') + if discovery_condition == 'Complete': result = True break - + elif discovery_condition == 'Aborted': + aborted = True + break time.sleep(3) if not result: - msg = 'Cannot find any discovery task with name {0} -- Discovery result: {1}'.format( - str(self.validated_config[0].get("discovery_name")), str(discovery)) - self.log(msg, "CRITICAL") - self.module.fail_json(msg=msg) + if aborted is True: + msg = 'Discovery with name {0} is aborted by the user on the GUI'.format(str(self.validated_config[0].get("discovery_name"))) + self.log(msg, "CRITICAL") + self.module.fail_json(msg=msg) + else: + msg = 'Cannot find any discovery task with name {0} -- Discovery result: {1}'.format( + str(self.validated_config[0].get("discovery_name")), str(discovery)) + self.log(msg, "CRITICAL") + self.module.fail_json(msg=msg) self.result.update(dict(discovery_range=discovery)) return discovery @@ -1563,11 +1622,11 @@ def get_diff_merged(self): if exist_discovery: params = dict(id=exist_discovery.get('id')) discovery_task_id = self.delete_exist_discovery(params=params) - complete_discovery = self.get_task_status(task_id=discovery_task_id) + complete_discovery = self.get_deleted_task_status(task_id=discovery_task_id) discovery_task_id = self.create_discovery( ip_address_list=ip_address_list) - complete_discovery = self.get_task_status(task_id=discovery_task_id) + complete_discovery = self.get_merged_task_status(task_id=discovery_task_id) discovery_task_info = self.get_discoveries_by_range_until_success() result = self.get_discovery_device_info(discovery_id=discovery_task_info.get('id')) self.result["changed"] = True @@ -1620,7 +1679,7 @@ def get_diff_deleted(self): params = dict(id=exist_discovery.get('id')) discovery_task_id = self.delete_exist_discovery(params=params) - complete_discovery = self.get_task_status(task_id=discovery_task_id) + complete_discovery = self.get_deleted_task_status(task_id=discovery_task_id) self.result["changed"] = True self.result['msg'] = "Successfully deleted discovery" self.result['diff'] = self.validated_config diff --git a/plugins/modules/discovery_job_info.py b/plugins/modules/discovery_job_info.py index 202f57c800..2e6de4f14f 100644 --- a/plugins/modules/discovery_job_info.py +++ b/plugins/modules/discovery_job_info.py @@ -44,8 +44,8 @@ - Id path parameter. Discovery ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery GetDiscoveryJobsByIP description: Complete reference of the GetDiscoveryJobsByIP API. diff --git a/plugins/modules/discovery_range_delete.py b/plugins/modules/discovery_range_delete.py index 07c380a17c..876881242e 100644 --- a/plugins/modules/discovery_range_delete.py +++ b/plugins/modules/discovery_range_delete.py @@ -23,8 +23,8 @@ description: StartIndex path parameter. Start index. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery DeleteDiscoveryBySpecifiedRange description: Complete reference of the DeleteDiscoveryBySpecifiedRange API. diff --git a/plugins/modules/discovery_range_info.py b/plugins/modules/discovery_range_info.py index c08902f8b3..c4fc60ba7e 100644 --- a/plugins/modules/discovery_range_info.py +++ b/plugins/modules/discovery_range_info.py @@ -28,8 +28,8 @@ - RecordsToReturn path parameter. Number of records to return. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery GetDiscoveriesByRange description: Complete reference of the GetDiscoveriesByRange API. diff --git a/plugins/modules/discovery_summary_info.py b/plugins/modules/discovery_summary_info.py index bd8e6dcf6f..9cff8b3ee8 100644 --- a/plugins/modules/discovery_summary_info.py +++ b/plugins/modules/discovery_summary_info.py @@ -68,8 +68,8 @@ elements: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery GetNetworkDevicesFromDiscovery description: Complete reference of the GetNetworkDevicesFromDiscovery API. diff --git a/plugins/modules/discovery_workflow_manager.py b/plugins/modules/discovery_workflow_manager.py index 557327ba33..758d3cc75c 100644 --- a/plugins/modules/discovery_workflow_manager.py +++ b/plugins/modules/discovery_workflow_manager.py @@ -59,7 +59,8 @@ pass a list with single element like - 10.197.156.22. For CIDR based discovery, we should pass a list with single element like - 10.197.156.22/22. For RANGE based discovery, we should pass a list with single element and range like - 10.197.156.1-10.197.156.100. For MULTI RANGE based discovery, we should pass a list with multiple - elementd like - 10.197.156.1-10.197.156.100 and in next line - 10.197.157.1-10.197.157.100. + elementd like - 10.197.156.1-10.197.156.100 and in next line - 10.197.157.1-10.197.157.100. Maximum of 8 IP address ranges + are allowed. type: list elements: str required: true @@ -328,7 +329,7 @@ default: False requirements: - dnacentersdk == 2.6.10 -- python >= 3.5 +- python >= 3.9 notes: - SDK Method used are discovery.Discovery.get_all_global_credentials_v2, @@ -1060,6 +1061,10 @@ def preprocess_device_discovery(self, ip_address_list=None): else: self.preprocess_device_discovery_handle_error() else: + if len(ip_address_list) > 8: + msg = "Maximum of 8 IP ranges are allowed." + self.log(msg, "CRITICAL") + self.module.fail_json(msg=msg) new_ip_collected = [] for ip in ip_address_list: if len(str(ip).split("-")) != 2: @@ -1305,11 +1310,11 @@ def create_discovery(self, ip_address_list=None): self.log("Task Id of the API task created is {0}".format(result.response.get('taskId')), "INFO") return result.response.get('taskId') - def get_task_status(self, task_id=None): + def get_merged_task_status(self, task_id=None): """ - Monitor the status of a task in the Cisco Catalyst Center. It checks the task - status periodically until the task is no longer 'In Progress'. - If the task encounters an error or fails, it immediately fails the + Monitor the status of a task of creation of dicovery in the Cisco Catalyst Center. + It checks the task status periodically until the task is no longer 'In Progress' + or other states. If the task encounters an error or fails, it immediately fails the module and returns False. Parameters: @@ -1329,7 +1334,7 @@ def get_task_status(self, task_id=None): op_modifies=True, ) response = response.response - self.log("Task status for the task id {0} is {1}".format(str(task_id), str(response)), "INFO") + self.log("Task status for the task id {0} is {1}, is_error: {2}".format(str(task_id), str(response), str(response.get('isError'))), "INFO") if response.get('isError') or re.search( 'failed', response.get('progress'), flags=re.IGNORECASE ): @@ -1338,17 +1343,62 @@ def get_task_status(self, task_id=None): self.log(msg, "CRITICAL") self.module.fail_json(msg=msg) return False + self.log("Task status for the task id (before checking status) {0} is {1}".format(str(task_id), str(response)), "INFO") progress = response.get('progress') - if progress in ('In Progress', 'Inventory service initiating discovery'): + try: + progress_value = int(progress) + result = True + self.log("The discovery process is completed", "INFO") + self.result.update(dict(discovery_task=response)) + return result + except Exception: + self.log("The progress status is {0}, continue to check the status after 3 seconds. Putting into sleep for 3 seconds".format(progress)) time.sleep(3) - continue - else: + + def get_deleted_task_status(self, task_id=None): + """ + Monitor the status of a task of deletion of dicovery in the Cisco Catalyst Center. + It checks the itask status periodically until the task is 'Discovery deleted successfully'. + If the task encounters an error or fails, it immediately fails the module and returns False. + + Parameters: + - task_id: The ID of the task to monitor. + + Returns: + - result: True if the task completed successfully, False otherwise. + """ + + result = False + params = dict(task_id=task_id) + while True: + response = self.dnac_apply['exec']( + family="task", + function='get_task_by_id', + params=params, + op_modifies=True, + ) + response = response.response + self.log("Task status for the task id {0} is {1}, is_error: {2}".format(str(task_id), str(response), str(response.get('isError'))), "INFO") + if response.get('isError') or re.search( + 'failed', response.get('progress'), flags=re.IGNORECASE + ): + msg = 'Discovery task with id {0} has not completed - Reason: {1}'.format( + task_id, response.get("failureReason")) + self.log(msg, "CRITICAL") + self.module.fail_json(msg=msg) + return False + + self.log("Task status for the task id (before checking status) {0} is {1}".format(str(task_id), str(response)), "INFO") + progress = response.get('progress') + if re.search('Discovery deleted successfully.', response.get('progress')): result = True - self.log("The Process is completed", "INFO") - break - self.result.update(dict(discovery_task=response)) - return result + self.log("The discovery process is completed", "INFO") + self.result.update(dict(discovery_task=response)) + return result + + self.log("The progress status is {0}, continue to check the status after 3 seconds. Putting into sleep for 3 seconds".format(progress)) + time.sleep(3) def lookup_discovery_by_range_via_name(self): """ @@ -1414,6 +1464,7 @@ def get_discoveries_by_range_until_success(self): """ result = False + aborted = False discovery = self.lookup_discovery_by_range_via_name() if not discovery: @@ -1424,17 +1475,25 @@ def get_discoveries_by_range_until_success(self): while True: discovery = self.lookup_discovery_by_range_via_name() - if discovery.get('discoveryCondition') == 'Complete': + discovery_condition = discovery.get('discoveryCondition') + if discovery_condition == 'Complete': result = True break - + elif discovery_condition == 'Aborted': + aborted = True + break time.sleep(3) if not result: - msg = 'Cannot find any discovery task with name {0} -- Discovery result: {1}'.format( - str(self.validated_config[0].get("discovery_name")), str(discovery)) - self.log(msg, "CRITICAL") - self.module.fail_json(msg=msg) + if aborted is True: + msg = 'Discovery with name {0} is aborted by the user on the GUI'.format(str(self.validated_config[0].get("discovery_name"))) + self.log(msg, "CRITICAL") + self.module.fail_json(msg=msg) + else: + msg = 'Cannot find any discovery task with name {0} -- Discovery result: {1}'.format( + str(self.validated_config[0].get("discovery_name")), str(discovery)) + self.log(msg, "CRITICAL") + self.module.fail_json(msg=msg) self.result.update(dict(discovery_range=discovery)) return discovery @@ -1563,11 +1622,11 @@ def get_diff_merged(self): if exist_discovery: params = dict(id=exist_discovery.get('id')) discovery_task_id = self.delete_exist_discovery(params=params) - complete_discovery = self.get_task_status(task_id=discovery_task_id) + complete_discovery = self.get_deleted_task_status(task_id=discovery_task_id) discovery_task_id = self.create_discovery( ip_address_list=ip_address_list) - complete_discovery = self.get_task_status(task_id=discovery_task_id) + complete_discovery = self.get_merged_task_status(task_id=discovery_task_id) discovery_task_info = self.get_discoveries_by_range_until_success() result = self.get_discovery_device_info(discovery_id=discovery_task_info.get('id')) self.result["changed"] = True @@ -1620,7 +1679,7 @@ def get_diff_deleted(self): params = dict(id=exist_discovery.get('id')) discovery_task_id = self.delete_exist_discovery(params=params) - complete_discovery = self.get_task_status(task_id=discovery_task_id) + complete_discovery = self.get_deleted_task_status(task_id=discovery_task_id) self.result["changed"] = True self.result['msg'] = "Successfully deleted discovery" self.result['diff'] = self.validated_config diff --git a/plugins/modules/dna_command_runner_keywords_info.py b/plugins/modules/dna_command_runner_keywords_info.py index dee8c3ff22..1e63e6b131 100644 --- a/plugins/modules/dna_command_runner_keywords_info.py +++ b/plugins/modules/dna_command_runner_keywords_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Command Runner GetAllKeywordsOfCLIsAcceptedByCommandRunner description: Complete reference of the GetAllKeywordsOfCLIsAcceptedByCommandRunner API. diff --git a/plugins/modules/dnac_packages_info.py b/plugins/modules/dnac_packages_info.py index 2d0a0e0ddb..ebc2481a5c 100644 --- a/plugins/modules/dnac_packages_info.py +++ b/plugins/modules/dnac_packages_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Platform CiscoDNACenterPackagesSummary description: Complete reference of the CiscoDNACenterPackagesSummary API. diff --git a/plugins/modules/dnacaap_management_execution_status_info.py b/plugins/modules/dnacaap_management_execution_status_info.py index 1afb01dff6..3fc122f4de 100644 --- a/plugins/modules/dnacaap_management_execution_status_info.py +++ b/plugins/modules/dnacaap_management_execution_status_info.py @@ -24,8 +24,8 @@ - ExecutionId path parameter. Execution Id of API. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Task GetBusinessAPIExecutionDetails description: Complete reference of the GetBusinessAPIExecutionDetails API. diff --git a/plugins/modules/endpoint_analytics_profiling_rules.py b/plugins/modules/endpoint_analytics_profiling_rules.py index 38e2f47ecf..43633824b2 100644 --- a/plugins/modules/endpoint_analytics_profiling_rules.py +++ b/plugins/modules/endpoint_analytics_profiling_rules.py @@ -114,8 +114,8 @@ elements: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are policy.Policy.create_a_profiling_rule, diff --git a/plugins/modules/endpoint_analytics_profiling_rules_info.py b/plugins/modules/endpoint_analytics_profiling_rules_info.py index 9c42ee1ead..1e3ca88c2a 100644 --- a/plugins/modules/endpoint_analytics_profiling_rules_info.py +++ b/plugins/modules/endpoint_analytics_profiling_rules_info.py @@ -60,8 +60,8 @@ - RuleId path parameter. Unique rule identifier. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are policy.Policy.get_details_of_a_single_profiling_rule, diff --git a/plugins/modules/eox_status_device_info.py b/plugins/modules/eox_status_device_info.py index 6843843e80..dc10734508 100644 --- a/plugins/modules/eox_status_device_info.py +++ b/plugins/modules/eox_status_device_info.py @@ -26,8 +26,8 @@ - DeviceId path parameter. Device instance UUID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for EoX GetEoXDetailsPerDevice description: Complete reference of the GetEoXDetailsPerDevice API. diff --git a/plugins/modules/eox_status_summary_info.py b/plugins/modules/eox_status_summary_info.py index 0ec8177501..26dc6d99d1 100644 --- a/plugins/modules/eox_status_summary_info.py +++ b/plugins/modules/eox_status_summary_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for EoX GetEoXSummary description: Complete reference of the GetEoXSummary API. diff --git a/plugins/modules/event_api_status_info.py b/plugins/modules/event_api_status_info.py index 4ddaaca0a4..8c6cf8d139 100644 --- a/plugins/modules/event_api_status_info.py +++ b/plugins/modules/event_api_status_info.py @@ -24,8 +24,8 @@ - ExecutionId path parameter. Execution ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetStatusAPIForEvents description: Complete reference of the GetStatusAPIForEvents API. diff --git a/plugins/modules/event_artifact_count_info.py b/plugins/modules/event_artifact_count_info.py index f34e77fe80..fb7d3ab7db 100644 --- a/plugins/modules/event_artifact_count_info.py +++ b/plugins/modules/event_artifact_count_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management EventArtifactCount description: Complete reference of the EventArtifactCount API. diff --git a/plugins/modules/event_artifact_info.py b/plugins/modules/event_artifact_info.py index 6e4f14b6a3..196b1233c2 100644 --- a/plugins/modules/event_artifact_info.py +++ b/plugins/modules/event_artifact_info.py @@ -48,8 +48,8 @@ - Search query parameter. Findd matches in name, description, eventId, type, category. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetEventArtifacts description: Complete reference of the GetEventArtifacts API. diff --git a/plugins/modules/event_config_connector_types_info.py b/plugins/modules/event_config_connector_types_info.py index 8c0958e7ee..b30a9659a5 100644 --- a/plugins/modules/event_config_connector_types_info.py +++ b/plugins/modules/event_config_connector_types_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetConnectorTypes description: Complete reference of the GetConnectorTypes API. diff --git a/plugins/modules/event_count_info.py b/plugins/modules/event_count_info.py index 131712342e..8643646556 100644 --- a/plugins/modules/event_count_info.py +++ b/plugins/modules/event_count_info.py @@ -28,8 +28,8 @@ - Tags query parameter. The registered Tags should be provided. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management CountOfEvents description: Complete reference of the CountOfEvents API. diff --git a/plugins/modules/event_email_config.py b/plugins/modules/event_email_config.py index 3b9de49a16..fd5fdb882f 100644 --- a/plugins/modules/event_email_config.py +++ b/plugins/modules/event_email_config.py @@ -62,8 +62,8 @@ description: To Email. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management CreateEmailDestination description: Complete reference of the CreateEmailDestination API. diff --git a/plugins/modules/event_email_config_create.py b/plugins/modules/event_email_config_create.py index b207dde212..4be4ec3628 100644 --- a/plugins/modules/event_email_config_create.py +++ b/plugins/modules/event_email_config_create.py @@ -61,8 +61,8 @@ description: To Email. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management CreateEmailDestination description: Complete reference of the CreateEmailDestination API. diff --git a/plugins/modules/event_email_config_info.py b/plugins/modules/event_email_config_info.py index 6aa8558554..272118cd79 100644 --- a/plugins/modules/event_email_config_info.py +++ b/plugins/modules/event_email_config_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetEmailDestination description: Complete reference of the GetEmailDestination API. diff --git a/plugins/modules/event_email_config_update.py b/plugins/modules/event_email_config_update.py index 2234ae9074..c471ff807c 100644 --- a/plugins/modules/event_email_config_update.py +++ b/plugins/modules/event_email_config_update.py @@ -61,8 +61,8 @@ description: To Email. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management UpdateEmailDestination description: Complete reference of the UpdateEmailDestination API. diff --git a/plugins/modules/event_info.py b/plugins/modules/event_info.py index ac34fbf251..a3eafb2975 100644 --- a/plugins/modules/event_info.py +++ b/plugins/modules/event_info.py @@ -44,8 +44,8 @@ - Order query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetEvents description: Complete reference of the GetEvents API. diff --git a/plugins/modules/event_series_audit_logs_info.py b/plugins/modules/event_series_audit_logs_info.py index dbb7b53202..b5fa297d91 100644 --- a/plugins/modules/event_series_audit_logs_info.py +++ b/plugins/modules/event_series_audit_logs_info.py @@ -122,8 +122,8 @@ values asc, desc. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetAuditLogRecords description: Complete reference of the GetAuditLogRecords API. diff --git a/plugins/modules/event_series_audit_logs_parent_records_info.py b/plugins/modules/event_series_audit_logs_parent_records_info.py index 6f6a2b6167..26bd96d296 100644 --- a/plugins/modules/event_series_audit_logs_parent_records_info.py +++ b/plugins/modules/event_series_audit_logs_parent_records_info.py @@ -118,8 +118,8 @@ values asc, desc. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetAuditLogParentRecords description: Complete reference of the GetAuditLogParentRecords API. diff --git a/plugins/modules/event_series_audit_logs_summary_info.py b/plugins/modules/event_series_audit_logs_summary_info.py index ee2063fa0d..2e0d2e1331 100644 --- a/plugins/modules/event_series_audit_logs_summary_info.py +++ b/plugins/modules/event_series_audit_logs_summary_info.py @@ -106,8 +106,8 @@ mandatory). type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetAuditLogSummary description: Complete reference of the GetAuditLogSummary API. diff --git a/plugins/modules/event_series_count_info.py b/plugins/modules/event_series_count_info.py index 6fd07cf4ac..ebd6576f04 100644 --- a/plugins/modules/event_series_count_info.py +++ b/plugins/modules/event_series_count_info.py @@ -56,8 +56,8 @@ - Source query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management CountOfNotifications description: Complete reference of the CountOfNotifications API. diff --git a/plugins/modules/event_series_info.py b/plugins/modules/event_series_info.py index 523e5a7080..982aa0cbc3 100644 --- a/plugins/modules/event_series_info.py +++ b/plugins/modules/event_series_info.py @@ -84,8 +84,8 @@ - SiteId query parameter. Site Id. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetNotifications description: Complete reference of the GetNotifications API. diff --git a/plugins/modules/event_snmp_config_info.py b/plugins/modules/event_snmp_config_info.py index 6ae23c7f36..b870816721 100644 --- a/plugins/modules/event_snmp_config_info.py +++ b/plugins/modules/event_snmp_config_info.py @@ -40,8 +40,8 @@ - Order query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetSNMPDestination description: Complete reference of the GetSNMPDestination API. diff --git a/plugins/modules/event_subscription.py b/plugins/modules/event_subscription.py index 38c2899aea..0aca4d2dba 100644 --- a/plugins/modules/event_subscription.py +++ b/plugins/modules/event_subscription.py @@ -94,8 +94,8 @@ description: Subscriptions query parameter. List of EventSubscriptionId's for removal. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management CreateEventSubscriptions description: Complete reference of the CreateEventSubscriptions API. diff --git a/plugins/modules/event_subscription_count_info.py b/plugins/modules/event_subscription_count_info.py index e9eb3e4323..daf1a6fdfe 100644 --- a/plugins/modules/event_subscription_count_info.py +++ b/plugins/modules/event_subscription_count_info.py @@ -24,8 +24,8 @@ - EventIds query parameter. List of subscriptions related to the respective eventIds. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management CountOfEventSubscriptions description: Complete reference of the CountOfEventSubscriptions API. diff --git a/plugins/modules/event_subscription_details_email_info.py b/plugins/modules/event_subscription_details_email_info.py index 7109b1ac10..b6487d13fd 100644 --- a/plugins/modules/event_subscription_details_email_info.py +++ b/plugins/modules/event_subscription_details_email_info.py @@ -44,8 +44,8 @@ - Order query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetEmailSubscriptionDetails description: Complete reference of the GetEmailSubscriptionDetails API. diff --git a/plugins/modules/event_subscription_details_rest_info.py b/plugins/modules/event_subscription_details_rest_info.py index cde6348bf9..ee793eff1e 100644 --- a/plugins/modules/event_subscription_details_rest_info.py +++ b/plugins/modules/event_subscription_details_rest_info.py @@ -48,8 +48,8 @@ - Order query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetRestWebhookSubscriptionDetails description: Complete reference of the GetRestWebhookSubscriptionDetails API. diff --git a/plugins/modules/event_subscription_details_syslog_info.py b/plugins/modules/event_subscription_details_syslog_info.py index 2d36767599..18e68fa779 100644 --- a/plugins/modules/event_subscription_details_syslog_info.py +++ b/plugins/modules/event_subscription_details_syslog_info.py @@ -46,8 +46,8 @@ - Order query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetSyslogSubscriptionDetails description: Complete reference of the GetSyslogSubscriptionDetails API. diff --git a/plugins/modules/event_subscription_email.py b/plugins/modules/event_subscription_email.py index 56b82b4a8c..13dc4cfe8e 100644 --- a/plugins/modules/event_subscription_email.py +++ b/plugins/modules/event_subscription_email.py @@ -106,8 +106,8 @@ type: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management CreateEmailEventSubscription description: Complete reference of the CreateEmailEventSubscription API. diff --git a/plugins/modules/event_subscription_email_info.py b/plugins/modules/event_subscription_email_info.py index 5d20ef4789..3eab8992b4 100644 --- a/plugins/modules/event_subscription_email_info.py +++ b/plugins/modules/event_subscription_email_info.py @@ -62,8 +62,8 @@ - Name query parameter. List of email subscriptions related to the respective name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetEmailEventSubscriptions description: Complete reference of the GetEmailEventSubscriptions API. diff --git a/plugins/modules/event_subscription_info.py b/plugins/modules/event_subscription_info.py index 7655d96762..9349d81e71 100644 --- a/plugins/modules/event_subscription_info.py +++ b/plugins/modules/event_subscription_info.py @@ -40,8 +40,8 @@ - Order query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetEventSubscriptions description: Complete reference of the GetEventSubscriptions API. diff --git a/plugins/modules/event_subscription_rest.py b/plugins/modules/event_subscription_rest.py index acfc5f9e4a..81eea1f2eb 100644 --- a/plugins/modules/event_subscription_rest.py +++ b/plugins/modules/event_subscription_rest.py @@ -90,8 +90,8 @@ type: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management CreateRestWebhookEventSubscription description: Complete reference of the CreateRestWebhookEventSubscription API. diff --git a/plugins/modules/event_subscription_rest_info.py b/plugins/modules/event_subscription_rest_info.py index a26bf74739..06e8dab617 100644 --- a/plugins/modules/event_subscription_rest_info.py +++ b/plugins/modules/event_subscription_rest_info.py @@ -60,8 +60,8 @@ - Name query parameter. List of subscriptions related to the respective name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetRestWebhookEventSubscriptions description: Complete reference of the GetRestWebhookEventSubscriptions API. diff --git a/plugins/modules/event_subscription_syslog.py b/plugins/modules/event_subscription_syslog.py index 8026640387..aeff30dd35 100644 --- a/plugins/modules/event_subscription_syslog.py +++ b/plugins/modules/event_subscription_syslog.py @@ -90,8 +90,8 @@ type: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management CreateSyslogEventSubscription description: Complete reference of the CreateSyslogEventSubscription API. diff --git a/plugins/modules/event_subscription_syslog_info.py b/plugins/modules/event_subscription_syslog_info.py index dcd0770077..ef6ffb044c 100644 --- a/plugins/modules/event_subscription_syslog_info.py +++ b/plugins/modules/event_subscription_syslog_info.py @@ -60,8 +60,8 @@ - Name query parameter. List of subscriptions related to the respective name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetSyslogEventSubscriptions description: Complete reference of the GetSyslogEventSubscriptions API. diff --git a/plugins/modules/event_syslog_config.py b/plugins/modules/event_syslog_config.py index a59316f397..11c6d9508b 100644 --- a/plugins/modules/event_syslog_config.py +++ b/plugins/modules/event_syslog_config.py @@ -36,8 +36,8 @@ description: Protocol. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management CreateSyslogDestination description: Complete reference of the CreateSyslogDestination API. diff --git a/plugins/modules/event_syslog_config_info.py b/plugins/modules/event_syslog_config_info.py index 2c26171286..a2e6009c82 100644 --- a/plugins/modules/event_syslog_config_info.py +++ b/plugins/modules/event_syslog_config_info.py @@ -48,8 +48,8 @@ - Order query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management GetSyslogDestination description: Complete reference of the GetSyslogDestination API. diff --git a/plugins/modules/event_webhook_create.py b/plugins/modules/event_webhook_create.py index b9c585ee9c..2859b76158 100644 --- a/plugins/modules/event_webhook_create.py +++ b/plugins/modules/event_webhook_create.py @@ -52,8 +52,8 @@ description: Required only for update webhook configuration. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management CreateWebhookDestination description: Complete reference of the CreateWebhookDestination API. diff --git a/plugins/modules/event_webhook_update.py b/plugins/modules/event_webhook_update.py index 91d70839b9..0c50462ed0 100644 --- a/plugins/modules/event_webhook_update.py +++ b/plugins/modules/event_webhook_update.py @@ -52,8 +52,8 @@ description: Required only for update webhook configuration. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management UpdateWebhookDestination description: Complete reference of the UpdateWebhookDestination API. diff --git a/plugins/modules/execute_suggested_actions_commands.py b/plugins/modules/execute_suggested_actions_commands.py index 51df596778..43fce32030 100644 --- a/plugins/modules/execute_suggested_actions_commands.py +++ b/plugins/modules/execute_suggested_actions_commands.py @@ -27,8 +27,8 @@ description: Contains the actual value for the entity type that has been defined. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Issues ExecuteSuggestedActionsCommands description: Complete reference of the ExecuteSuggestedActionsCommands API. diff --git a/plugins/modules/file_import.py b/plugins/modules/file_import.py index f82598e0cc..f9909edddd 100644 --- a/plugins/modules/file_import.py +++ b/plugins/modules/file_import.py @@ -23,8 +23,8 @@ description: NameSpace path parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for File UploadFile description: Complete reference of the UploadFile API. diff --git a/plugins/modules/file_info.py b/plugins/modules/file_info.py index bf07d10724..b9bdba4b9e 100644 --- a/plugins/modules/file_info.py +++ b/plugins/modules/file_info.py @@ -36,8 +36,8 @@ - The filename used to save the download file. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for File DownloadAFileByFileId description: Complete reference of the DownloadAFileByFileId API. diff --git a/plugins/modules/file_namespace_files_info.py b/plugins/modules/file_namespace_files_info.py index e28b10c8fb..0e16dbc1af 100644 --- a/plugins/modules/file_namespace_files_info.py +++ b/plugins/modules/file_namespace_files_info.py @@ -24,8 +24,8 @@ - NameSpace path parameter. A listing of fileId's. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for File GetListOfFiles description: Complete reference of the GetListOfFiles API. diff --git a/plugins/modules/file_namespaces_info.py b/plugins/modules/file_namespaces_info.py index a0fc5682ff..8492681110 100644 --- a/plugins/modules/file_namespaces_info.py +++ b/plugins/modules/file_namespaces_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for File GetListOfAvailableNamespaces description: Complete reference of the GetListOfAvailableNamespaces API. diff --git a/plugins/modules/global_credential_delete.py b/plugins/modules/global_credential_delete.py index 13c9630c3f..3dd9ad1d1d 100644 --- a/plugins/modules/global_credential_delete.py +++ b/plugins/modules/global_credential_delete.py @@ -20,8 +20,8 @@ description: GlobalCredentialId path parameter. ID of global-credential. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery DeleteGlobalCredentialsById description: Complete reference of the DeleteGlobalCredentialsById API. diff --git a/plugins/modules/global_credential_info.py b/plugins/modules/global_credential_info.py index 4fe317b6f0..2d46ca10ff 100644 --- a/plugins/modules/global_credential_info.py +++ b/plugins/modules/global_credential_info.py @@ -40,8 +40,8 @@ - Id path parameter. Global Credential ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery GetCredentialSubTypeByCredentialId description: Complete reference of the GetCredentialSubTypeByCredentialId API. diff --git a/plugins/modules/global_credential_update.py b/plugins/modules/global_credential_update.py index 1275048463..8f2ea144af 100644 --- a/plugins/modules/global_credential_update.py +++ b/plugins/modules/global_credential_update.py @@ -24,8 +24,8 @@ elements: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery UpdateGlobalCredentials description: Complete reference of the UpdateGlobalCredentials API. diff --git a/plugins/modules/global_credential_v2.py b/plugins/modules/global_credential_v2.py index 0679fed861..2d27cca33d 100644 --- a/plugins/modules/global_credential_v2.py +++ b/plugins/modules/global_credential_v2.py @@ -137,8 +137,8 @@ type: str type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery CreateGlobalCredentialsV2 description: Complete reference of the CreateGlobalCredentialsV2 API. diff --git a/plugins/modules/global_credential_v2_info.py b/plugins/modules/global_credential_v2_info.py index c746964cb8..6b0bffd4db 100644 --- a/plugins/modules/global_credential_v2_info.py +++ b/plugins/modules/global_credential_v2_info.py @@ -22,8 +22,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery GetAllGlobalCredentialsV2 description: Complete reference of the GetAllGlobalCredentialsV2 API. diff --git a/plugins/modules/global_pool.py b/plugins/modules/global_pool.py index 3c94f9c587..f52c316d6a 100644 --- a/plugins/modules/global_pool.py +++ b/plugins/modules/global_pool.py @@ -48,8 +48,8 @@ type: list type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings CreateGlobalPool description: Complete reference of the CreateGlobalPool API. diff --git a/plugins/modules/global_pool_info.py b/plugins/modules/global_pool_info.py index ed95446be1..4d95ba9eac 100644 --- a/plugins/modules/global_pool_info.py +++ b/plugins/modules/global_pool_info.py @@ -28,8 +28,8 @@ - Limit query parameter. No of Global Pools to be retrieved. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings GetGlobalPool description: Complete reference of the GetGlobalPool API. diff --git a/plugins/modules/golden_image_create.py b/plugins/modules/golden_image_create.py index 1f176f1725..95385c59d8 100644 --- a/plugins/modules/golden_image_create.py +++ b/plugins/modules/golden_image_create.py @@ -30,8 +30,8 @@ description: SiteId in uuid format. For Global Site "-1" to be used. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Software Image Management (SWIM) TagAsGoldenImage description: Complete reference of the TagAsGoldenImage API. diff --git a/plugins/modules/golden_tag_image_delete.py b/plugins/modules/golden_tag_image_delete.py index 8191e49152..392165663b 100644 --- a/plugins/modules/golden_tag_image_delete.py +++ b/plugins/modules/golden_tag_image_delete.py @@ -32,8 +32,8 @@ Global site. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Software Image Management (SWIM) RemoveGoldenTagForImage description: Complete reference of the RemoveGoldenTagForImage API. diff --git a/plugins/modules/golden_tag_image_details_info.py b/plugins/modules/golden_tag_image_details_info.py index 9d41a76106..c92ed95039 100644 --- a/plugins/modules/golden_tag_image_details_info.py +++ b/plugins/modules/golden_tag_image_details_info.py @@ -38,8 +38,8 @@ - ImageId path parameter. Image Id in uuid format. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Software Image Management (SWIM) GetGoldenTagStatusOfAnImage description: Complete reference of the GetGoldenTagStatusOfAnImage API. diff --git a/plugins/modules/http_read_credential.py b/plugins/modules/http_read_credential.py index 63c19d5c40..89a5f7f47f 100644 --- a/plugins/modules/http_read_credential.py +++ b/plugins/modules/http_read_credential.py @@ -48,8 +48,8 @@ description: Http Read Credential's username. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery CreateHTTPReadCredentials description: Complete reference of the CreateHTTPReadCredentials API. diff --git a/plugins/modules/http_write_credential.py b/plugins/modules/http_write_credential.py index 2db38bb613..611f40716d 100644 --- a/plugins/modules/http_write_credential.py +++ b/plugins/modules/http_write_credential.py @@ -48,8 +48,8 @@ description: Http Write Credential's username. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery CreateHTTPWriteCredentials description: Complete reference of the CreateHTTPWriteCredentials API. diff --git a/plugins/modules/integration_settings_instances_itsm.py b/plugins/modules/integration_settings_instances_itsm.py index 1bc569d9fd..86fa8bd762 100644 --- a/plugins/modules/integration_settings_instances_itsm.py +++ b/plugins/modules/integration_settings_instances_itsm.py @@ -48,8 +48,8 @@ description: Name of the setting instance. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for ITSM Integration CreateITSMIntegrationSetting description: Complete reference of the CreateITSMIntegrationSetting API. diff --git a/plugins/modules/integration_settings_instances_itsm_info.py b/plugins/modules/integration_settings_instances_itsm_info.py index fc6a5de7a0..0519f5e5a1 100644 --- a/plugins/modules/integration_settings_instances_itsm_info.py +++ b/plugins/modules/integration_settings_instances_itsm_info.py @@ -24,8 +24,8 @@ - InstanceId path parameter. Instance Id of the Integration setting instance. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for ITSM Integration GetITSMIntegrationSettingById description: Complete reference of the GetITSMIntegrationSettingById API. diff --git a/plugins/modules/interface_info.py b/plugins/modules/interface_info.py index 02d4dd14ea..a6f0706ade 100644 --- a/plugins/modules/interface_info.py +++ b/plugins/modules/interface_info.py @@ -24,8 +24,8 @@ - InterfaceUuid path parameter. Interface ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices LegitOperationsForInterface description: Complete reference of the LegitOperationsForInterface API. diff --git a/plugins/modules/interface_network_device_detail_info.py b/plugins/modules/interface_network_device_detail_info.py index 344f22a2ff..81a3203d65 100644 --- a/plugins/modules/interface_network_device_detail_info.py +++ b/plugins/modules/interface_network_device_detail_info.py @@ -28,8 +28,8 @@ - Name query parameter. Interface name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetInterfaceDetailsByDeviceIdAndInterfaceName description: Complete reference of the GetInterfaceDetailsByDeviceIdAndInterfaceName API. diff --git a/plugins/modules/interface_network_device_info.py b/plugins/modules/interface_network_device_info.py index 8fdc0e2262..62bb64e03c 100644 --- a/plugins/modules/interface_network_device_info.py +++ b/plugins/modules/interface_network_device_info.py @@ -24,8 +24,8 @@ - DeviceId path parameter. Device ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetInterfaceInfoById description: Complete reference of the GetInterfaceInfoById API. diff --git a/plugins/modules/interface_network_device_range_info.py b/plugins/modules/interface_network_device_range_info.py index 0a3f1448b2..2f2e3a6ea6 100644 --- a/plugins/modules/interface_network_device_range_info.py +++ b/plugins/modules/interface_network_device_range_info.py @@ -32,8 +32,8 @@ - RecordsToReturn path parameter. Number of records to return. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetDeviceInterfacesBySpecifiedRange description: Complete reference of the GetDeviceInterfacesBySpecifiedRange API. diff --git a/plugins/modules/interface_operation_create.py b/plugins/modules/interface_operation_create.py index 98995c1dcb..1bc065c317 100644 --- a/plugins/modules/interface_operation_create.py +++ b/plugins/modules/interface_operation_create.py @@ -33,8 +33,8 @@ description: Payload. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices ClearMacAddressTable description: Complete reference of the ClearMacAddressTable API. diff --git a/plugins/modules/interface_update.py b/plugins/modules/interface_update.py index 20d7435e44..261703d48c 100644 --- a/plugins/modules/interface_update.py +++ b/plugins/modules/interface_update.py @@ -39,8 +39,8 @@ description: Voice Vlan Id. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices UpdateInterfaceDetails description: Complete reference of the UpdateInterfaceDetails API. diff --git a/plugins/modules/inventory_intent.py b/plugins/modules/inventory_intent.py index 54161725b2..af25724868 100644 --- a/plugins/modules/inventory_intent.py +++ b/plugins/modules/inventory_intent.py @@ -307,8 +307,8 @@ version_added: 6.12.0 requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco Catalyst Center documentation for Devices AddDevice2 description: Complete reference of the AddDevice2 API. @@ -522,7 +522,7 @@ - device_ip: "1.1.1.1" site_name: "Global/USA/San Francisco/BGL_18/floor_pnp" resync_retry_count: 200 - resync_interval: 2 + resync_retry_interval: 2 - device_ip: "2.2.2.2" site_name: "Global/USA/San Francisco/BGL_18/floor_test" resync_retry_count: 200 @@ -1924,11 +1924,12 @@ def get_udf_id(self, field_name): return udf_id - def mandatory_parameter(self): + def mandatory_parameter(self, device_to_add_in_ccc): """ Check for and validate mandatory parameters for adding network devices in Cisco Catalyst Center. Parameters: self (object): An instance of a class used for interacting with Cisco Cisco Catalyst Center. + device_to_add_in_ccc(list): List to device ip addresses to be added in Cisco Catalyst Center. Returns: dict: The input `config` dictionary if all mandatory parameters are present. Description: @@ -1953,12 +1954,12 @@ def mandatory_parameter(self): if mandatory_params_absent: self.status = "failed" - self.msg = "Required parameters {0} for adding devices are not present".format(str(mandatory_params_absent)) + self.msg = "Required parameters {0} for adding devices '{1}' are not present".format(str(mandatory_params_absent), str(device_to_add_in_ccc)) self.result['msg'] = self.msg self.log(self.msg, "ERROR") else: self.status = "success" - self.msg = "Required parameter for Adding the devices in Inventory are present." + self.msg = "Required parameters for adding the devices '{0}' to inventory are present.".format(str(device_to_add_in_ccc)) self.log(self.msg, "INFO") return self @@ -2257,45 +2258,44 @@ def get_interface_from_id_and_name(self, device_id, interface_name): return interface_id except Exception as e: - error_message = "Error while fetching interface id for interface({0}) from Cisco Catalyst Center: {1}".format(interface_name, str(e)) - self.log(error_message, "ERROR") - self.msg = error_message self.status = "failed" + self.msg = "Failed to retrieve interface ID for interface({0}) from Cisco Catalyst Center: {1}".format(interface_name, str(e)) + self.log(self.msg, "ERROR") return self - def get_interface_from_ip(self, device_ip): - """ - Get the interface ID for a device in Cisco Catalyst Center based on its IP address. - Parameters: - self (object): An instance of a class used for interacting with Cisco Catalyst Center. - device_ip (str): The IP address of the device. - Returns: - str: The interface ID for the specified device. - Description: - The function sends a request to Cisco Catalyst Center to retrieve the interface information - for the device with the provided IP address and extracts the interface ID from the - response, and returns the interface ID. - """ + def get_interface_from_ip(self, device_ip): + """ + Get the interface ID for a device in Cisco Catalyst Center based on its IP address. + Parameters: + self (object): An instance of a class used for interacting with Cisco Catalyst Center. + device_ip (str): The IP address of the device. + Returns: + str: The interface ID for the specified device. + Description: + The function sends a request to Cisco Catalyst Center to retrieve the interface information + for the device with the provided IP address and extracts the interface ID from the + response, and returns the interface ID. + """ - try: - response = self.dnac._exec( - family="devices", - function='get_interface_by_ip', - op_modifies=True, - params={"ip_address": device_ip} - ) - self.log("Received API response from 'get_interface_by_ip': {0}".format(str(response)), "DEBUG") - response = response.get("response") + try: + response = self.dnac._exec( + family="devices", + function='get_interface_by_ip', + op_modifies=True, + params={"ip_address": device_ip} + ) + self.log("Received API response from 'get_interface_by_ip': {0}".format(str(response)), "DEBUG") + response = response.get("response") - if response: - interface_id = response[0]["id"] - self.log("Fetch Interface Id for device '{0}' successfully !!".format(device_ip)) - return interface_id + if response: + interface_id = response[0]["id"] + self.log("Successfully retrieved Interface Id '{0}' for device '{1}'.".format(interface_id, device_ip), "DEBUG") + return interface_id - except Exception as e: - error_message = "Error while fetching Interface Id for device '{0}' from Cisco Catalyst Center: {1}".format(device_ip, str(e)) - self.log(error_message, "ERROR") - raise Exception(error_message) + except Exception as e: + error_message = "Error while fetching Interface Id for device '{0}' from Cisco Catalyst Center: {1}".format(device_ip, str(e)) + self.log(error_message, "ERROR") + raise Exception(error_message) def get_device_response(self, device_ip): """ @@ -2569,12 +2569,23 @@ def update_interface_detail_of_device(self, device_to_update): """ # Call the Get interface details by device IP API and fetch the interface Id + is_update_occurred = False + response_list = [] for device_ip in device_to_update: interface_params = self.config[0].get('update_interface_details') interface_names_list = interface_params.get('interface_name') for interface_name in interface_names_list: device_id = self.get_device_ids([device_ip]) - interface_id = self.get_interface_from_id_and_name(device_id[0], interface_name) + interface_details = self.get_interface_from_id_and_name(device_id[0], interface_name) + # Check if interface_details is None or does not contain the 'id' key. + if interface_details is None or not interface_details.get('id'): + self.status = "failed" + self.msg = """Failed to retrieve interface details or the 'id' is missing for the device with identifier + '{0}' and interface '{1}'""".format(device_id[0], interface_name) + self.log(self.msg, "WARNING") + return self + + interface_id = interface_details['id'] self.check_return_status() # Now we call update interface details api with required parameter @@ -2588,11 +2599,11 @@ def update_interface_detail_of_device(self, device_to_update): if response.get('role').upper() != "ACCESS": self.msg = "The action to clear the MAC Address table is only supported for devices with the ACCESS role." self.log(self.msg, "WARNING") - self.result['response'] = self.msg + response_list.append(self.msg) + self.result['changed'] = False else: deploy_mode = interface_params.get('deployment_mode', 'Deploy') - self.clear_mac_address(interface_id, deploy_mode, interface_name) - self.check_return_status() + self.clear_mac_address(interface_id, deploy_mode, interface_name).check_return_status() temp_params = { 'description': interface_params.get('description', ''), @@ -2605,6 +2616,25 @@ def update_interface_detail_of_device(self, device_to_update): if value is not None: payload_params[key] = value + # Check if interface need update or not here + interface_needs_update = False + for key, value in payload_params.items(): + if key == "voiceVlanId": + if str(value) != interface_details['voiceVlan']: + interface_needs_update = True + else: + if str(value) != str(interface_details.get(key)): + interface_needs_update = True + + if not interface_needs_update: + self.status = "success" + self.result['changed'] = False + self.msg = """Interface details for the given interface '{0}' are already updated in the Cisco Catalyst Center for the + device '{1}'.""".format(interface_name, device_ip) + self.log(self.msg, "INFO") + self.result['response'] = self.msg + continue + update_interface_params = { 'payload': payload_params, 'interface_uuid': interface_id, @@ -2619,16 +2649,23 @@ def update_interface_detail_of_device(self, device_to_update): self.log("Received API response from 'update_interface_details': {0}".format(str(response)), "DEBUG") if response and isinstance(response, dict): - task_id = response.get('response').get('taskId') + response = response.get('response') + if not response: + self.status = "failed" + self.msg = "Failed to update the interface because the 'update_interface_details' API returned an empty response." + self.log(self.msg, "ERROR") + continue + + task_id = response.get('taskId') while True: execution_details = self.get_task_details(task_id) if 'SUCCESS' in execution_details.get("progress"): self.status = "success" - self.result['changed'] = True - self.result['response'] = execution_details - self.msg = "Updated Interface Details for device '{0}' successfully".format(device_ip) + is_update_occurred = True + self.msg = "Successfully updated the Interface Details for device '{0}'.".format(device_ip) + response_list.append(self.msg) self.log(self.msg, "INFO") break elif execution_details.get("isError"): @@ -2648,6 +2685,10 @@ def update_interface_detail_of_device(self, device_to_update): self.result['changed'] = False self.msg = "Port actions are only supported on user facing/access ports as it's not allowed or No Updation required" self.log(self.msg, "INFO") + response_list.append(self.msg) + + self.result['changed'] = is_update_occurred + self.result['response'] = response_list return self @@ -2725,8 +2766,8 @@ def check_device_update_execution_response(self, response, device_ip): elif execution_details.get("endTime"): self.status = "success" self.result['changed'] = True - self.result['response'] = execution_details self.msg = "Device '{0}' present in Cisco Catalyst Center and have been updated successfully".format(device_ip) + self.result['response'] = self.msg self.log(self.msg, "INFO") break @@ -2939,7 +2980,8 @@ def get_diff_merged(self, config): device_params.pop('snmpPrivPassphrase', None) device_params.pop('snmpPrivProtocol', None) - self.mandatory_parameter().check_return_status() + device_to_add_in_ccc = device_params['ipAddress'] + self.mandatory_parameter(device_to_add_in_ccc).check_return_status() try: response = self.dnac._exec( family="devices", @@ -3177,6 +3219,15 @@ def get_diff_merged(self, config): if not playbook_params['snmpROCommunity']: playbook_params['snmpROCommunity'] = device_data.get('snmp_community', None) + if not playbook_params['snmpRWCommunity']: + playbook_params['snmpRWCommunity'] = device_data.get('snmp_write_community', None) + + if not playbook_params['httpUserName']: + playbook_params['httpUserName'] = device_data.get('http_config_username', None) + if not playbook_params['httpPassword']: + playbook_params['httpPassword'] = device_data.get('http_config_password', None) + if not playbook_params['httpPort']: + playbook_params['httpPort'] = device_data.get('http_port', None) try: if playbook_params['updateMgmtIPaddressList']: diff --git a/plugins/modules/inventory_workflow_manager.py b/plugins/modules/inventory_workflow_manager.py index d42fe45441..17f63f475b 100644 --- a/plugins/modules/inventory_workflow_manager.py +++ b/plugins/modules/inventory_workflow_manager.py @@ -307,8 +307,8 @@ version_added: 6.12.0 requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco Catalyst Center documentation for Devices AddDevice2 description: Complete reference of the AddDevice2 API. @@ -522,7 +522,7 @@ - device_ip: "1.1.1.1" site_name: "Global/USA/San Francisco/BGL_18/floor_pnp" resync_retry_count: 200 - resync_interval: 2 + resync_retry_interval: 2 - device_ip: "2.2.2.2" site_name: "Global/USA/San Francisco/BGL_18/floor_test" resync_retry_count: 200 @@ -752,7 +752,7 @@ def validate_input(self): 'mac_address_list': {'type': 'list', 'elements': 'str'}, 'netconf_port': {'type': 'str'}, 'password': {'type': 'str'}, - 'serial_number': {'type': 'str'}, + 'serial_number_list': {'type': 'list', 'elements': 'str'}, 'snmp_auth_passphrase': {'type': 'str'}, 'snmp_auth_protocol': {'default': "SHA", 'type': 'str'}, 'snmp_mode': {'type': 'str'}, @@ -1916,11 +1916,12 @@ def get_udf_id(self, field_name): return udf_id - def mandatory_parameter(self): + def mandatory_parameter(self, device_to_add_in_ccc): """ Check for and validate mandatory parameters for adding network devices in Cisco Catalyst Center. Parameters: self (object): An instance of a class used for interacting with Cisco Cisco Catalyst Center. + device_to_add_in_ccc(list): List to device ip addresses to be added in Cisco Catalyst Center. Returns: dict: The input `config` dictionary if all mandatory parameters are present. Description: @@ -1945,12 +1946,12 @@ def mandatory_parameter(self): if mandatory_params_absent: self.status = "failed" - self.msg = "Required parameters {0} for adding devices are not present".format(str(mandatory_params_absent)) + self.msg = "Required parameters {0} for adding devices '{1}' are not present".format(str(mandatory_params_absent), str(device_to_add_in_ccc)) self.result['msg'] = self.msg self.log(self.msg, "ERROR") else: self.status = "success" - self.msg = "Required parameter for Adding the devices in Inventory are present." + self.msg = "Required parameters for adding the devices '{0}' to inventory are present.".format(str(device_to_add_in_ccc)) self.log(self.msg, "INFO") return self @@ -2050,7 +2051,6 @@ def get_device_params(self, params): "httpSecure": params.get("http_secure"), "httpUserName": params.get("http_username"), "netconfPort": params.get("netconf_port"), - "serialNumber": params.get("serial_number"), "snmpVersion": params.get("snmp_version"), "type": params.get("type"), "updateMgmtIPaddressList": params.get("update_mgmt_ipaddresslist"), @@ -2247,48 +2247,47 @@ def get_interface_from_id_and_name(self, device_id, interface_name): interface_id = response["id"] self.log("""Successfully fetched interface ID ({0}) by using device id {1} and interface name {2}.""" .format(interface_id, device_id, interface_name), "INFO") - return interface_id + return response except Exception as e: - error_message = "Error while fetching interface id for interface({0}) from Cisco Catalyst Center: {1}".format(interface_name, str(e)) - self.log(error_message, "ERROR") - self.msg = error_message self.status = "failed" + self.msg = "Failed to retrieve interface ID for interface({0}) from Cisco Catalyst Center: {1}".format(interface_name, str(e)) + self.log(self.msg, "ERROR") return self - def get_interface_from_ip(self, device_ip): - """ - Get the interface ID for a device in Cisco Catalyst Center based on its IP address. - Parameters: - self (object): An instance of a class used for interacting with Cisco Catalyst Center. - device_ip (str): The IP address of the device. - Returns: - str: The interface ID for the specified device. - Description: - The function sends a request to Cisco Catalyst Center to retrieve the interface information - for the device with the provided IP address and extracts the interface ID from the - response, and returns the interface ID. - """ + def get_interface_from_ip(self, device_ip): + """ + Get the interface ID for a device in Cisco Catalyst Center based on its IP address. + Parameters: + self (object): An instance of a class used for interacting with Cisco Catalyst Center. + device_ip (str): The IP address of the device. + Returns: + str: The interface ID for the specified device. + Description: + The function sends a request to Cisco Catalyst Center to retrieve the interface information + for the device with the provided IP address and extracts the interface ID from the + response, and returns the interface ID. + """ - try: - response = self.dnac._exec( - family="devices", - function='get_interface_by_ip', - op_modifies=True, - params={"ip_address": device_ip} - ) - self.log("Received API response from 'get_interface_by_ip': {0}".format(str(response)), "DEBUG") - response = response.get("response") + try: + response = self.dnac._exec( + family="devices", + function='get_interface_by_ip', + op_modifies=True, + params={"ip_address": device_ip} + ) + self.log("Received API response from 'get_interface_by_ip': {0}".format(str(response)), "DEBUG") + response = response.get("response") - if response: - interface_id = response[0]["id"] - self.log("Fetch Interface Id for device '{0}' successfully !!".format(device_ip)) - return interface_id + if response: + interface_id = response[0]["id"] + self.log("Successfully retrieved Interface Id '{0}' for device '{1}'.".format(interface_id, device_ip), "DEBUG") + return interface_id - except Exception as e: - error_message = "Error while fetching Interface Id for device '{0}' from Cisco Catalyst Center: {1}".format(device_ip, str(e)) - self.log(error_message, "ERROR") - raise Exception(error_message) + except Exception as e: + error_message = "Error while fetching Interface Id for device '{0}' from Cisco Catalyst Center: {1}".format(device_ip, str(e)) + self.log(error_message, "ERROR") + raise Exception(error_message) def get_device_response(self, device_ip): """ @@ -2562,12 +2561,23 @@ def update_interface_detail_of_device(self, device_to_update): """ # Call the Get interface details by device IP API and fetch the interface Id + is_update_occurred = False + response_list = [] for device_ip in device_to_update: interface_params = self.config[0].get('update_interface_details') interface_names_list = interface_params.get('interface_name') for interface_name in interface_names_list: device_id = self.get_device_ids([device_ip]) - interface_id = self.get_interface_from_id_and_name(device_id[0], interface_name) + interface_details = self.get_interface_from_id_and_name(device_id[0], interface_name) + # Check if interface_details is None or does not contain the 'id' key. + if interface_details is None or not interface_details.get('id'): + self.status = "failed" + self.msg = """Failed to retrieve interface details or the 'id' is missing for the device with identifier + '{0}' and interface '{1}'""".format(device_id[0], interface_name) + self.log(self.msg, "WARNING") + return self + + interface_id = interface_details['id'] self.check_return_status() # Now we call update interface details api with required parameter @@ -2581,11 +2591,11 @@ def update_interface_detail_of_device(self, device_to_update): if response.get('role').upper() != "ACCESS": self.msg = "The action to clear the MAC Address table is only supported for devices with the ACCESS role." self.log(self.msg, "WARNING") - self.result['response'] = self.msg + response_list.append(self.msg) + self.result['changed'] = False else: deploy_mode = interface_params.get('deployment_mode', 'Deploy') - self.clear_mac_address(interface_id, deploy_mode, interface_name) - self.check_return_status() + self.clear_mac_address(interface_id, deploy_mode, interface_name).check_return_status() temp_params = { 'description': interface_params.get('description', ''), @@ -2598,6 +2608,25 @@ def update_interface_detail_of_device(self, device_to_update): if value is not None: payload_params[key] = value + # Check if interface need update or not here + interface_needs_update = False + for key, value in payload_params.items(): + if key == "voiceVlanId": + if str(value) != interface_details['voiceVlan']: + interface_needs_update = True + else: + if str(value) != str(interface_details.get(key)): + interface_needs_update = True + + if not interface_needs_update: + self.status = "success" + self.result['changed'] = False + self.msg = """Interface details for the given interface '{0}' are already updated in the Cisco Catalyst Center for the + device '{1}'.""".format(interface_name, device_ip) + self.log(self.msg, "INFO") + response_list.append(self.msg) + continue + update_interface_params = { 'payload': payload_params, 'interface_uuid': interface_id, @@ -2612,16 +2641,23 @@ def update_interface_detail_of_device(self, device_to_update): self.log("Received API response from 'update_interface_details': {0}".format(str(response)), "DEBUG") if response and isinstance(response, dict): - task_id = response.get('response').get('taskId') + response = response.get('response') + if not response: + self.status = "failed" + self.msg = "Failed to update the interface because the 'update_interface_details' API returned an empty response." + self.log(self.msg, "ERROR") + continue + + task_id = response.get('taskId') while True: execution_details = self.get_task_details(task_id) if 'SUCCESS' in execution_details.get("progress"): self.status = "success" - self.result['changed'] = True - self.result['response'] = execution_details - self.msg = "Updated Interface Details for device '{0}' successfully".format(device_ip) + is_update_occurred = True + self.msg = "Successfully updated the Interface Details for device '{0}'.".format(device_ip) + response_list.append(self.msg) self.log(self.msg, "INFO") break elif execution_details.get("isError"): @@ -2641,6 +2677,10 @@ def update_interface_detail_of_device(self, device_to_update): self.result['changed'] = False self.msg = "Port actions are only supported on user facing/access ports as it's not allowed or No Updation required" self.log(self.msg, "INFO") + response_list.append(self.msg) + + self.result['changed'] = is_update_occurred + self.result['response'] = response_list return self @@ -2718,8 +2758,8 @@ def check_device_update_execution_response(self, response, device_ip): elif execution_details.get("endTime"): self.status = "success" self.result['changed'] = True - self.result['response'] = execution_details self.msg = "Device '{0}' present in Cisco Catalyst Center and have been updated successfully".format(device_ip) + self.result['response'] = self.msg self.log(self.msg, "INFO") break @@ -2931,7 +2971,8 @@ def get_diff_merged(self, config): device_params.pop('snmpPrivPassphrase', None) device_params.pop('snmpPrivProtocol', None) - self.mandatory_parameter().check_return_status() + device_to_add_in_ccc = device_params['ipAddress'] + self.mandatory_parameter(device_to_add_in_ccc).check_return_status() try: response = self.dnac._exec( family="devices", @@ -3170,6 +3211,15 @@ def get_diff_merged(self, config): if not playbook_params['snmpROCommunity']: playbook_params['snmpROCommunity'] = device_data.get('snmp_community', None) + if not playbook_params['snmpRWCommunity']: + playbook_params['snmpRWCommunity'] = device_data.get('snmp_write_community', None) + + if not playbook_params['httpUserName']: + playbook_params['httpUserName'] = device_data.get('http_config_username', None) + if not playbook_params['httpPassword']: + playbook_params['httpPassword'] = device_data.get('http_config_password', None) + if not playbook_params['httpPort']: + playbook_params['httpPort'] = device_data.get('http_port', None) try: if playbook_params['updateMgmtIPaddressList']: diff --git a/plugins/modules/issues_enrichment_details_info.py b/plugins/modules/issues_enrichment_details_info.py index e81d3f2d96..58d5c787cc 100644 --- a/plugins/modules/issues_enrichment_details_info.py +++ b/plugins/modules/issues_enrichment_details_info.py @@ -22,8 +22,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Issues GetIssueEnrichmentDetails description: Complete reference of the GetIssueEnrichmentDetails API. diff --git a/plugins/modules/issues_info.py b/plugins/modules/issues_info.py index b94e0f1cff..f6131d2b88 100644 --- a/plugins/modules/issues_info.py +++ b/plugins/modules/issues_info.py @@ -58,8 +58,8 @@ - IssueStatus query parameter. The issue's status value (One of ACTIVE, IGNORED, RESOLVED). type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Issues Issues description: Complete reference of the Issues API. diff --git a/plugins/modules/itsm_cmdb_sync_status_info.py b/plugins/modules/itsm_cmdb_sync_status_info.py index ba57211246..2b3a47ea2b 100644 --- a/plugins/modules/itsm_cmdb_sync_status_info.py +++ b/plugins/modules/itsm_cmdb_sync_status_info.py @@ -34,8 +34,8 @@ - Date query parameter. Provide date in "YYYY-MM-DD" format. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for ITSM GetCMDBSyncStatus description: Complete reference of the GetCMDBSyncStatus API. diff --git a/plugins/modules/itsm_integration_events_failed_info.py b/plugins/modules/itsm_integration_events_failed_info.py index b02e8dc1de..c2a6dca63b 100644 --- a/plugins/modules/itsm_integration_events_failed_info.py +++ b/plugins/modules/itsm_integration_events_failed_info.py @@ -24,8 +24,8 @@ - InstanceId query parameter. Instance Id of the failed event as in the Runtime Dashboard. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for ITSM GetFailedITSMEvents description: Complete reference of the GetFailedITSMEvents API. diff --git a/plugins/modules/itsm_integration_events_retry.py b/plugins/modules/itsm_integration_events_retry.py index 201f6891d8..64c97fe80e 100644 --- a/plugins/modules/itsm_integration_events_retry.py +++ b/plugins/modules/itsm_integration_events_retry.py @@ -24,8 +24,8 @@ elements: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for ITSM RetryIntegrationEvents description: Complete reference of the RetryIntegrationEvents API. diff --git a/plugins/modules/lan_automation_count_info.py b/plugins/modules/lan_automation_count_info.py index d172a752c4..e275eaf2c8 100644 --- a/plugins/modules/lan_automation_count_info.py +++ b/plugins/modules/lan_automation_count_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for LAN Automation LANAutomationSessionCount description: Complete reference of the LANAutomationSessionCount API. diff --git a/plugins/modules/lan_automation_create.py b/plugins/modules/lan_automation_create.py index e87775b948..b9c04f38d6 100644 --- a/plugins/modules/lan_automation_create.py +++ b/plugins/modules/lan_automation_create.py @@ -63,8 +63,8 @@ type: bool type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for LAN Automation LANAutomationStart description: Complete reference of the LANAutomationStart API. diff --git a/plugins/modules/lan_automation_delete.py b/plugins/modules/lan_automation_delete.py index d4a8a6651b..d31484c673 100644 --- a/plugins/modules/lan_automation_delete.py +++ b/plugins/modules/lan_automation_delete.py @@ -20,8 +20,8 @@ description: Id path parameter. LAN Automation id can be obtained from /dna/intent/api/v1/lan-automation/status. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for LAN Automation LANAutomationStop description: Complete reference of the LANAutomationStop API. diff --git a/plugins/modules/lan_automation_log_by_serial_number_info.py b/plugins/modules/lan_automation_log_by_serial_number_info.py index c81f24292c..fa75bec891 100644 --- a/plugins/modules/lan_automation_log_by_serial_number_info.py +++ b/plugins/modules/lan_automation_log_by_serial_number_info.py @@ -37,8 +37,8 @@ the remaining logs, please leave the query parameter blank. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for LAN Automation LANAutomationLogsForIndividualDevices description: Complete reference of the LANAutomationLogsForIndividualDevices API. diff --git a/plugins/modules/lan_automation_log_info.py b/plugins/modules/lan_automation_log_info.py index ede147df97..6a8aa12919 100644 --- a/plugins/modules/lan_automation_log_info.py +++ b/plugins/modules/lan_automation_log_info.py @@ -34,8 +34,8 @@ - Id path parameter. LAN Automation session identifier. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for LAN Automation LANAutomationLog description: Complete reference of the LANAutomationLog API. diff --git a/plugins/modules/lan_automation_status_info.py b/plugins/modules/lan_automation_status_info.py index 62ad0a3717..3680a97ebb 100644 --- a/plugins/modules/lan_automation_status_info.py +++ b/plugins/modules/lan_automation_status_info.py @@ -34,8 +34,8 @@ - Id path parameter. LAN Automation session identifier. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for LAN Automation LANAutomationStatus description: Complete reference of the LANAutomationStatus API. diff --git a/plugins/modules/license_device_count_info.py b/plugins/modules/license_device_count_info.py index efee0085a5..0ec3976ac0 100644 --- a/plugins/modules/license_device_count_info.py +++ b/plugins/modules/license_device_count_info.py @@ -40,8 +40,8 @@ - Smart_account_id query parameter. Smart account id. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Licenses DeviceCountDetails2 description: Complete reference of the DeviceCountDetails2 API. diff --git a/plugins/modules/license_device_deregistration.py b/plugins/modules/license_device_deregistration.py index aeceb34709..ddf70df119 100644 --- a/plugins/modules/license_device_deregistration.py +++ b/plugins/modules/license_device_deregistration.py @@ -21,8 +21,8 @@ elements: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Licenses DeviceDeregistration2 description: Complete reference of the DeviceDeregistration2 API. diff --git a/plugins/modules/license_device_license_details_info.py b/plugins/modules/license_device_license_details_info.py index 5410196ca8..965c577e36 100644 --- a/plugins/modules/license_device_license_details_info.py +++ b/plugins/modules/license_device_license_details_info.py @@ -24,8 +24,8 @@ - Device_uuid path parameter. Id of device. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Licenses DeviceLicenseDetails2 description: Complete reference of the DeviceLicenseDetails2 API. diff --git a/plugins/modules/license_device_license_summary_info.py b/plugins/modules/license_device_license_summary_info.py index ae872d0956..c2806d39a1 100644 --- a/plugins/modules/license_device_license_summary_info.py +++ b/plugins/modules/license_device_license_summary_info.py @@ -60,8 +60,8 @@ - Device_uuid query parameter. Id of device. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Licenses DeviceLicenseSummary2 description: Complete reference of the DeviceLicenseSummary2 API. diff --git a/plugins/modules/license_device_registration.py b/plugins/modules/license_device_registration.py index 6d7f5b955b..de878f7908 100644 --- a/plugins/modules/license_device_registration.py +++ b/plugins/modules/license_device_registration.py @@ -24,8 +24,8 @@ description: Virtual_account_name path parameter. Name of virtual account. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Licenses DeviceRegistration2 description: Complete reference of the DeviceRegistration2 API. diff --git a/plugins/modules/license_smart_account_details_info.py b/plugins/modules/license_smart_account_details_info.py index b70fa56c03..70685c2ed3 100644 --- a/plugins/modules/license_smart_account_details_info.py +++ b/plugins/modules/license_smart_account_details_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Licenses SmartAccountDetails description: Complete reference of the SmartAccountDetails API. diff --git a/plugins/modules/license_term_details_info.py b/plugins/modules/license_term_details_info.py index bdf26471d0..d0bf73d4de 100644 --- a/plugins/modules/license_term_details_info.py +++ b/plugins/modules/license_term_details_info.py @@ -34,8 +34,8 @@ - Device_type query parameter. Type of device like router, switch, wireless or ise. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Licenses LicenseTermDetails2 description: Complete reference of the LicenseTermDetails2 API. diff --git a/plugins/modules/license_usage_details_info.py b/plugins/modules/license_usage_details_info.py index d315848c90..3fd4d54665 100644 --- a/plugins/modules/license_usage_details_info.py +++ b/plugins/modules/license_usage_details_info.py @@ -34,8 +34,8 @@ - Device_type query parameter. Type of device like router, switch, wireless or ise. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Licenses LicenseUsageDetails2 description: Complete reference of the LicenseUsageDetails2 API. diff --git a/plugins/modules/license_virtual_account_change.py b/plugins/modules/license_virtual_account_change.py index 9e647aefcb..762e015401 100644 --- a/plugins/modules/license_virtual_account_change.py +++ b/plugins/modules/license_virtual_account_change.py @@ -27,8 +27,8 @@ description: Virtual_account_name path parameter. Name of target virtual account. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Licenses ChangeVirtualAccount2 description: Complete reference of the ChangeVirtualAccount2 API. diff --git a/plugins/modules/license_virtual_account_details_info.py b/plugins/modules/license_virtual_account_details_info.py index 476f587584..72a2f1041a 100644 --- a/plugins/modules/license_virtual_account_details_info.py +++ b/plugins/modules/license_virtual_account_details_info.py @@ -24,8 +24,8 @@ - Smart_account_id path parameter. Id of smart account. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Licenses VirtualAccountDetails2 description: Complete reference of the VirtualAccountDetails2 API. diff --git a/plugins/modules/netconf_credential.py b/plugins/modules/netconf_credential.py index a8cec09424..d75908aa6f 100644 --- a/plugins/modules/netconf_credential.py +++ b/plugins/modules/netconf_credential.py @@ -39,8 +39,8 @@ description: Netconf Credential's netconfPort. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery CreateNetconfCredentials description: Complete reference of the CreateNetconfCredentials API. diff --git a/plugins/modules/network_create.py b/plugins/modules/network_create.py index 9c7abda29d..8bf553aba0 100644 --- a/plugins/modules/network_create.py +++ b/plugins/modules/network_create.py @@ -134,8 +134,8 @@ the network settings. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings CreateNetwork description: Complete reference of the CreateNetwork API. diff --git a/plugins/modules/network_device.py b/plugins/modules/network_device.py index e103dbbf1a..2fca16035c 100644 --- a/plugins/modules/network_device.py +++ b/plugins/modules/network_device.py @@ -117,8 +117,8 @@ description: Network Device's userName. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices AddDevice2 description: Complete reference of the AddDevice2 API. diff --git a/plugins/modules/network_device_by_ip_info.py b/plugins/modules/network_device_by_ip_info.py index 151347c572..502db8ba4d 100644 --- a/plugins/modules/network_device_by_ip_info.py +++ b/plugins/modules/network_device_by_ip_info.py @@ -24,8 +24,8 @@ - IpAddress path parameter. Device IP address. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetNetworkDeviceByIP description: Complete reference of the GetNetworkDeviceByIP API. diff --git a/plugins/modules/network_device_by_serial_number_info.py b/plugins/modules/network_device_by_serial_number_info.py index 4248aee8c0..d40497b17c 100644 --- a/plugins/modules/network_device_by_serial_number_info.py +++ b/plugins/modules/network_device_by_serial_number_info.py @@ -24,8 +24,8 @@ - SerialNumber path parameter. Device serial number. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetDeviceBySerialNumber description: Complete reference of the GetDeviceBySerialNumber API. diff --git a/plugins/modules/network_device_chassis_details_info.py b/plugins/modules/network_device_chassis_details_info.py index 6d540eae89..c5b34a498b 100644 --- a/plugins/modules/network_device_chassis_details_info.py +++ b/plugins/modules/network_device_chassis_details_info.py @@ -24,8 +24,8 @@ - DeviceId path parameter. Device ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetChassisDetailsForDevice description: Complete reference of the GetChassisDetailsForDevice API. diff --git a/plugins/modules/network_device_config_count_info.py b/plugins/modules/network_device_config_count_info.py index e2b2a2449c..3d2c900b06 100644 --- a/plugins/modules/network_device_config_count_info.py +++ b/plugins/modules/network_device_config_count_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetDeviceConfigCount description: Complete reference of the GetDeviceConfigCount API. diff --git a/plugins/modules/network_device_config_info.py b/plugins/modules/network_device_config_info.py index b2832bb776..6810fd6db0 100644 --- a/plugins/modules/network_device_config_info.py +++ b/plugins/modules/network_device_config_info.py @@ -26,8 +26,8 @@ - NetworkDeviceId path parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetDeviceConfigById description: Complete reference of the GetDeviceConfigById API. diff --git a/plugins/modules/network_device_count_info.py b/plugins/modules/network_device_count_info.py index 3a865dacba..cdcf87b7cc 100644 --- a/plugins/modules/network_device_count_info.py +++ b/plugins/modules/network_device_count_info.py @@ -28,8 +28,8 @@ - DeviceId path parameter. Device ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetDeviceCount2 description: Complete reference of the GetDeviceCount2 API. diff --git a/plugins/modules/network_device_custom_prompt.py b/plugins/modules/network_device_custom_prompt.py index ab60bde8ba..38fbc4eaa5 100644 --- a/plugins/modules/network_device_custom_prompt.py +++ b/plugins/modules/network_device_custom_prompt.py @@ -25,8 +25,8 @@ description: Username Prompt. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for System Settings CustomPromptPOSTAPI description: Complete reference of the CustomPromptPOSTAPI API. diff --git a/plugins/modules/network_device_custom_prompt_info.py b/plugins/modules/network_device_custom_prompt_info.py index 96a9c74bcf..cd3d02bdd0 100644 --- a/plugins/modules/network_device_custom_prompt_info.py +++ b/plugins/modules/network_device_custom_prompt_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for System Settings CustomPromptSupportGETAPI description: Complete reference of the CustomPromptSupportGETAPI API. diff --git a/plugins/modules/network_device_equipment_info.py b/plugins/modules/network_device_equipment_info.py index 0e5cd5c641..7bc3a67334 100644 --- a/plugins/modules/network_device_equipment_info.py +++ b/plugins/modules/network_device_equipment_info.py @@ -30,8 +30,8 @@ If no type is mentioned, All equipments are fetched for the device. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices ReturnPowerSupplyFanDetailsForTheGivenDevice description: Complete reference of the ReturnPowerSupplyFanDetailsForTheGivenDevice API. diff --git a/plugins/modules/network_device_export.py b/plugins/modules/network_device_export.py index 93bb723e63..c1bf8d245d 100644 --- a/plugins/modules/network_device_export.py +++ b/plugins/modules/network_device_export.py @@ -34,8 +34,8 @@ description: Network Device Export's password. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices ExportDeviceList description: Complete reference of the ExportDeviceList API. diff --git a/plugins/modules/network_device_functional_capability_info.py b/plugins/modules/network_device_functional_capability_info.py index 60d2c04b2e..1d88047ab9 100644 --- a/plugins/modules/network_device_functional_capability_info.py +++ b/plugins/modules/network_device_functional_capability_info.py @@ -37,8 +37,8 @@ - Id path parameter. Functional Capability UUID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetFunctionalCapabilityById description: Complete reference of the GetFunctionalCapabilityById API. diff --git a/plugins/modules/network_device_global_polling_interval_info.py b/plugins/modules/network_device_global_polling_interval_info.py index 4d1df2f6e0..41bced4d18 100644 --- a/plugins/modules/network_device_global_polling_interval_info.py +++ b/plugins/modules/network_device_global_polling_interval_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetPollingIntervalForAllDevices description: Complete reference of the GetPollingIntervalForAllDevices API. diff --git a/plugins/modules/network_device_info.py b/plugins/modules/network_device_info.py index 49d427c071..7dae65a3f0 100644 --- a/plugins/modules/network_device_info.py +++ b/plugins/modules/network_device_info.py @@ -190,8 +190,8 @@ - Limit query parameter. 1 <= limit <= 500 max. No. Of devices to be returned in the result. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetDeviceByID description: Complete reference of the GetDeviceByID API. diff --git a/plugins/modules/network_device_interface_neighbor_info.py b/plugins/modules/network_device_interface_neighbor_info.py index 9b34f8a988..da4550a9e2 100644 --- a/plugins/modules/network_device_interface_neighbor_info.py +++ b/plugins/modules/network_device_interface_neighbor_info.py @@ -28,8 +28,8 @@ - InterfaceUuid path parameter. Instanceuuid of interface. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetConnectedDeviceDetail description: Complete reference of the GetConnectedDeviceDetail API. diff --git a/plugins/modules/network_device_interface_poe_info.py b/plugins/modules/network_device_interface_poe_info.py index 3da01e1417..2c525456f6 100644 --- a/plugins/modules/network_device_interface_poe_info.py +++ b/plugins/modules/network_device_interface_poe_info.py @@ -31,8 +31,8 @@ - InterfaceNameList query parameter. Comma seperated interface names. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices ReturnsPOEInterfaceDetailsForTheDevice description: Complete reference of the ReturnsPOEInterfaceDetailsForTheDevice API. diff --git a/plugins/modules/network_device_inventory_insight_link_mismatch_info.py b/plugins/modules/network_device_inventory_insight_link_mismatch_info.py index 23f7c6c57b..ee282e771a 100644 --- a/plugins/modules/network_device_inventory_insight_link_mismatch_info.py +++ b/plugins/modules/network_device_inventory_insight_link_mismatch_info.py @@ -44,8 +44,8 @@ - Order query parameter. Order. Value can be asc or desc. Default value is asc. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices InventoryInsightDeviceLinkMismatchAPI description: Complete reference of the InventoryInsightDeviceLinkMismatchAPI API. diff --git a/plugins/modules/network_device_lexicographically_sorted_info.py b/plugins/modules/network_device_lexicographically_sorted_info.py index 04e1ebfcec..cd7473692b 100644 --- a/plugins/modules/network_device_lexicographically_sorted_info.py +++ b/plugins/modules/network_device_lexicographically_sorted_info.py @@ -108,8 +108,8 @@ - Limit query parameter. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetDeviceValuesThatMatchFullyOrPartiallyAnAttribute description: Complete reference of the GetDeviceValuesThatMatchFullyOrPartiallyAnAttribute API. diff --git a/plugins/modules/network_device_linecard_details_info.py b/plugins/modules/network_device_linecard_details_info.py index a2267a752d..6ec120deda 100644 --- a/plugins/modules/network_device_linecard_details_info.py +++ b/plugins/modules/network_device_linecard_details_info.py @@ -24,8 +24,8 @@ - DeviceUuid path parameter. Instanceuuid of device. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetLinecardDetails description: Complete reference of the GetLinecardDetails API. diff --git a/plugins/modules/network_device_meraki_organization_info.py b/plugins/modules/network_device_meraki_organization_info.py index a9bde346e1..a8bc1ddeb6 100644 --- a/plugins/modules/network_device_meraki_organization_info.py +++ b/plugins/modules/network_device_meraki_organization_info.py @@ -24,8 +24,8 @@ - Id path parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetOrganizationListForMeraki description: Complete reference of the GetOrganizationListForMeraki API. diff --git a/plugins/modules/network_device_module_count_info.py b/plugins/modules/network_device_module_count_info.py index 6bddca67ef..5969b346ee 100644 --- a/plugins/modules/network_device_module_count_info.py +++ b/plugins/modules/network_device_module_count_info.py @@ -44,8 +44,8 @@ elements: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetModuleCount description: Complete reference of the GetModuleCount API. diff --git a/plugins/modules/network_device_module_info.py b/plugins/modules/network_device_module_info.py index d9924fc159..be3bd1a556 100644 --- a/plugins/modules/network_device_module_info.py +++ b/plugins/modules/network_device_module_info.py @@ -58,8 +58,8 @@ - Id path parameter. Module id. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetModuleInfoById description: Complete reference of the GetModuleInfoById API. diff --git a/plugins/modules/network_device_poe_info.py b/plugins/modules/network_device_poe_info.py index ca99bdd370..4f78d1e703 100644 --- a/plugins/modules/network_device_poe_info.py +++ b/plugins/modules/network_device_poe_info.py @@ -24,8 +24,8 @@ - DeviceUuid path parameter. Uuid of the device. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices POEDetails description: Complete reference of the POEDetails API. diff --git a/plugins/modules/network_device_polling_interval_info.py b/plugins/modules/network_device_polling_interval_info.py index 36bfbce020..fc4707d26e 100644 --- a/plugins/modules/network_device_polling_interval_info.py +++ b/plugins/modules/network_device_polling_interval_info.py @@ -24,8 +24,8 @@ - Id path parameter. Device ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetPollingIntervalById description: Complete reference of the GetPollingIntervalById API. diff --git a/plugins/modules/network_device_range_info.py b/plugins/modules/network_device_range_info.py index 2aa2f9e808..5ea4572f49 100644 --- a/plugins/modules/network_device_range_info.py +++ b/plugins/modules/network_device_range_info.py @@ -30,8 +30,8 @@ - RecordsToReturn path parameter. Number of records to return 1<= recordsToReturn <= 500. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetNetworkDeviceByPaginationRange description: Complete reference of the GetNetworkDeviceByPaginationRange API. diff --git a/plugins/modules/network_device_register_for_wsa_info.py b/plugins/modules/network_device_register_for_wsa_info.py index 7997fa15f4..29c483aa29 100644 --- a/plugins/modules/network_device_register_for_wsa_info.py +++ b/plugins/modules/network_device_register_for_wsa_info.py @@ -30,8 +30,8 @@ - Macaddress query parameter. Mac addres of the device. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetDevicesRegisteredForWSANotification description: Complete reference of the GetDevicesRegisteredForWSANotification API. diff --git a/plugins/modules/network_device_stack_details_info.py b/plugins/modules/network_device_stack_details_info.py index 4f8912bc95..5cdaf55ad6 100644 --- a/plugins/modules/network_device_stack_details_info.py +++ b/plugins/modules/network_device_stack_details_info.py @@ -24,8 +24,8 @@ - DeviceId path parameter. Device ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetStackDetailsForDevice description: Complete reference of the GetStackDetailsForDevice API. diff --git a/plugins/modules/network_device_summary_info.py b/plugins/modules/network_device_summary_info.py index 4aa0c2940a..3096ba1cf2 100644 --- a/plugins/modules/network_device_summary_info.py +++ b/plugins/modules/network_device_summary_info.py @@ -24,8 +24,8 @@ - Id path parameter. Device ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetDeviceSummary description: Complete reference of the GetDeviceSummary API. diff --git a/plugins/modules/network_device_supervisor_card_details_info.py b/plugins/modules/network_device_supervisor_card_details_info.py index f4547f2957..f9db5bdd7a 100644 --- a/plugins/modules/network_device_supervisor_card_details_info.py +++ b/plugins/modules/network_device_supervisor_card_details_info.py @@ -24,8 +24,8 @@ - DeviceUuid path parameter. Instanceuuid of device. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetSupervisorCardDetail description: Complete reference of the GetSupervisorCardDetail API. diff --git a/plugins/modules/network_device_sync.py b/plugins/modules/network_device_sync.py index 255d81e12e..526b8d239b 100644 --- a/plugins/modules/network_device_sync.py +++ b/plugins/modules/network_device_sync.py @@ -27,8 +27,8 @@ elements: dict type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices SyncDevices description: Complete reference of the SyncDevices API. diff --git a/plugins/modules/network_device_update_role.py b/plugins/modules/network_device_update_role.py index 16972e2eed..14ded7ec10 100644 --- a/plugins/modules/network_device_update_role.py +++ b/plugins/modules/network_device_update_role.py @@ -26,8 +26,8 @@ description: Network Device Update Role's roleSource. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices UpdateDeviceRole description: Complete reference of the UpdateDeviceRole API. diff --git a/plugins/modules/network_device_user_defined_field.py b/plugins/modules/network_device_user_defined_field.py index b350e69dd5..8d0ddc17ef 100644 --- a/plugins/modules/network_device_user_defined_field.py +++ b/plugins/modules/network_device_user_defined_field.py @@ -28,8 +28,8 @@ description: Name of UDF. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices CreateUserDefinedField description: Complete reference of the CreateUserDefinedField API. diff --git a/plugins/modules/network_device_user_defined_field_info.py b/plugins/modules/network_device_user_defined_field_info.py index d72f5955e2..9671142727 100644 --- a/plugins/modules/network_device_user_defined_field_info.py +++ b/plugins/modules/network_device_user_defined_field_info.py @@ -30,8 +30,8 @@ - Name query parameter. Comma-seperated name(s) used for search/filtering. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetAllUserDefinedFields description: Complete reference of the GetAllUserDefinedFields API. diff --git a/plugins/modules/network_device_vlan_info.py b/plugins/modules/network_device_vlan_info.py index d236beee3a..132c102c7e 100644 --- a/plugins/modules/network_device_vlan_info.py +++ b/plugins/modules/network_device_vlan_info.py @@ -28,8 +28,8 @@ - InterfaceType query parameter. Vlan assocaited with sub-interface. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetDeviceInterfaceVLANs description: Complete reference of the GetDeviceInterfaceVLANs API. diff --git a/plugins/modules/network_device_wireless_lan_info.py b/plugins/modules/network_device_wireless_lan_info.py index 29615e66df..f08b1bcca0 100644 --- a/plugins/modules/network_device_wireless_lan_info.py +++ b/plugins/modules/network_device_wireless_lan_info.py @@ -24,8 +24,8 @@ - Id path parameter. Device ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetWirelessLanControllerDetailsById description: Complete reference of the GetWirelessLanControllerDetailsById API. diff --git a/plugins/modules/network_device_with_snmp_v3_des_info.py b/plugins/modules/network_device_with_snmp_v3_des_info.py index 4fd5157c56..b3b6a55d68 100644 --- a/plugins/modules/network_device_with_snmp_v3_des_info.py +++ b/plugins/modules/network_device_with_snmp_v3_des_info.py @@ -42,8 +42,8 @@ - Order query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices ReturnsDevicesAddedToCiscoDNACenterWithSnmpV3DES description: Complete reference of the ReturnsDevicesAddedToCiscoDNACenterWithSnmpV3DES API. diff --git a/plugins/modules/network_info.py b/plugins/modules/network_info.py index 682a9b5b10..0aa99bde53 100644 --- a/plugins/modules/network_info.py +++ b/plugins/modules/network_info.py @@ -24,8 +24,8 @@ - SiteId query parameter. Site id to get the network settings associated with the site. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings GetNetwork description: Complete reference of the GetNetwork API. diff --git a/plugins/modules/network_settings_intent.py b/plugins/modules/network_settings_intent.py index 72c2e8421b..a86d342cfd 100644 --- a/plugins/modules/network_settings_intent.py +++ b/plugins/modules/network_settings_intent.py @@ -318,7 +318,7 @@ type: str requirements: - dnacentersdk == 2.4.5 -- python >= 3.5 +- python >= 3.9 notes: - SDK Method used are network_settings.NetworkSettings.create_global_pool, diff --git a/plugins/modules/network_settings_workflow_manager.py b/plugins/modules/network_settings_workflow_manager.py index 71fb089428..cdf7b06344 100644 --- a/plugins/modules/network_settings_workflow_manager.py +++ b/plugins/modules/network_settings_workflow_manager.py @@ -318,7 +318,7 @@ type: str requirements: - dnacentersdk == 2.4.5 -- python >= 3.5 +- python >= 3.9 notes: - SDK Method used are network_settings.NetworkSettings.create_global_pool, diff --git a/plugins/modules/network_update.py b/plugins/modules/network_update.py index be67025b80..42b2eec0fd 100644 --- a/plugins/modules/network_update.py +++ b/plugins/modules/network_update.py @@ -131,8 +131,8 @@ is associated with the site. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings UpdateNetwork description: Complete reference of the UpdateNetwork API. diff --git a/plugins/modules/network_v2.py b/plugins/modules/network_v2.py index 14ca5c2861..faa1b85c9b 100644 --- a/plugins/modules/network_v2.py +++ b/plugins/modules/network_v2.py @@ -134,8 +134,8 @@ the network settings. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings CreateNetworkV2 description: Complete reference of the CreateNetworkV2 API. diff --git a/plugins/modules/network_v2_info.py b/plugins/modules/network_v2_info.py index f3b03cb76f..096b27bbda 100644 --- a/plugins/modules/network_v2_info.py +++ b/plugins/modules/network_v2_info.py @@ -24,8 +24,8 @@ - SiteId query parameter. Site Id to get the network settings associated with the site. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings GetNetworkV2 description: Complete reference of the GetNetworkV2 API. diff --git a/plugins/modules/nfv_profile.py b/plugins/modules/nfv_profile.py index 409c937d4f..37ce591019 100644 --- a/plugins/modules/nfv_profile.py +++ b/plugins/modules/nfv_profile.py @@ -147,8 +147,8 @@ description: Name of the profile to create NFV profile. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Site Design CreateNFVProfile description: Complete reference of the CreateNFVProfile API. diff --git a/plugins/modules/nfv_profile_info.py b/plugins/modules/nfv_profile_info.py index 9468793596..7deb4f7bea 100644 --- a/plugins/modules/nfv_profile_info.py +++ b/plugins/modules/nfv_profile_info.py @@ -36,8 +36,8 @@ - Name query parameter. Name of network profile to be retrieved. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Site Design GetNFVProfile description: Complete reference of the GetNFVProfile API. diff --git a/plugins/modules/nfv_provision.py b/plugins/modules/nfv_provision.py index 23f4269f01..e242de7f57 100644 --- a/plugins/modules/nfv_provision.py +++ b/plugins/modules/nfv_provision.py @@ -375,8 +375,8 @@ type: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Site Design ProvisionNFV description: Complete reference of the ProvisionNFV API. diff --git a/plugins/modules/nfv_provision_detail_info.py b/plugins/modules/nfv_provision_detail_info.py index 8ad7287ade..2a0f85a5a5 100644 --- a/plugins/modules/nfv_provision_detail_info.py +++ b/plugins/modules/nfv_provision_detail_info.py @@ -24,8 +24,8 @@ - DeviceIp query parameter. Device to which the provisioning detail has to be retrieved. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Site Design GetDeviceDetailsByIP description: Complete reference of the GetDeviceDetailsByIP API. diff --git a/plugins/modules/nfv_provision_details.py b/plugins/modules/nfv_provision_details.py index 6f8bc73080..af9792e72d 100644 --- a/plugins/modules/nfv_provision_details.py +++ b/plugins/modules/nfv_provision_details.py @@ -23,8 +23,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Site Design NFVProvisioningDetail description: Complete reference of the NFVProvisioningDetail API. diff --git a/plugins/modules/path_trace.py b/plugins/modules/path_trace.py index a2b5519a67..055db2d564 100644 --- a/plugins/modules/path_trace.py +++ b/plugins/modules/path_trace.py @@ -49,8 +49,8 @@ description: Source Port. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Path Trace InitiateANewPathtrace description: Complete reference of the InitiateANewPathtrace API. diff --git a/plugins/modules/path_trace_info.py b/plugins/modules/path_trace_info.py index a160114ef0..d305183c19 100644 --- a/plugins/modules/path_trace_info.py +++ b/plugins/modules/path_trace_info.py @@ -86,8 +86,8 @@ - FlowAnalysisId path parameter. Flow analysis request id. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Path Trace RetrievesPreviousPathtrace description: Complete reference of the RetrievesPreviousPathtrace API. diff --git a/plugins/modules/planned_access_points_info.py b/plugins/modules/planned_access_points_info.py index df323c577c..bed5d8656f 100644 --- a/plugins/modules/planned_access_points_info.py +++ b/plugins/modules/planned_access_points_info.py @@ -36,8 +36,8 @@ - Radios query parameter. Inlcude planned radio details. type: bool requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Devices GetPlannedAccessPointsForFloor description: Complete reference of the GetPlannedAccessPointsForFloor API. diff --git a/plugins/modules/platform_nodes_configuration_summary_info.py b/plugins/modules/platform_nodes_configuration_summary_info.py index 9e4bad79eb..d06ecb029a 100644 --- a/plugins/modules/platform_nodes_configuration_summary_info.py +++ b/plugins/modules/platform_nodes_configuration_summary_info.py @@ -23,8 +23,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Platform Configuration CiscoDNACenterNodesConfigurationSummary description: Complete reference of the CiscoDNACenterNodesConfigurationSummary API. diff --git a/plugins/modules/platform_release_summary_info.py b/plugins/modules/platform_release_summary_info.py index 7af697e951..b37caefc01 100644 --- a/plugins/modules/platform_release_summary_info.py +++ b/plugins/modules/platform_release_summary_info.py @@ -22,8 +22,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Platform Configuration CiscoDNACenterReleaseSummary description: Complete reference of the CiscoDNACenterReleaseSummary API. diff --git a/plugins/modules/pnp_device.py b/plugins/modules/pnp_device.py index 0f6a736a53..a3451edeb4 100644 --- a/plugins/modules/pnp_device.py +++ b/plugins/modules/pnp_device.py @@ -823,8 +823,8 @@ type: str type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) AddDevice description: Complete reference of the AddDevice API. diff --git a/plugins/modules/pnp_device_authorize.py b/plugins/modules/pnp_device_authorize.py index c6aa96590f..2a033f504b 100644 --- a/plugins/modules/pnp_device_authorize.py +++ b/plugins/modules/pnp_device_authorize.py @@ -21,8 +21,8 @@ elements: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for AuthorizeDevice description: Complete reference of the AuthorizeDevice API. diff --git a/plugins/modules/pnp_device_claim.py b/plugins/modules/pnp_device_claim.py index 3a6c668f52..4ce1b33892 100644 --- a/plugins/modules/pnp_device_claim.py +++ b/plugins/modules/pnp_device_claim.py @@ -77,8 +77,8 @@ description: Pnp Device Claim's workflowId. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) ClaimDevice description: Complete reference of the ClaimDevice API. diff --git a/plugins/modules/pnp_device_claim_to_site.py b/plugins/modules/pnp_device_claim_to_site.py index 397dc9f95b..2e3bdd0a5b 100644 --- a/plugins/modules/pnp_device_claim_to_site.py +++ b/plugins/modules/pnp_device_claim_to_site.py @@ -80,8 +80,8 @@ description: For Catalyst 9800 WLC. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) ClaimADeviceToASite description: Complete reference of the ClaimADeviceToASite API. diff --git a/plugins/modules/pnp_device_config_preview.py b/plugins/modules/pnp_device_config_preview.py index 7007ba3bb7..24d1ae219c 100644 --- a/plugins/modules/pnp_device_config_preview.py +++ b/plugins/modules/pnp_device_config_preview.py @@ -26,8 +26,8 @@ description: Pnp Device Config Preview's type. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) PreviewConfig description: Complete reference of the PreviewConfig API. diff --git a/plugins/modules/pnp_device_count_info.py b/plugins/modules/pnp_device_count_info.py index 5b98a91e55..94dc35fa23 100644 --- a/plugins/modules/pnp_device_count_info.py +++ b/plugins/modules/pnp_device_count_info.py @@ -89,8 +89,8 @@ - LastContact query parameter. Device Has Contacted lastContact > 0. type: bool requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) GetDeviceCount description: Complete reference of the GetDeviceCount API. diff --git a/plugins/modules/pnp_device_history_info.py b/plugins/modules/pnp_device_history_info.py index 662cc694ba..781a2f035c 100644 --- a/plugins/modules/pnp_device_history_info.py +++ b/plugins/modules/pnp_device_history_info.py @@ -33,8 +33,8 @@ - SortOrder query parameter. Sort Order Ascending (asc) or Descending (des). type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) GetDeviceHistory description: Complete reference of the GetDeviceHistory API. diff --git a/plugins/modules/pnp_device_import.py b/plugins/modules/pnp_device_import.py index 78ff2aadad..ed0802a80b 100644 --- a/plugins/modules/pnp_device_import.py +++ b/plugins/modules/pnp_device_import.py @@ -823,8 +823,8 @@ type: dict type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) ImportDevicesInBulk description: Complete reference of the ImportDevicesInBulk API. diff --git a/plugins/modules/pnp_device_info.py b/plugins/modules/pnp_device_info.py index 3f0b11bee0..06500ec52b 100644 --- a/plugins/modules/pnp_device_info.py +++ b/plugins/modules/pnp_device_info.py @@ -126,8 +126,8 @@ - Id path parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) GetDeviceById description: Complete reference of the GetDeviceById API. diff --git a/plugins/modules/pnp_device_reset.py b/plugins/modules/pnp_device_reset.py index 97d079c490..df5a7fe154 100644 --- a/plugins/modules/pnp_device_reset.py +++ b/plugins/modules/pnp_device_reset.py @@ -59,8 +59,8 @@ description: Pnp Device Reset's workflowId. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) ResetDevice description: Complete reference of the ResetDevice API. diff --git a/plugins/modules/pnp_device_unclaim.py b/plugins/modules/pnp_device_unclaim.py index a1212a6880..81ac6a27be 100644 --- a/plugins/modules/pnp_device_unclaim.py +++ b/plugins/modules/pnp_device_unclaim.py @@ -21,8 +21,8 @@ elements: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) UnClaimDevice description: Complete reference of the UnClaimDevice API. diff --git a/plugins/modules/pnp_global_settings.py b/plugins/modules/pnp_global_settings.py index fa5ff41b8e..b7bd4f09ea 100644 --- a/plugins/modules/pnp_global_settings.py +++ b/plugins/modules/pnp_global_settings.py @@ -158,8 +158,8 @@ description: Pnp Global Settings's version. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) UpdatePnPGlobalSettings description: Complete reference of the UpdatePnPGlobalSettings API. diff --git a/plugins/modules/pnp_global_settings_info.py b/plugins/modules/pnp_global_settings_info.py index 9347be595f..e9c124ec51 100644 --- a/plugins/modules/pnp_global_settings_info.py +++ b/plugins/modules/pnp_global_settings_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) GetPnPGlobalSettings description: Complete reference of the GetPnPGlobalSettings API. diff --git a/plugins/modules/pnp_intent.py b/plugins/modules/pnp_intent.py index f0494fb588..15d00b0dc0 100644 --- a/plugins/modules/pnp_intent.py +++ b/plugins/modules/pnp_intent.py @@ -158,7 +158,7 @@ - TYPICAL requirements: - dnacentersdk == 2.6.10 - - python >= 3.5 + - python >= 3.9 notes: - SDK Method used are device_onboarding_pnp.DeviceOnboardingPnp.add_device, device_onboarding_pnp.DeviceOnboardingPnp.get_device_list, diff --git a/plugins/modules/pnp_server_profile_update.py b/plugins/modules/pnp_server_profile_update.py index b6528b96bd..ee90a6978f 100644 --- a/plugins/modules/pnp_server_profile_update.py +++ b/plugins/modules/pnp_server_profile_update.py @@ -99,8 +99,8 @@ description: Pnp Server Profile Update's virtualAccountId. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) UpdatePnPServerProfile description: Complete reference of the UpdatePnPServerProfile API. diff --git a/plugins/modules/pnp_smart_account_domains_info.py b/plugins/modules/pnp_smart_account_domains_info.py index 6f57ce11de..bc612723a2 100644 --- a/plugins/modules/pnp_smart_account_domains_info.py +++ b/plugins/modules/pnp_smart_account_domains_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) GetSmartAccountList description: Complete reference of the GetSmartAccountList API. diff --git a/plugins/modules/pnp_virtual_account_add.py b/plugins/modules/pnp_virtual_account_add.py index 0f81408226..7a3ceef874 100644 --- a/plugins/modules/pnp_virtual_account_add.py +++ b/plugins/modules/pnp_virtual_account_add.py @@ -100,8 +100,8 @@ description: Pnp Virtual Account Add's virtualAccountId. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) AddVirtualAccount description: Complete reference of the AddVirtualAccount API. diff --git a/plugins/modules/pnp_virtual_account_deregister.py b/plugins/modules/pnp_virtual_account_deregister.py index 8f0d9d4322..06af57d3b9 100644 --- a/plugins/modules/pnp_virtual_account_deregister.py +++ b/plugins/modules/pnp_virtual_account_deregister.py @@ -26,8 +26,8 @@ description: Name query parameter. Virtual Account Name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) DeregisterVirtualAccount description: Complete reference of the DeregisterVirtualAccount API. diff --git a/plugins/modules/pnp_virtual_account_devices_sync.py b/plugins/modules/pnp_virtual_account_devices_sync.py index 6a1c0da099..208bd3352c 100644 --- a/plugins/modules/pnp_virtual_account_devices_sync.py +++ b/plugins/modules/pnp_virtual_account_devices_sync.py @@ -99,8 +99,8 @@ description: Pnp Virtual Account Devices Sync's virtualAccountId. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) SyncVirtualAccountDevices description: Complete reference of the SyncVirtualAccountDevices API. diff --git a/plugins/modules/pnp_virtual_account_sync_result_info.py b/plugins/modules/pnp_virtual_account_sync_result_info.py index e3c37abe05..61a07cb79f 100644 --- a/plugins/modules/pnp_virtual_account_sync_result_info.py +++ b/plugins/modules/pnp_virtual_account_sync_result_info.py @@ -28,8 +28,8 @@ - Name path parameter. Virtual Account Name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) GetSyncResultForVirtualAccount description: Complete reference of the GetSyncResultForVirtualAccount API. diff --git a/plugins/modules/pnp_virtual_accounts_info.py b/plugins/modules/pnp_virtual_accounts_info.py index 40ed3ac75f..635a189d5d 100644 --- a/plugins/modules/pnp_virtual_accounts_info.py +++ b/plugins/modules/pnp_virtual_accounts_info.py @@ -24,8 +24,8 @@ - Domain path parameter. Smart Account Domain. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) GetVirtualAccountList description: Complete reference of the GetVirtualAccountList API. diff --git a/plugins/modules/pnp_workflow.py b/plugins/modules/pnp_workflow.py index 5a5850959d..d8658e0ea3 100644 --- a/plugins/modules/pnp_workflow.py +++ b/plugins/modules/pnp_workflow.py @@ -128,8 +128,8 @@ description: Pnp Workflow's version. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) AddAWorkflow description: Complete reference of the AddAWorkflow API. diff --git a/plugins/modules/pnp_workflow_count_info.py b/plugins/modules/pnp_workflow_count_info.py index 215330a78a..3c835c119b 100644 --- a/plugins/modules/pnp_workflow_count_info.py +++ b/plugins/modules/pnp_workflow_count_info.py @@ -25,8 +25,8 @@ elements: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) GetWorkflowCount description: Complete reference of the GetWorkflowCount API. diff --git a/plugins/modules/pnp_workflow_info.py b/plugins/modules/pnp_workflow_info.py index 7a00e17bcd..d91ea342b7 100644 --- a/plugins/modules/pnp_workflow_info.py +++ b/plugins/modules/pnp_workflow_info.py @@ -55,8 +55,8 @@ - Id path parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Device Onboarding (PnP) GetWorkflowById description: Complete reference of the GetWorkflowById API. diff --git a/plugins/modules/pnp_workflow_manager.py b/plugins/modules/pnp_workflow_manager.py index 3080f4028a..909670645b 100644 --- a/plugins/modules/pnp_workflow_manager.py +++ b/plugins/modules/pnp_workflow_manager.py @@ -158,7 +158,7 @@ - TYPICAL requirements: - dnacentersdk == 2.6.10 - - python >= 3.5 + - python >= 3.9 notes: - SDK Method used are device_onboarding_pnp.DeviceOnboardingPnp.add_device, device_onboarding_pnp.DeviceOnboardingPnp.get_device_list, diff --git a/plugins/modules/profiling_rules_count_info.py b/plugins/modules/profiling_rules_count_info.py index a3181b3c65..461adba262 100644 --- a/plugins/modules/profiling_rules_count_info.py +++ b/plugins/modules/profiling_rules_count_info.py @@ -29,8 +29,8 @@ - IncludeDeleted query parameter. Flag to indicate whether deleted rules should be part of the records fetched. type: bool requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are policy.Policy.get_count_of_profiling_rules, diff --git a/plugins/modules/profiling_rules_in_bulk_create.py b/plugins/modules/profiling_rules_in_bulk_create.py index 8e5b49c2db..ec2bfc306a 100644 --- a/plugins/modules/profiling_rules_in_bulk_create.py +++ b/plugins/modules/profiling_rules_in_bulk_create.py @@ -121,8 +121,8 @@ type: list type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are policy.Policy.import_profiling_rules_in_bulk, diff --git a/plugins/modules/projects_details_info.py b/plugins/modules/projects_details_info.py index 704c881e2a..2185060fde 100644 --- a/plugins/modules/projects_details_info.py +++ b/plugins/modules/projects_details_info.py @@ -40,8 +40,8 @@ - SortOrder query parameter. Sort Order Ascending (asc) or Descending (dsc). type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates GetProjectsDetails description: Complete reference of the GetProjectsDetails API. diff --git a/plugins/modules/provision_intent.py b/plugins/modules/provision_intent.py index a9231c1425..1c19ed0c7b 100644 --- a/plugins/modules/provision_intent.py +++ b/plugins/modules/provision_intent.py @@ -74,7 +74,7 @@ requirements: - dnacentersdk == 2.4.5 -- python >= 3.5 +- python >= 3.9 notes: - SDK Methods used are sites.Sites.get_site, diff --git a/plugins/modules/provision_workflow_manager.py b/plugins/modules/provision_workflow_manager.py index f31ad3ccfa..cd99f3de61 100644 --- a/plugins/modules/provision_workflow_manager.py +++ b/plugins/modules/provision_workflow_manager.py @@ -75,7 +75,7 @@ requirements: - dnacentersdk == 2.4.5 -- python >= 3.5 +- python >= 3.9 notes: - SDK Methods used are sites.Sites.get_site, diff --git a/plugins/modules/qos_device_interface.py b/plugins/modules/qos_device_interface.py index 2c7881cb78..e9b67c7601 100644 --- a/plugins/modules/qos_device_interface.py +++ b/plugins/modules/qos_device_interface.py @@ -70,8 +70,8 @@ type: list type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy CreateQosDeviceInterfaceInfo description: Complete reference of the CreateQosDeviceInterfaceInfo API. diff --git a/plugins/modules/qos_device_interface_info.py b/plugins/modules/qos_device_interface_info.py index 98f070c58e..ad7bb2bbef 100644 --- a/plugins/modules/qos_device_interface_info.py +++ b/plugins/modules/qos_device_interface_info.py @@ -24,8 +24,8 @@ - NetworkDeviceId query parameter. Network device id. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy GetQosDeviceInterfaceInfo description: Complete reference of the GetQosDeviceInterfaceInfo API. diff --git a/plugins/modules/qos_device_interface_info_count_info.py b/plugins/modules/qos_device_interface_info_count_info.py index fd872ab6e4..f77c2ce31f 100644 --- a/plugins/modules/qos_device_interface_info_count_info.py +++ b/plugins/modules/qos_device_interface_info_count_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Application Policy GetQosDeviceInterfaceInfoCount description: Complete reference of the GetQosDeviceInterfaceInfoCount API. diff --git a/plugins/modules/reports.py b/plugins/modules/reports.py index 039746e730..3e7eab25c4 100644 --- a/plugins/modules/reports.py +++ b/plugins/modules/reports.py @@ -103,8 +103,8 @@ description: Version of viewgroup for the report. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Reports CreateOrScheduleAReport description: Complete reference of the CreateOrScheduleAReport API. diff --git a/plugins/modules/reports_executions_info.py b/plugins/modules/reports_executions_info.py index 2002682db8..f12cd7caa1 100644 --- a/plugins/modules/reports_executions_info.py +++ b/plugins/modules/reports_executions_info.py @@ -44,8 +44,8 @@ - The filename used to save the download file. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Reports DownloadReportContent description: Complete reference of the DownloadReportContent API. diff --git a/plugins/modules/reports_info.py b/plugins/modules/reports_info.py index 963b6bb160..aed7e10df6 100644 --- a/plugins/modules/reports_info.py +++ b/plugins/modules/reports_info.py @@ -34,8 +34,8 @@ - ReportId path parameter. ReportId of report. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Reports GetAScheduledReport description: Complete reference of the GetAScheduledReport API. diff --git a/plugins/modules/reports_view_group_info.py b/plugins/modules/reports_view_group_info.py index 71fd405a9f..76b1317181 100644 --- a/plugins/modules/reports_view_group_info.py +++ b/plugins/modules/reports_view_group_info.py @@ -28,8 +28,8 @@ - ViewGroupId path parameter. ViewGroupId of viewgroup. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Reports GetAllViewGroups description: Complete reference of the GetAllViewGroups API. diff --git a/plugins/modules/reports_view_group_view_info.py b/plugins/modules/reports_view_group_view_info.py index 791e4a0d64..11889bac94 100644 --- a/plugins/modules/reports_view_group_view_info.py +++ b/plugins/modules/reports_view_group_view_info.py @@ -30,8 +30,8 @@ - ViewId path parameter. View id of view. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Reports GetViewDetailsForAGivenViewGroup_View description: Complete reference of the GetViewDetailsForAGivenViewGroup_View API. diff --git a/plugins/modules/reserve_ip_subpool.py b/plugins/modules/reserve_ip_subpool.py index 8d0d75295d..507b0e0783 100644 --- a/plugins/modules/reserve_ip_subpool.py +++ b/plugins/modules/reserve_ip_subpool.py @@ -94,8 +94,8 @@ description: Type of the reserve ip sub pool. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings ReserveIPSubpool description: Complete reference of the ReserveIPSubpool API. diff --git a/plugins/modules/reserve_ip_subpool_create.py b/plugins/modules/reserve_ip_subpool_create.py index ad78c5f91e..699e7c96cb 100644 --- a/plugins/modules/reserve_ip_subpool_create.py +++ b/plugins/modules/reserve_ip_subpool_create.py @@ -88,8 +88,8 @@ description: Type of the reserve ip sub pool. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings ReserveIPSubpool description: Complete reference of the ReserveIPSubpool API. diff --git a/plugins/modules/reserve_ip_subpool_delete.py b/plugins/modules/reserve_ip_subpool_delete.py index d4471c2a9d..65ecd4733c 100644 --- a/plugins/modules/reserve_ip_subpool_delete.py +++ b/plugins/modules/reserve_ip_subpool_delete.py @@ -20,8 +20,8 @@ description: Id path parameter. Id of reserve ip subpool to be deleted. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings ReleaseReserveIPSubpool description: Complete reference of the ReleaseReserveIPSubpool API. diff --git a/plugins/modules/reserve_ip_subpool_info.py b/plugins/modules/reserve_ip_subpool_info.py index ab1a529553..ec3c76d16c 100644 --- a/plugins/modules/reserve_ip_subpool_info.py +++ b/plugins/modules/reserve_ip_subpool_info.py @@ -32,8 +32,8 @@ - Limit query parameter. No of Global Pools to be retrieved. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings GetReserveIPSubpool description: Complete reference of the GetReserveIPSubpool API. diff --git a/plugins/modules/reserve_ip_subpool_update.py b/plugins/modules/reserve_ip_subpool_update.py index 3e960395fe..4bf71c42ce 100644 --- a/plugins/modules/reserve_ip_subpool_update.py +++ b/plugins/modules/reserve_ip_subpool_update.py @@ -72,8 +72,8 @@ description: Slaac Support. type: bool requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings UpdateReserveIPSubpool description: Complete reference of the UpdateReserveIPSubpool API. diff --git a/plugins/modules/role_permissions_info.py b/plugins/modules/role_permissions_info.py index 3f520a6972..51957ed067 100644 --- a/plugins/modules/role_permissions_info.py +++ b/plugins/modules/role_permissions_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for User and Roles GetPermissionsAPI description: Complete reference of the GetPermissionsAPI API. diff --git a/plugins/modules/roles_info.py b/plugins/modules/roles_info.py index 3e719be1a5..a8ce30ddfc 100644 --- a/plugins/modules/roles_info.py +++ b/plugins/modules/roles_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for User and Roles GetRolesAPI description: Complete reference of the GetRolesAPI API. diff --git a/plugins/modules/sda_count_info.py b/plugins/modules/sda_count_info.py index a80b1d359a..d942591c12 100644 --- a/plugins/modules/sda_count_info.py +++ b/plugins/modules/sda_count_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are sda.Sda.get_sda_fabric_count, diff --git a/plugins/modules/sda_device_info.py b/plugins/modules/sda_device_info.py index db40c572b6..22029fe55b 100644 --- a/plugins/modules/sda_device_info.py +++ b/plugins/modules/sda_device_info.py @@ -24,8 +24,8 @@ - DeviceManagementIpAddress query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA GetDeviceInfoFromSDAFabric description: Complete reference of the GetDeviceInfoFromSDAFabric API. diff --git a/plugins/modules/sda_device_role_info.py b/plugins/modules/sda_device_role_info.py index 2a857d803b..b06a698a18 100644 --- a/plugins/modules/sda_device_role_info.py +++ b/plugins/modules/sda_device_role_info.py @@ -24,8 +24,8 @@ - DeviceManagementIpAddress query parameter. Device Management IP Address. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA GetDeviceRoleInSDAFabric description: Complete reference of the GetDeviceRoleInSDAFabric API. diff --git a/plugins/modules/sda_fabric.py b/plugins/modules/sda_fabric.py index 158e6f1e62..f068b0e1e4 100644 --- a/plugins/modules/sda_fabric.py +++ b/plugins/modules/sda_fabric.py @@ -21,8 +21,8 @@ description: FabricName query parameter. Fabric Name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are sda.Sda.add_fabric, diff --git a/plugins/modules/sda_fabric_authentication_profile.py b/plugins/modules/sda_fabric_authentication_profile.py index 51b32887b6..925e28fa1a 100644 --- a/plugins/modules/sda_fabric_authentication_profile.py +++ b/plugins/modules/sda_fabric_authentication_profile.py @@ -34,8 +34,8 @@ description: SiteNameHierarchy query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA AddDefaultAuthenticationTemplateInSDAFabric description: Complete reference of the AddDefaultAuthenticationTemplateInSDAFabric API. diff --git a/plugins/modules/sda_fabric_authentication_profile_info.py b/plugins/modules/sda_fabric_authentication_profile_info.py index 7d810bb815..619af5f016 100644 --- a/plugins/modules/sda_fabric_authentication_profile_info.py +++ b/plugins/modules/sda_fabric_authentication_profile_info.py @@ -29,8 +29,8 @@ - AuthenticateTemplateName query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA GetDefaultAuthenticationProfileFromSDAFabric description: Complete reference of the GetDefaultAuthenticationProfileFromSDAFabric API. diff --git a/plugins/modules/sda_fabric_border_device.py b/plugins/modules/sda_fabric_border_device.py index 960e9d7cd5..e2441daf86 100644 --- a/plugins/modules/sda_fabric_border_device.py +++ b/plugins/modules/sda_fabric_border_device.py @@ -125,8 +125,8 @@ type: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA AddBorderDeviceInSDAFabric description: Complete reference of the AddBorderDeviceInSDAFabric API. diff --git a/plugins/modules/sda_fabric_border_device_info.py b/plugins/modules/sda_fabric_border_device_info.py index 3290402017..c4318cd732 100644 --- a/plugins/modules/sda_fabric_border_device_info.py +++ b/plugins/modules/sda_fabric_border_device_info.py @@ -25,8 +25,8 @@ - DeviceManagementIpAddress query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA GetBorderDeviceDetailFromSDAFabric description: Complete reference of the GetBorderDeviceDetailFromSDAFabric API. diff --git a/plugins/modules/sda_fabric_control_plane_device.py b/plugins/modules/sda_fabric_control_plane_device.py index 2f7189b35e..ff3ecf449d 100644 --- a/plugins/modules/sda_fabric_control_plane_device.py +++ b/plugins/modules/sda_fabric_control_plane_device.py @@ -31,8 +31,8 @@ type: str version_added: 4.0.0 requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA AddControlPlaneDeviceInSDAFabric description: Complete reference of the AddControlPlaneDeviceInSDAFabric API. diff --git a/plugins/modules/sda_fabric_control_plane_device_info.py b/plugins/modules/sda_fabric_control_plane_device_info.py index 837a4d5439..9267a70140 100644 --- a/plugins/modules/sda_fabric_control_plane_device_info.py +++ b/plugins/modules/sda_fabric_control_plane_device_info.py @@ -25,8 +25,8 @@ - DeviceManagementIpAddress query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA GetControlPlaneDeviceFromSDAFabric description: Complete reference of the GetControlPlaneDeviceFromSDAFabric API. diff --git a/plugins/modules/sda_fabric_edge_device.py b/plugins/modules/sda_fabric_edge_device.py index 800ca6d3c3..9bcde0422f 100644 --- a/plugins/modules/sda_fabric_edge_device.py +++ b/plugins/modules/sda_fabric_edge_device.py @@ -26,8 +26,8 @@ type: str version_added: 4.0.0 requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA AddEdgeDeviceInSDAFabric description: Complete reference of the AddEdgeDeviceInSDAFabric API. diff --git a/plugins/modules/sda_fabric_edge_device_info.py b/plugins/modules/sda_fabric_edge_device_info.py index 7d94ac4666..a4f6eecc28 100644 --- a/plugins/modules/sda_fabric_edge_device_info.py +++ b/plugins/modules/sda_fabric_edge_device_info.py @@ -24,8 +24,8 @@ - DeviceManagementIpAddress query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA GetEdgeDeviceFromSDAFabric description: Complete reference of the GetEdgeDeviceFromSDAFabric API. diff --git a/plugins/modules/sda_fabric_info.py b/plugins/modules/sda_fabric_info.py index c0e49de7d8..c44290025c 100644 --- a/plugins/modules/sda_fabric_info.py +++ b/plugins/modules/sda_fabric_info.py @@ -24,8 +24,8 @@ - FabricName query parameter. Fabric Name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are sda.Sda.get_sda_fabric_info, diff --git a/plugins/modules/sda_fabric_site.py b/plugins/modules/sda_fabric_site.py index 2b7e6f8d43..eed71ad48e 100644 --- a/plugins/modules/sda_fabric_site.py +++ b/plugins/modules/sda_fabric_site.py @@ -31,8 +31,8 @@ description: SiteNameHierarchy query parameter. Site Name Hierarchy. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA AddSiteInSDAFabric description: Complete reference of the AddSiteInSDAFabric API. diff --git a/plugins/modules/sda_fabric_site_info.py b/plugins/modules/sda_fabric_site_info.py index c0c1158288..bd2e8c1772 100644 --- a/plugins/modules/sda_fabric_site_info.py +++ b/plugins/modules/sda_fabric_site_info.py @@ -24,8 +24,8 @@ - SiteNameHierarchy query parameter. Site Name Hierarchy. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA GetSiteFromSDAFabric description: Complete reference of the GetSiteFromSDAFabric API. diff --git a/plugins/modules/sda_multicast.py b/plugins/modules/sda_multicast.py index 4ee828f02c..6e1045c5d0 100644 --- a/plugins/modules/sda_multicast.py +++ b/plugins/modules/sda_multicast.py @@ -56,8 +56,8 @@ description: Full path of sda Fabric Site. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA AddMulticastInSDAFabric description: Complete reference of the AddMulticastInSDAFabric API. diff --git a/plugins/modules/sda_multicast_info.py b/plugins/modules/sda_multicast_info.py index 959c9ed2f6..2f4ae1218b 100644 --- a/plugins/modules/sda_multicast_info.py +++ b/plugins/modules/sda_multicast_info.py @@ -24,8 +24,8 @@ - SiteNameHierarchy query parameter. Fabric site name hierarchy. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA GetMulticastDetailsFromSDAFabric description: Complete reference of the GetMulticastDetailsFromSDAFabric API. diff --git a/plugins/modules/sda_port_assignment_for_access_point.py b/plugins/modules/sda_port_assignment_for_access_point.py index 39b7df6e55..c8280407db 100644 --- a/plugins/modules/sda_port_assignment_for_access_point.py +++ b/plugins/modules/sda_port_assignment_for_access_point.py @@ -41,8 +41,8 @@ type: str version_added: 4.0.0 requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA AddPortAssignmentForAccessPointInSDAFabric description: Complete reference of the AddPortAssignmentForAccessPointInSDAFabric API. diff --git a/plugins/modules/sda_port_assignment_for_access_point_info.py b/plugins/modules/sda_port_assignment_for_access_point_info.py index 45dc1ea39b..3cdb7cd3af 100644 --- a/plugins/modules/sda_port_assignment_for_access_point_info.py +++ b/plugins/modules/sda_port_assignment_for_access_point_info.py @@ -29,8 +29,8 @@ - InterfaceName query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA GetPortAssignmentForAccessPointInSDAFabric description: Complete reference of the GetPortAssignmentForAccessPointInSDAFabric API. diff --git a/plugins/modules/sda_port_assignment_for_user_device.py b/plugins/modules/sda_port_assignment_for_user_device.py index 15c389ce6b..58664b8e2e 100644 --- a/plugins/modules/sda_port_assignment_for_user_device.py +++ b/plugins/modules/sda_port_assignment_for_user_device.py @@ -54,8 +54,8 @@ type: str version_added: 4.0.0 requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA AddPortAssignmentForUserDeviceInSDAFabric description: Complete reference of the AddPortAssignmentForUserDeviceInSDAFabric API. diff --git a/plugins/modules/sda_port_assignment_for_user_device_info.py b/plugins/modules/sda_port_assignment_for_user_device_info.py index e62e9ae3cd..2fdbee0464 100644 --- a/plugins/modules/sda_port_assignment_for_user_device_info.py +++ b/plugins/modules/sda_port_assignment_for_user_device_info.py @@ -28,8 +28,8 @@ - InterfaceName query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA GetPortAssignmentForUserDeviceInSDAFabric description: Complete reference of the GetPortAssignmentForUserDeviceInSDAFabric API. diff --git a/plugins/modules/sda_provision_device.py b/plugins/modules/sda_provision_device.py index 97c12fae01..5940634b8f 100644 --- a/plugins/modules/sda_provision_device.py +++ b/plugins/modules/sda_provision_device.py @@ -26,8 +26,8 @@ description: SiteNameHierarchy of the provisioned device. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA ProvisionWiredDevice description: Complete reference of the ProvisionWiredDevice API. diff --git a/plugins/modules/sda_provision_device_info.py b/plugins/modules/sda_provision_device_info.py index a57d733033..ae78549ec7 100644 --- a/plugins/modules/sda_provision_device_info.py +++ b/plugins/modules/sda_provision_device_info.py @@ -24,8 +24,8 @@ - DeviceManagementIpAddress query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA GetProvisionedWiredDevice description: Complete reference of the GetProvisionedWiredDevice API. diff --git a/plugins/modules/sda_virtual_network.py b/plugins/modules/sda_virtual_network.py index 5231d8b95c..09d01e5ed2 100644 --- a/plugins/modules/sda_virtual_network.py +++ b/plugins/modules/sda_virtual_network.py @@ -24,8 +24,8 @@ description: VirtualNetworkName query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA AddVNInFabric description: Complete reference of the AddVNInFabric API. diff --git a/plugins/modules/sda_virtual_network_info.py b/plugins/modules/sda_virtual_network_info.py index 0739371775..560c9179ff 100644 --- a/plugins/modules/sda_virtual_network_info.py +++ b/plugins/modules/sda_virtual_network_info.py @@ -28,8 +28,8 @@ - SiteNameHierarchy query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA GetVNFromSDAFabric description: Complete reference of the GetVNFromSDAFabric API. diff --git a/plugins/modules/sda_virtual_network_ip_pool.py b/plugins/modules/sda_virtual_network_ip_pool.py index c0242821ca..71bdf744f1 100644 --- a/plugins/modules/sda_virtual_network_ip_pool.py +++ b/plugins/modules/sda_virtual_network_ip_pool.py @@ -83,8 +83,8 @@ type: str version_added: 4.0.0 requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA AddIPPoolInSDAVirtualNetwork description: Complete reference of the AddIPPoolInSDAVirtualNetwork API. diff --git a/plugins/modules/sda_virtual_network_ip_pool_info.py b/plugins/modules/sda_virtual_network_ip_pool_info.py index 205199cf5c..35de542c63 100644 --- a/plugins/modules/sda_virtual_network_ip_pool_info.py +++ b/plugins/modules/sda_virtual_network_ip_pool_info.py @@ -34,8 +34,8 @@ - IpPoolName query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA GetIPPoolFromSDAVirtualNetwork description: Complete reference of the GetIPPoolFromSDAVirtualNetwork API. diff --git a/plugins/modules/sda_virtual_network_v2.py b/plugins/modules/sda_virtual_network_v2.py index 37e862ae5f..27bffd8d97 100644 --- a/plugins/modules/sda_virtual_network_v2.py +++ b/plugins/modules/sda_virtual_network_v2.py @@ -32,8 +32,8 @@ description: Virtual Network Name to be assigned at global level. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA AddVirtualNetworkWithScalableGroups description: Complete reference of the AddVirtualNetworkWithScalableGroups API. diff --git a/plugins/modules/sda_virtual_network_v2_info.py b/plugins/modules/sda_virtual_network_v2_info.py index b1b408c08f..fc73454d14 100644 --- a/plugins/modules/sda_virtual_network_v2_info.py +++ b/plugins/modules/sda_virtual_network_v2_info.py @@ -24,8 +24,8 @@ - VirtualNetworkName query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for SDA GetVirtualNetworkWithScalableGroups description: Complete reference of the GetVirtualNetworkWithScalableGroups API. diff --git a/plugins/modules/security_advisories_devices_info.py b/plugins/modules/security_advisories_devices_info.py index 0a0bf0c903..977fe48cd8 100644 --- a/plugins/modules/security_advisories_devices_info.py +++ b/plugins/modules/security_advisories_devices_info.py @@ -24,8 +24,8 @@ - AdvisoryId path parameter. Advisory ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Security Advisories GetDevicesPerAdvisory description: Complete reference of the GetDevicesPerAdvisory API. diff --git a/plugins/modules/security_advisories_ids_per_device_info.py b/plugins/modules/security_advisories_ids_per_device_info.py index 8bf7638d9b..47f2db3968 100644 --- a/plugins/modules/security_advisories_ids_per_device_info.py +++ b/plugins/modules/security_advisories_ids_per_device_info.py @@ -24,8 +24,8 @@ - DeviceId path parameter. Device instance UUID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Security Advisories GetAdvisoryIDsPerDevice description: Complete reference of the GetAdvisoryIDsPerDevice API. diff --git a/plugins/modules/security_advisories_info.py b/plugins/modules/security_advisories_info.py index b0b551cd91..a2d8603167 100644 --- a/plugins/modules/security_advisories_info.py +++ b/plugins/modules/security_advisories_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Security Advisories GetAdvisoriesList description: Complete reference of the GetAdvisoriesList API. diff --git a/plugins/modules/security_advisories_per_device_info.py b/plugins/modules/security_advisories_per_device_info.py index 54735ee133..486bb46541 100644 --- a/plugins/modules/security_advisories_per_device_info.py +++ b/plugins/modules/security_advisories_per_device_info.py @@ -24,8 +24,8 @@ - DeviceId path parameter. Device instance UUID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Security Advisories GetAdvisoriesPerDevice description: Complete reference of the GetAdvisoriesPerDevice API. diff --git a/plugins/modules/security_advisories_summary_info.py b/plugins/modules/security_advisories_summary_info.py index 4709ca6b90..88440acebf 100644 --- a/plugins/modules/security_advisories_summary_info.py +++ b/plugins/modules/security_advisories_summary_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Security Advisories GetAdvisoriesSummary description: Complete reference of the GetAdvisoriesSummary API. diff --git a/plugins/modules/sensor.py b/plugins/modules/sensor.py index 4ac0fc8bdf..c98887c451 100644 --- a/plugins/modules/sensor.py +++ b/plugins/modules/sensor.py @@ -87,8 +87,8 @@ description: TemplateName query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Sensors CreateSensorTestTemplate description: Complete reference of the CreateSensorTestTemplate API. diff --git a/plugins/modules/sensor_info.py b/plugins/modules/sensor_info.py index 20bbeae04d..2955ceac13 100644 --- a/plugins/modules/sensor_info.py +++ b/plugins/modules/sensor_info.py @@ -24,8 +24,8 @@ - SiteId query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Sensors Sensors description: Complete reference of the Sensors API. diff --git a/plugins/modules/sensor_test_run.py b/plugins/modules/sensor_test_run.py index ac13177e06..cb800c9687 100644 --- a/plugins/modules/sensor_test_run.py +++ b/plugins/modules/sensor_test_run.py @@ -20,8 +20,8 @@ description: Template Name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Sensors RunNowSensorTest description: Complete reference of the RunNowSensorTest API. diff --git a/plugins/modules/sensor_test_template_duplicate.py b/plugins/modules/sensor_test_template_duplicate.py index 513178c5e0..85cad96d2c 100644 --- a/plugins/modules/sensor_test_template_duplicate.py +++ b/plugins/modules/sensor_test_template_duplicate.py @@ -23,8 +23,8 @@ description: Template Name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Sensors DuplicateSensorTestTemplate description: Complete reference of the DuplicateSensorTestTemplate API. diff --git a/plugins/modules/sensor_test_template_edit.py b/plugins/modules/sensor_test_template_edit.py index aa993bd10d..b8bf3f3b42 100644 --- a/plugins/modules/sensor_test_template_edit.py +++ b/plugins/modules/sensor_test_template_edit.py @@ -83,8 +83,8 @@ description: Template Name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Sensors EditSensorTestTemplate description: Complete reference of the EditSensorTestTemplate API. diff --git a/plugins/modules/service_provider_create.py b/plugins/modules/service_provider_create.py index 44ef4888b1..2ce62b6649 100644 --- a/plugins/modules/service_provider_create.py +++ b/plugins/modules/service_provider_create.py @@ -35,8 +35,8 @@ type: list type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings CreateSPProfile description: Complete reference of the CreateSPProfile API. diff --git a/plugins/modules/service_provider_info.py b/plugins/modules/service_provider_info.py index 6444f79783..d2bc282f39 100644 --- a/plugins/modules/service_provider_info.py +++ b/plugins/modules/service_provider_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings GetServiceProviderDetails description: Complete reference of the GetServiceProviderDetails API. diff --git a/plugins/modules/service_provider_profile_delete.py b/plugins/modules/service_provider_profile_delete.py index ec7330c642..0d076885ea 100644 --- a/plugins/modules/service_provider_profile_delete.py +++ b/plugins/modules/service_provider_profile_delete.py @@ -20,8 +20,8 @@ description: SpProfileName path parameter. Sp profile name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings DeleteSPProfile description: Complete reference of the DeleteSPProfile API. diff --git a/plugins/modules/service_provider_update.py b/plugins/modules/service_provider_update.py index f3c9a6d359..3ec3fcde9b 100644 --- a/plugins/modules/service_provider_update.py +++ b/plugins/modules/service_provider_update.py @@ -38,8 +38,8 @@ type: list type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings UpdateSPProfile description: Complete reference of the UpdateSPProfile API. diff --git a/plugins/modules/service_provider_v2.py b/plugins/modules/service_provider_v2.py index 3a804288fb..5dcf4f3676 100644 --- a/plugins/modules/service_provider_v2.py +++ b/plugins/modules/service_provider_v2.py @@ -36,8 +36,8 @@ type: list type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings CreateSPProfileV2 description: Complete reference of the CreateSPProfileV2 API. diff --git a/plugins/modules/service_provider_v2_info.py b/plugins/modules/service_provider_v2_info.py index 50635cc29a..2641b9bdb1 100644 --- a/plugins/modules/service_provider_v2_info.py +++ b/plugins/modules/service_provider_v2_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings GetServiceProviderDetailsV2 description: Complete reference of the GetServiceProviderDetailsV2 API. diff --git a/plugins/modules/site_assign_credential.py b/plugins/modules/site_assign_credential.py index 5cbb536845..b21a5ca776 100644 --- a/plugins/modules/site_assign_credential.py +++ b/plugins/modules/site_assign_credential.py @@ -41,8 +41,8 @@ description: Snmp V3 Id. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings AssignDeviceCredentialToSite description: Complete reference of the AssignDeviceCredentialToSite API. diff --git a/plugins/modules/site_assign_device.py b/plugins/modules/site_assign_device.py index d0bdd22683..1c080cba4d 100644 --- a/plugins/modules/site_assign_device.py +++ b/plugins/modules/site_assign_device.py @@ -28,8 +28,8 @@ description: SiteId path parameter. Site id to which site the device to assign. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are sites.Sites.assign_device_to_site, diff --git a/plugins/modules/site_count_info.py b/plugins/modules/site_count_info.py index 85b57d946f..c4a5dbd961 100644 --- a/plugins/modules/site_count_info.py +++ b/plugins/modules/site_count_info.py @@ -24,8 +24,8 @@ - SiteId query parameter. Site id to retrieve site count. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Sites GetSiteCount description: Complete reference of the GetSiteCount API. diff --git a/plugins/modules/site_create.py b/plugins/modules/site_create.py index 31f357aea3..6b690ac25d 100644 --- a/plugins/modules/site_create.py +++ b/plugins/modules/site_create.py @@ -84,8 +84,8 @@ description: Type of site to create (eg area, building, floor). type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Sites CreateSite description: Complete reference of the CreateSite API. diff --git a/plugins/modules/site_delete.py b/plugins/modules/site_delete.py index d36690ef41..6c52cc343a 100644 --- a/plugins/modules/site_delete.py +++ b/plugins/modules/site_delete.py @@ -20,8 +20,8 @@ description: SiteId path parameter. Site id to which site details to be deleted. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Sites DeleteSite description: Complete reference of the DeleteSite API. diff --git a/plugins/modules/site_design_floormap.py b/plugins/modules/site_design_floormap.py index a5f8683836..0948930f3a 100644 --- a/plugins/modules/site_design_floormap.py +++ b/plugins/modules/site_design_floormap.py @@ -24,8 +24,8 @@ description: Site Design Floormap's payload type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are site_design.SiteDesign.create_floormap, diff --git a/plugins/modules/site_design_floormap_info.py b/plugins/modules/site_design_floormap_info.py index ee1fa87bf7..c427e42bb0 100644 --- a/plugins/modules/site_design_floormap_info.py +++ b/plugins/modules/site_design_floormap_info.py @@ -26,8 +26,8 @@ - FloorId path parameter. Group Id of the specified floormap. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are site_design.SiteDesign.get_floormap, diff --git a/plugins/modules/site_health_info.py b/plugins/modules/site_health_info.py index 9614b6eb82..cbb91dcd64 100644 --- a/plugins/modules/site_health_info.py +++ b/plugins/modules/site_health_info.py @@ -36,8 +36,8 @@ - Limit query parameter. The max number of sites in the returned data set. Default is 25, and max at 50. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Sites GetSiteHealth description: Complete reference of the GetSiteHealth API. diff --git a/plugins/modules/site_info.py b/plugins/modules/site_info.py index 49bdf393cd..be914d2e2c 100644 --- a/plugins/modules/site_info.py +++ b/plugins/modules/site_info.py @@ -40,8 +40,8 @@ - Limit query parameter. Number of sites to be retrieved. The default value is 500. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Sites GetSite description: Complete reference of the GetSite API. diff --git a/plugins/modules/site_intent.py b/plugins/modules/site_intent.py index b9b5d8081a..39d708730d 100644 --- a/plugins/modules/site_intent.py +++ b/plugins/modules/site_intent.py @@ -120,7 +120,7 @@ requirements: - dnacentersdk == 2.4.5 -- python >= 3.5 +- python >= 3.9 notes: - SDK Method used are sites.Sites.create_site, diff --git a/plugins/modules/site_membership_info.py b/plugins/modules/site_membership_info.py index d38f3844e2..bc28ba3f3b 100644 --- a/plugins/modules/site_membership_info.py +++ b/plugins/modules/site_membership_info.py @@ -40,8 +40,8 @@ - SerialNumber query parameter. Device serial number. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Sites GetMembership description: Complete reference of the GetMembership API. diff --git a/plugins/modules/site_update.py b/plugins/modules/site_update.py index 4a97a6ede9..86c54a60b8 100644 --- a/plugins/modules/site_update.py +++ b/plugins/modules/site_update.py @@ -78,8 +78,8 @@ description: Type. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Sites UpdateSite description: Complete reference of the UpdateSite API. diff --git a/plugins/modules/site_workflow_manager.py b/plugins/modules/site_workflow_manager.py index 5a6e0bd0b1..81c6a974ec 100644 --- a/plugins/modules/site_workflow_manager.py +++ b/plugins/modules/site_workflow_manager.py @@ -120,7 +120,7 @@ requirements: - dnacentersdk == 2.4.5 -- python >= 3.5 +- python >= 3.9 notes: - SDK Method used are sites.Sites.create_site, diff --git a/plugins/modules/snmp_properties.py b/plugins/modules/snmp_properties.py index 0ea733b2a7..9cbcae16c1 100644 --- a/plugins/modules/snmp_properties.py +++ b/plugins/modules/snmp_properties.py @@ -37,8 +37,8 @@ type: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery CreateUpdateSNMPProperties description: Complete reference of the CreateUpdateSNMPProperties API. diff --git a/plugins/modules/snmp_properties_info.py b/plugins/modules/snmp_properties_info.py index 9300eaa866..4f32fd28d6 100644 --- a/plugins/modules/snmp_properties_info.py +++ b/plugins/modules/snmp_properties_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery GetSNMPProperties description: Complete reference of the GetSNMPProperties API. diff --git a/plugins/modules/snmpv2_read_community_credential.py b/plugins/modules/snmpv2_read_community_credential.py index 69da389eae..0fd5ce8cb1 100644 --- a/plugins/modules/snmpv2_read_community_credential.py +++ b/plugins/modules/snmpv2_read_community_credential.py @@ -33,8 +33,8 @@ description: SNMP read community. NO!$DATA!$ for no value change. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery CreateSNMPReadCommunity description: Complete reference of the CreateSNMPReadCommunity API. diff --git a/plugins/modules/snmpv2_write_community_credential.py b/plugins/modules/snmpv2_write_community_credential.py index 2fbfbbc660..00caf3e5bc 100644 --- a/plugins/modules/snmpv2_write_community_credential.py +++ b/plugins/modules/snmpv2_write_community_credential.py @@ -33,8 +33,8 @@ description: SNMP write community. NO!$DATA!$ for no value change. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery CreateSNMPWriteCommunity description: Complete reference of the CreateSNMPWriteCommunity API. diff --git a/plugins/modules/snmpv3_credential.py b/plugins/modules/snmpv3_credential.py index d48c693d54..705d9e507d 100644 --- a/plugins/modules/snmpv3_credential.py +++ b/plugins/modules/snmpv3_credential.py @@ -54,8 +54,8 @@ description: Snmpv3 Credential's username. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Discovery CreateSNMPv3Credentials description: Complete reference of the CreateSNMPv3Credentials API. diff --git a/plugins/modules/sp_profile_delete_v2.py b/plugins/modules/sp_profile_delete_v2.py index 1022d4de48..236a0ba49a 100644 --- a/plugins/modules/sp_profile_delete_v2.py +++ b/plugins/modules/sp_profile_delete_v2.py @@ -20,8 +20,8 @@ description: SpProfileName path parameter. Sp profile name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Network Settings DeleteSPProfileV2 description: Complete reference of the DeleteSPProfileV2 API. diff --git a/plugins/modules/swim_image_details_info.py b/plugins/modules/swim_image_details_info.py index b9ed467ed4..d41519382c 100644 --- a/plugins/modules/swim_image_details_info.py +++ b/plugins/modules/swim_image_details_info.py @@ -92,8 +92,8 @@ - Offset query parameter. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Software Image Management (SWIM) GetSoftwareImageDetails description: Complete reference of the GetSoftwareImageDetails API. diff --git a/plugins/modules/swim_import_local.py b/plugins/modules/swim_import_local.py index 6ea0d9b9c3..27966b4cdd 100644 --- a/plugins/modules/swim_import_local.py +++ b/plugins/modules/swim_import_local.py @@ -35,8 +35,8 @@ description: ThirdPartyVendor query parameter. Third Party Vendor. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Software Image Management (SWIM) ImportLocalSoftwareImage description: Complete reference of the ImportLocalSoftwareImage API. diff --git a/plugins/modules/swim_import_via_url.py b/plugins/modules/swim_import_via_url.py index 3f86cc0475..df217a30c1 100644 --- a/plugins/modules/swim_import_via_url.py +++ b/plugins/modules/swim_import_via_url.py @@ -49,8 +49,8 @@ description: ScheduleOrigin query parameter. Originator of this call (Optional). type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Software Image Management (SWIM) ImportSoftwareImageViaURL description: Complete reference of the ImportSoftwareImageViaURL API. diff --git a/plugins/modules/swim_intent.py b/plugins/modules/swim_intent.py index 78954cbe92..f1eadb5b48 100644 --- a/plugins/modules/swim_intent.py +++ b/plugins/modules/swim_intent.py @@ -309,7 +309,7 @@ type: bool requirements: - dnacentersdk == 2.4.5 -- python >= 3.5 +- python >= 3.9 notes: - SDK Method used are software_image_management_swim.SoftwareImageManagementSwim.import_software_image_via_url, @@ -770,12 +770,18 @@ def get_device_uuids(self, site_name, device_family, device_role, device_series_ "site_id": site_id, "device_family": device_family } - response = self.dnac._exec( - family="sites", - function='get_membership', - op_modifies=True, - params=site_params, - ) + + try: + response = self.dnac._exec( + family="sites", + function='get_membership', + op_modifies=True, + params=site_params, + ) + except Exception as e: + self.log("Unable to fetch the device(s) associated to the site '{0}' due to '{1}'".format(site_name, str(e)), "WARNING") + return device_uuid_list + self.log("Received API response from 'get_membership': {0}".format(str(response)), "DEBUG") response = response['device'] diff --git a/plugins/modules/swim_trigger_activation.py b/plugins/modules/swim_trigger_activation.py index ec9ca0e5b4..5d7cae2b54 100644 --- a/plugins/modules/swim_trigger_activation.py +++ b/plugins/modules/swim_trigger_activation.py @@ -49,8 +49,8 @@ before schedule (Optional). type: bool requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Software Image Management (SWIM) TriggerSoftwareImageActivation description: Complete reference of the TriggerSoftwareImageActivation API. diff --git a/plugins/modules/swim_trigger_distribution.py b/plugins/modules/swim_trigger_distribution.py index cad143cb4e..ce1b5e1fc7 100644 --- a/plugins/modules/swim_trigger_distribution.py +++ b/plugins/modules/swim_trigger_distribution.py @@ -30,8 +30,8 @@ type: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Software Image Management (SWIM) TriggerSoftwareImageDistribution description: Complete reference of the TriggerSoftwareImageDistribution API. diff --git a/plugins/modules/swim_workflow_manager.py b/plugins/modules/swim_workflow_manager.py index 7937eb0c1e..f7a1764fd9 100644 --- a/plugins/modules/swim_workflow_manager.py +++ b/plugins/modules/swim_workflow_manager.py @@ -296,7 +296,7 @@ type: bool requirements: - dnacentersdk == 2.4.5 -- python >= 3.5 +- python >= 3.9 notes: - SDK Method used are software_image_management_swim.SoftwareImageManagementSwim.import_software_image_via_url, @@ -756,12 +756,18 @@ def get_device_uuids(self, site_name, device_family, device_role, device_series_ "site_id": site_id, "device_family": device_family } - response = self.dnac._exec( - family="sites", - function='get_membership', - op_modifies=True, - params=site_params, - ) + + try: + response = self.dnac._exec( + family="sites", + function='get_membership', + op_modifies=True, + params=site_params, + ) + except Exception as e: + self.log("Unable to fetch the device(s) associated to the site '{0}' due to '{1}'".format(site_name, str(e)), "WARNING") + return device_uuid_list + self.log("Received API response from 'get_membership': {0}".format(str(response)), "DEBUG") response = response['device'] diff --git a/plugins/modules/syslog_config_create.py b/plugins/modules/syslog_config_create.py index d9058d44ea..c4804a3b31 100644 --- a/plugins/modules/syslog_config_create.py +++ b/plugins/modules/syslog_config_create.py @@ -35,8 +35,8 @@ description: Protocol. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management CreateSyslogDestination description: Complete reference of the CreateSyslogDestination API. diff --git a/plugins/modules/syslog_config_update.py b/plugins/modules/syslog_config_update.py index 79d319feac..653555ac9f 100644 --- a/plugins/modules/syslog_config_update.py +++ b/plugins/modules/syslog_config_update.py @@ -35,8 +35,8 @@ description: Protocol. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Event Management UpdateSyslogDestination description: Complete reference of the UpdateSyslogDestination API. diff --git a/plugins/modules/system_health_count_info.py b/plugins/modules/system_health_count_info.py index b8e6b135c3..bf9b723611 100644 --- a/plugins/modules/system_health_count_info.py +++ b/plugins/modules/system_health_count_info.py @@ -32,8 +32,8 @@ here /dna/platform/app/consumer-portal/developer-toolkit/events. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Health and Performance SystemHealthCountAPI description: Complete reference of the SystemHealthCountAPI API. diff --git a/plugins/modules/system_health_info.py b/plugins/modules/system_health_info.py index c0d2ea8816..01a23ee641 100644 --- a/plugins/modules/system_health_info.py +++ b/plugins/modules/system_health_info.py @@ -44,8 +44,8 @@ - Offset query parameter. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Health and Performance SystemHealthAPI description: Complete reference of the SystemHealthAPI API. diff --git a/plugins/modules/system_performance_historical_info.py b/plugins/modules/system_performance_historical_info.py index 9cdbef7d62..11476ed6f0 100644 --- a/plugins/modules/system_performance_historical_info.py +++ b/plugins/modules/system_performance_historical_info.py @@ -36,8 +36,8 @@ be fetched. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Health and Performance SystemPerformanceHistoricalAPI description: Complete reference of the SystemPerformanceHistoricalAPI API. diff --git a/plugins/modules/system_performance_info.py b/plugins/modules/system_performance_info.py index 8460d72650..41b14ccdde 100644 --- a/plugins/modules/system_performance_info.py +++ b/plugins/modules/system_performance_info.py @@ -40,8 +40,8 @@ be fetched. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Health and Performance SystemPerformanceAPI description: Complete reference of the SystemPerformanceAPI API. diff --git a/plugins/modules/tag.py b/plugins/modules/tag.py index 7630c2e614..0b26448c03 100644 --- a/plugins/modules/tag.py +++ b/plugins/modules/tag.py @@ -63,8 +63,8 @@ description: SystemTag flag. type: bool requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Tag CreateTag description: Complete reference of the CreateTag API. diff --git a/plugins/modules/tag_count_info.py b/plugins/modules/tag_count_info.py index 4624d65ed0..7562f71fc6 100644 --- a/plugins/modules/tag_count_info.py +++ b/plugins/modules/tag_count_info.py @@ -44,8 +44,8 @@ - SystemTag query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Tag GetTagCount description: Complete reference of the GetTagCount API. diff --git a/plugins/modules/tag_info.py b/plugins/modules/tag_info.py index bc09f0ba5a..c7c32e7d56 100644 --- a/plugins/modules/tag_info.py +++ b/plugins/modules/tag_info.py @@ -72,8 +72,8 @@ - Id path parameter. Tag ID. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Tag GetTag description: Complete reference of the GetTag API. diff --git a/plugins/modules/tag_member.py b/plugins/modules/tag_member.py index 017fd1c232..2ffe6ce106 100644 --- a/plugins/modules/tag_member.py +++ b/plugins/modules/tag_member.py @@ -30,8 +30,8 @@ description: Map of member type and member ids. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Tag AddMembersToTheTag description: Complete reference of the AddMembersToTheTag API. diff --git a/plugins/modules/tag_member_count_info.py b/plugins/modules/tag_member_count_info.py index 13bfd2c4ce..82dbf33d0c 100644 --- a/plugins/modules/tag_member_count_info.py +++ b/plugins/modules/tag_member_count_info.py @@ -36,8 +36,8 @@ - Level query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Tag GetTagMemberCount description: Complete reference of the GetTagMemberCount API. diff --git a/plugins/modules/tag_member_info.py b/plugins/modules/tag_member_info.py index 0771141395..57401f1529 100644 --- a/plugins/modules/tag_member_info.py +++ b/plugins/modules/tag_member_info.py @@ -50,8 +50,8 @@ - Level query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Tag GetTagMembersById description: Complete reference of the GetTagMembersById API. diff --git a/plugins/modules/tag_member_type_info.py b/plugins/modules/tag_member_type_info.py index 4fcb8ca426..a7e4cd1c93 100644 --- a/plugins/modules/tag_member_type_info.py +++ b/plugins/modules/tag_member_type_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Tag GetTagResourceTypes description: Complete reference of the GetTagResourceTypes API. diff --git a/plugins/modules/tag_membership.py b/plugins/modules/tag_membership.py index e7516549ec..9366e9ed2e 100644 --- a/plugins/modules/tag_membership.py +++ b/plugins/modules/tag_membership.py @@ -32,8 +32,8 @@ description: Tag Membership's memberType. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Tag UpdatesTagMembership description: Complete reference of the UpdatesTagMembership API. diff --git a/plugins/modules/task_count_info.py b/plugins/modules/task_count_info.py index bb95a22fce..a1eedd4459 100644 --- a/plugins/modules/task_count_info.py +++ b/plugins/modules/task_count_info.py @@ -60,8 +60,8 @@ - ParentId query parameter. Fetch tasks that have this parent Id. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Task GetTaskCount description: Complete reference of the GetTaskCount API. diff --git a/plugins/modules/task_info.py b/plugins/modules/task_info.py index 9b2b19b014..9adaf195a4 100644 --- a/plugins/modules/task_info.py +++ b/plugins/modules/task_info.py @@ -82,8 +82,8 @@ - TaskId path parameter. UUID of the Task. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Task GetTaskById description: Complete reference of the GetTaskById API. diff --git a/plugins/modules/task_operation_info.py b/plugins/modules/task_operation_info.py index f5578940c7..ea08f3306b 100644 --- a/plugins/modules/task_operation_info.py +++ b/plugins/modules/task_operation_info.py @@ -34,8 +34,8 @@ value is 1. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Task GetTaskByOperationId description: Complete reference of the GetTaskByOperationId API. diff --git a/plugins/modules/task_tree_info.py b/plugins/modules/task_tree_info.py index bda7d8c51d..9e80665b34 100644 --- a/plugins/modules/task_tree_info.py +++ b/plugins/modules/task_tree_info.py @@ -24,8 +24,8 @@ - TaskId path parameter. UUID of the Task. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Task GetTaskTree description: Complete reference of the GetTaskTree API. diff --git a/plugins/modules/template_intent.py b/plugins/modules/template_intent.py index 19cdc455f0..53c42e0ce1 100644 --- a/plugins/modules/template_intent.py +++ b/plugins/modules/template_intent.py @@ -1104,7 +1104,7 @@ requirements: - dnacentersdk == 2.4.5 -- python >= 3.5 +- python >= 3.9 notes: - SDK Method used are configuration_templates.ConfigurationTemplates.create_template, diff --git a/plugins/modules/template_preview.py b/plugins/modules/template_preview.py index bcd466a54f..cb1657cccd 100644 --- a/plugins/modules/template_preview.py +++ b/plugins/modules/template_preview.py @@ -29,8 +29,8 @@ description: UUID of template to get template preview. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates PreviewTemplate description: Complete reference of the PreviewTemplate API. diff --git a/plugins/modules/template_workflow_manager.py b/plugins/modules/template_workflow_manager.py index e47199ed5a..fbd91685ea 100644 --- a/plugins/modules/template_workflow_manager.py +++ b/plugins/modules/template_workflow_manager.py @@ -47,382 +47,385 @@ required: true suboptions: configuration_templates: - description: Create/Update/Delete template. + description: Perform operations such as Create/Update/Delete on a template. type: dict suboptions: author: - description: Author of template. + description: Identifies the creator of the template. type: str composite: - description: Is it composite template. + description: Specifies if the template is composite. type: bool containing_templates: - description: Configuration Template Create's containingTemplates. + description: + - Refer to a set of templates within the main template to define more complex or modular configurations. + - This is particularly useful in systems that support hierarchical or nested templates. + - Here parent templates may contain child templates to form a complete configuration. suboptions: composite: - description: Is it composite template. + description: Specifies if the template is composite. type: bool description: - description: Description of template. + description: Provides a description of the template. type: str device_types: - description: deviceTypes on which templates would be applied. + description: List of dictionaries details the types of devices that the templates can be applied to. type: list elements: dict suboptions: product_family: - description: Device family. + description: Denotes the family to which the device belongs. type: str product_series: - description: Device series. + description: Specifies the series classification of the device. type: str product_type: - description: Device type. + description: Describes the exact type of the device. type: str id: - description: UUID of template. + description: Unique identifier for the template, represented as a UUID. type: str language: - description: Template language + description: Programming language used for templating. Options are 'JINJA' for Jinja templating or 'VELOCITY' for Apache Velocity. choices: - JINJA - VELOCITY type: str name: - description: Name of template. + description: Designation of the template, serving as its unique name. type: str project_name: - description: Name of the project under which templates are managed. + description: Title of the project within which the template is categorized and managed. type: str project_description: - description: Description of the project created. + description: Narrative that elaborates on the purpose and scope of the project. type: str rollback_template_params: - description: Params required for template rollback. + description: A list of dictionaries defining parameters necessary for the rollback functionality of a template. type: list elements: dict suboptions: binding: - description: Bind to source. + description: Associates the parameter with its source. type: str custom_order: - description: CustomOrder of template param. + description: Specifies a user-defined ordering for the parameter. type: int data_type: - description: Datatype of template param. + description: Identifies the data type of the parameter (e.g., string, integer, boolean). type: str default_value: - description: Default value of template param. + description: Establishes a default value for the parameter, used if no other value is provided. type: str description: - description: Description of template param. + description: Provides a descriptive explanation of the parameter's purpose. type: str display_name: - description: Display name of param. + description: The name of the parameter as displayed to users. type: str group: - description: Group. + description: Categorizes the parameter into a named group for organizational purposes. type: str id: - description: UUID of template param. + description: A unique identifier for the parameter, formatted as a UUID. type: str instruction_text: - description: Instruction text for param. + description: Gives guidance or instructions regarding the parameter's use. type: str key: - description: Key. + description: A unique key that identifies the parameter within the template. type: str not_param: - description: Is it not a variable. + description: Indicates whether the entry is not to be treated as a parameter. type: bool order: - description: Order of template param. + description: Determines the sequence in which the parameter appears relative to others. type: int param_array: - description: Is it an array. + description: Specifies if the parameter should be treated as an array. type: bool parameter_name: - description: Name of template param. + description: The name of the parameter. type: str provider: - description: Provider. + description: Denotes the provider associated with the parameter. type: str range: - description: Configuration Template Create's range. + description: Defines the permissible range for the parameter's value. type: list elements: dict suboptions: id: - description: UUID of range. + description: Unique identifier for the range, represented as a UUID. type: str max_value: - description: Max value of range. + description: Specifies the maximum allowable value for the parameter. type: int min_value: - description: Min value of range. + description: Specifies the minimum allowable value for the parameter. type: int required: - description: Is param required. + description: Dictates whether the parameter is mandatory for template operations. type: bool selection: - description: Configuration Template Create's selection. + description: Contains options for parameter selection when a choice is available. suboptions: default_selected_values: - description: Default selection values. + description: Lists the default values that are preselected. elements: str type: list id: - description: UUID of selection. + description: A unique identifier for the selection entity, represented as a UUID. type: str selection_type: - description: Type of selection(SINGLE_SELECT or MULTI_SELECT). + description: Specifies the type of selection, such as 'SINGLE_SELECT' or 'MULTI_SELECT'. type: str selection_values: - description: Selection values. + description: A dictionary of available values for selection. type: dict type: dict tags: - description: Configuration Template Create's tags. + description: A list of dictionaries representing tags associated with the Configuration Template during creation. suboptions: id: - description: UUID of tag. + description: The unique identifier for each tag, presented as a UUID. type: str name: - description: Name of tag. + description: The descriptive label or name assigned to the tag. type: str type: list elements: dict template_content: - description: Template content. + description: The actual script or code constituting the body of the template. type: str template_params: - description: Configuration Template Create's templateParams. + description: The customization of the contents within the template. elements: dict suboptions: binding: - description: Bind to source. + description: Associates the parameter with its source. type: str custom_order: - description: CustomOrder of template param. + description: Specifies a user-defined ordering for the parameter. type: int data_type: - description: Datatype of template param. + description: Identifies the data type of the parameter (e.g., string, integer, boolean). type: str default_value: - description: Default value of template param. + description: Establishes a default value for the parameter, used if no other value is provided. type: str description: - description: Description of template param. + description: Provides a descriptive explanation of the parameter's purpose. type: str display_name: - description: Display name of param. + description: The name of the parameter as displayed to users. type: str group: - description: Group. + description: Categorizes the parameter into a named group for organizational purposes. type: str id: - description: UUID of template param. + description: A unique identifier for the parameter, formatted as a UUID. type: str instruction_text: - description: Instruction text for param. + description: Gives guidance or instructions regarding the parameter's use. type: str key: - description: Key. + description: A unique key that identifies the parameter within the template. type: str not_param: - description: Is it not a variable. + description: Indicates whether the entry is not to be treated as a parameter. type: bool order: - description: Order of template param. + description: Determines the sequence in which the parameter appears relative to others. type: int param_array: - description: Is it an array. + description: Specifies if the parameter should be treated as an array. type: bool parameter_name: - description: Name of template param. + description: The name of the parameter. type: str provider: - description: Provider. + description: Denotes the provider associated with the parameter. type: str range: - description: Configuration Template Create's range. + description: Defines the permissible range for the parameter's value. suboptions: id: - description: UUID of range. + description: Unique identifier for the range, represented as a UUID. type: str max_value: - description: Max value of range. + description: Specifies the maximum allowable value for the parameter. type: int min_value: - description: Min value of range. + description: Specifies the minimum allowable value for the parameter. type: int type: list elements: dict required: - description: Is param required. + description: Dictates whether the parameter is mandatory for template operations. type: bool selection: - description: Configuration Template Create's selection. + description: Contains options for parameter selection when a choice is available. suboptions: default_selected_values: - description: Default selection values. + description: Lists the default values that are preselected. elements: str type: list id: - description: UUID of selection. + description: A unique identifier for the selection entity, represented as a UUID. type: str selection_type: - description: Type of selection(SINGLE_SELECT or MULTI_SELECT). + description: Specifies the type of selection, such as 'SINGLE_SELECT' or 'MULTI_SELECT'. type: str selection_values: - description: Selection values. + description: A dictionary of available values for selection. type: dict type: dict type: list version: - description: Current version of template. + description: The current version of template. type: str type: list elements: dict create_time: - description: Create time of template. + description: The creation time of the template refers to the initial development. type: int custom_params_order: - description: Custom Params Order. + description: Specifies the sequence in which custom parameters or variables should be arranged within the template. type: bool template_description: - description: Description of template. + description: Provides a overview of the template. type: str device_types: - description: Configuration Template Create's deviceTypes. This field is mandatory to create a new template. + description: List of dictionaries details the types of devices that the templates can be applied to. + type: list + elements: dict suboptions: product_family: - description: Device family. + description: Denotes the family to which the device belongs. type: str product_series: - description: Device series. + description: Specifies the series classification of the device. type: str product_type: - description: Device type. + description: Describes the exact type of the device. type: str - type: list - elements: dict failure_policy: description: Define failure policy if template provisioning fails. type: str id: - description: UUID of template. + description: A unique identifier, represented as a UUID. type: str language: - description: Template language + description: Programming language used for templating. Options are 'JINJA' for Jinja templating or 'VELOCITY' for Apache Velocity. choices: - JINJA - VELOCITY type: str last_update_time: - description: Update time of template. + description: Indicates the most recent timestamp when the template was modified or revised. type: int latest_version_time: - description: Latest versioned template time. + description: Indicates when the most recent version of a template was released or updated. type: int template_name: description: Name of template. This field is mandatory to create a new template. type: str parent_template_id: - description: Parent templateID. + description: Refers to the unique identifier of a template from which another template derives. type: str project_id: - description: Project UUID. + description: A unique identifier for the project, formatted as a UUID. type: str project_name: - description: Project name. + description: Title of the project within which the template is categorized and managed. type: str project_description: - description: Project Description. + description: Narrative that elaborates on the purpose and scope of the project. type: str rollback_template_content: - description: Rollback template content. + description: Refers to the process of reverting the content of a template back to a previous version or state. type: str rollback_template_params: - description: Configuration Template Create's rollbackTemplateParams. + description: A list of dictionaries defining parameters necessary for the rollback functionality of a template. suboptions: binding: - description: Bind to source. + description: Associates the parameter with its source. type: str custom_order: - description: CustomOrder of template param. + description: Specifies a user-defined ordering for the parameter. type: int data_type: - description: Datatype of template param. + description: Identifies the data type of the parameter (e.g., string, integer, boolean). type: str default_value: - description: Default value of template param. + description: Establishes a default value for the parameter, used if no other value is provided. type: str description: - description: Description of template param. + description: Provides a descriptive explanation of the parameter's purpose. type: str display_name: - description: Display name of param. + description: The name of the parameter as displayed to users. type: str group: - description: Group. + description: Categorizes the parameter into a named group for organizational purposes. type: str id: - description: UUID of template param. + description: A unique identifier for the parameter, formatted as a UUID. type: str instruction_text: - description: Instruction text for param. + description: Gives guidance or instructions regarding the parameter's use. type: str key: - description: Key. + description: A unique key that identifies the parameter within the template. type: str not_param: - description: Is it not a variable. + description: Indicates whether the entry is not to be treated as a parameter. type: bool order: - description: Order of template param. + description: Determines the sequence in which the parameter appears relative to others. type: int param_array: - description: Is it an array. + description: Specifies if the parameter should be treated as an array. type: bool parameter_name: - description: Name of template param. + description: The name of the parameter. type: str provider: - description: Provider. + description: Denotes the provider associated with the parameter. type: str range: - description: Configuration Template Create's range. + description: Defines the permissible range for the parameter's value. suboptions: id: - description: UUID of range. + description: Unique identifier for the range, represented as a UUID. type: str max_value: - description: Max value of range. + description: Specifies the maximum allowable value for the parameter. type: int min_value: - description: Min value of range. + description: Specifies the minimum allowable value for the parameter. type: int type: list elements: dict required: - description: Is param required. + description: Dictates whether the parameter is mandatory for template operations. type: bool selection: - description: Configuration Template Create's selection. + description: Contains options for parameter selection when a choice is available. suboptions: default_selected_values: - description: Default selection values. + description: Lists the default values that are preselected. elements: str type: list id: - description: UUID of selection. + description: A unique identifier for the selection entity, represented as a UUID. type: str selection_type: - description: Type of selection(SINGLE_SELECT or MULTI_SELECT). + description: Specifies the type of selection, such as 'SINGLE_SELECT' or 'MULTI_SELECT'. type: str selection_values: - description: Selection values. + description: A dictionary of available values for selection. type: dict type: dict type: list @@ -431,143 +434,143 @@ description: Applicable device software type. This field is mandatory to create a new template. type: str software_variant: - description: Applicable device software variant. + description: Refers to a version or edition of a software application that differs from the main or standard release. type: str software_version: description: Applicable device software version. type: str template_tag: - description: Configuration Template Create's tags. + description: Refers to a keyword, label, or metadata assigned to a template. suboptions: id: - description: UUID of tag. + description: A unique identifier for the tag, represented as a UUID. type: str name: - description: Name of tag. + description: The name of the tag. type: str type: list elements: dict template_content: - description: Template content. + description: The actual script or code constituting the body of the template. type: str template_params: - description: Configuration Template Create's templateParams. + description: The customization of the contents within the template. suboptions: binding: - description: Bind to source. + description: Associates the parameter with its source. type: str custom_order: - description: CustomOrder of template param. + description: Specifies a user-defined ordering for the parameter. type: int data_type: - description: Datatype of template param. + description: Identifies the data type of the parameter (e.g., string, integer, boolean). type: str default_value: - description: Default value of template param. + description: Establishes a default value for the parameter, used if no other value is provided. type: str description: - description: Description of template param. + description: Provides a descriptive explanation of the parameter's purpose. type: str display_name: - description: Display name of param. + description: The name of the parameter as displayed to users. type: str group: - description: Group. + description: Categorizes the parameter into a named group for organizational purposes. type: str id: - description: UUID of template param. + description: A unique identifier for the parameter, formatted as a UUID. type: str instruction_text: - description: Instruction text for param. + description: Gives guidance or instructions regarding the parameter's use. type: str key: - description: Key. + description: A unique key that identifies the parameter within the template. type: str not_param: - description: Is it not a variable. + description: Indicates whether the entry is not to be treated as a parameter. type: bool order: - description: Order of template param. + description: Determines the sequence in which the parameter appears relative to others. type: int param_array: - description: Is it an array. + description: Specifies if the parameter should be treated as an array. type: bool parameter_name: - description: Name of template param. + description: The name of the parameter. type: str provider: - description: Provider. + description: Denotes the provider associated with the parameter. type: str range: - description: Configuration Template Create's range. + description: Defines the permissible range for the parameter's value. suboptions: id: - description: UUID of range. + description: Unique identifier for the range, represented as a UUID. type: str max_value: - description: Max value of range. + description: Specifies the maximum allowable value for the parameter. type: int min_value: - description: Min value of range. + description: Specifies the minimum allowable value for the parameter. type: int type: list elements: dict required: - description: Is param required. + description: Dictates whether the parameter is mandatory for template operations. type: bool selection: - description: Configuration Template Create's selection. + description: Contains options for parameter selection when a choice is available. suboptions: default_selected_values: - description: Default selection values. + description: Lists the default values that are preselected. elements: str type: list id: - description: UUID of selection. + description: A unique identifier for the selection entity, represented as a UUID. type: str selection_type: - description: Type of selection(SINGLE_SELECT or MULTI_SELECT). + description: Specifies the type of selection, such as 'SINGLE_SELECT' or 'MULTI_SELECT'. type: str selection_values: - description: Selection values. + description: A dictionary of available values for selection. type: dict type: dict type: list elements: dict validation_errors: - description: Configuration Template Create's validationErrors. + description: Refer to issues or discrepancies identified during the validation process. suboptions: rollback_template_errors: description: Validation or design conflicts errors of rollback template. elements: dict type: list template_errors: - description: Validation or design conflicts errors. + description: Refer to issues or discrepancies encountered during the processing of a template within a software application. elements: dict type: list template_id: - description: UUID of template. + description: A unique identifier for the template, represented as a UUID. type: str template_version: - description: Current version of template. + description: The current version of validation process in the template. type: str type: dict version: - description: Current version of template. + description: The current version of template. type: str version_description: description: Template version comments. type: str export: - description: Export the project/template details. + description: Perform export on the projects and templates. type: dict suboptions: project: - description: Export the project. + description: Export the project(s) details. type: list elements: str template: - description: Export the template. + description: Export the template(s) details. type: list elements: dict suboptions: @@ -575,14 +578,14 @@ description: Name of the project under the template available. type: str template_name: - description: Name of the template which we need to export + description: Name of the template which we need to be exported. type: str import: - description: Import the project/template details. + description: Perform import on the projects and templates. type: dict suboptions: project: - description: Import the project details. + description: Import the projects. type: dict suboptions: do_version: @@ -592,7 +595,7 @@ fails with 'Template already exists' error. type: bool template: - description: Import the template details. + description: Import the templates. type: dict suboptions: do_version: @@ -601,502 +604,524 @@ exists. " If false and if template already exists, then operation fails with 'Template already exists' error. type: bool + template_file: + description: + - Specifies the path to a JSON file that contains an import template. + - If both 'template_file' and 'payload' are provided, the 'template_file' will be given priority. + type: str payload: - description: Configuration Template Import Template's payload. + description: + - The payload parameter is used to directly import configuration data into the system. + - The payload provides an alternative way to import configurations without the need to reference an external file. + - If both 'template_file' and 'payload' are provided, the 'template_file' will be given priority. + type: list elements: dict suboptions: author: - description: Author of template. + description: Identifies the creator of the template. type: str composite: - description: Is it composite template. + description: Specifies if the template is composite. type: bool containing_templates: - description: Configuration Template Import Template's containingTemplates. - elements: dict + description: + - Refer to a set of templates within the main template to define more complex or modular configurations. + - This is particularly useful in systems that support hierarchical or nested templates. + - Here parent templates may contain child templates to form a complete configuration. suboptions: composite: - description: Is it composite template. + description: Specifies if the template is composite. type: bool description: - description: Description of template. + description: Provides a description of the template. type: str device_types: - description: Configuration Template Import Template's deviceTypes. + description: List of dictionaries details the types of devices that the templates can be applied to. + type: list elements: dict suboptions: product_family: - description: Device family. + description: Denotes the family to which the device belongs. type: str product_series: - description: Device series. + description: Specifies the series classification of the device. type: str product_type: - description: Device type. + description: Describes the exact type of the device. type: str - type: list id: - description: UUID of template. + description: Unique identifier for the template, represented as a UUID. type: str language: - description: Template language (JINJA or VELOCITY). + description: Programming language used for templating. Options are 'JINJA' for Jinja templating or 'VELOCITY' for Apache Velocity. + choices: + - JINJA + - VELOCITY type: str name: - description: Name of template. + description: Designation of the template, serving as its unique name. type: str project_name: - description: Project name. + description: Title of the project within which the template is categorized and managed. type: str rollback_template_params: - description: Configuration Template Import Template's rollbackTemplateParams. + description: A list of dictionaries defining parameters necessary for the rollback functionality of a template. + type: list elements: dict suboptions: binding: - description: Bind to source. + description: Associates the parameter with its source. type: str custom_order: - description: CustomOrder of template param. + description: Specifies a user-defined ordering for the parameter. type: int data_type: - description: Datatype of template param. + description: Identifies the data type of the parameter (e.g., string, integer, boolean). type: str default_value: - description: Default value of template param. + description: Establishes a default value for the parameter, used if no other value is provided. type: str description: - description: Description of template param. + description: Provides a descriptive explanation of the parameter's purpose. type: str display_name: - description: Display name of param. + description: The name of the parameter as displayed to users. type: str group: - description: Group. + description: Categorizes the parameter into a named group for organizational purposes. type: str id: - description: UUID of template param. + description: A unique identifier for the parameter, formatted as a UUID. type: str instruction_text: - description: Instruction text for param. + description: Gives guidance or instructions regarding the parameter's use. type: str key: - description: Key. + description: A unique key that identifies the parameter within the template. type: str not_param: - description: Is it not a variable. + description: Indicates whether the entry is not to be treated as a parameter. type: bool order: - description: Order of template param. + description: Determines the sequence in which the parameter appears relative to others. type: int param_array: - description: Is it an array. + description: Specifies if the parameter should be treated as an array. type: bool parameter_name: - description: Name of template param. + description: The name of the parameter. type: str provider: - description: Provider. + description: Denotes the provider associated with the parameter. type: str range: - description: Configuration Template Import Template's range. + description: Defines the permissible range for the parameter's value. + type: list elements: dict suboptions: id: - description: UUID of range. + description: Unique identifier for the range, represented as a UUID. type: str max_value: - description: Max value of range. + description: Specifies the maximum allowable value for the parameter. type: int min_value: - description: Min value of range. + description: Specifies the minimum allowable value for the parameter. type: int - type: list required: - description: Is param required. + description: Dictates whether the parameter is mandatory for template operations. type: bool selection: - description: Configuration Template Import Template's selection. + description: Contains options for parameter selection when a choice is available. suboptions: default_selected_values: - description: Default selection values. + description: Lists the default values that are preselected. elements: str type: list id: - description: UUID of selection. + description: A unique identifier for the selection entity, represented as a UUID. type: str selection_type: - description: Type of selection(SINGLE_SELECT or MULTI_SELECT). + description: Specifies the type of selection, such as 'SINGLE_SELECT' or 'MULTI_SELECT'. type: str selection_values: - description: Selection values. + description: A dictionary of available values for selection. type: dict type: dict - type: list tags: - description: Configuration Template Import Template's tags. - elements: dict + description: A list of dictionaries representing tags associated with the Configuration Template during creation. suboptions: id: - description: UUID of tag. + description: The unique identifier for each tag, presented as a UUID. type: str name: - description: Name of tag. + description: The descriptive label or name assigned to the tag. type: str type: list + elements: dict template_content: - description: Template content. + description: The actual script or code constituting the body of the template. type: str template_params: - description: Configuration Template Import Template's templateParams. + description: The customization of the contents within the template. elements: dict suboptions: binding: - description: Bind to source. + description: Associates the parameter with its source. type: str custom_order: - description: CustomOrder of template param. + description: Specifies a user-defined ordering for the parameter. type: int data_type: - description: Datatype of template param. + description: Identifies the data type of the parameter (e.g., string, integer, boolean). type: str default_value: - description: Default value of template param. + description: Establishes a default value for the parameter, used if no other value is provided. type: str description: - description: Description of template param. + description: Provides a descriptive explanation of the parameter's purpose. type: str display_name: - description: Display name of param. + description: The name of the parameter as displayed to users. type: str group: - description: Group. + description: Categorizes the parameter into a named group for organizational purposes. type: str id: - description: UUID of template param. + description: A unique identifier for the parameter, formatted as a UUID. type: str instruction_text: - description: Instruction text for param. + description: Gives guidance or instructions regarding the parameter's use. type: str key: - description: Key. + description: A unique key that identifies the parameter within the template. type: str not_param: - description: Is it not a variable. + description: Indicates whether the entry is not to be treated as a parameter. type: bool order: - description: Order of template param. + description: Determines the sequence in which the parameter appears relative to others. type: int param_array: - description: Is it an array. + description: Specifies if the parameter should be treated as an array. type: bool parameter_name: - description: Name of template param. + description: The name of the parameter. type: str provider: - description: Provider. + description: Denotes the provider associated with the parameter. type: str range: - description: Configuration Template Import Template's range. - elements: dict + description: Defines the permissible range for the parameter's value. suboptions: id: - description: UUID of range. + description: Unique identifier for the range, represented as a UUID. type: str max_value: - description: Max value of range. + description: Specifies the maximum allowable value for the parameter. type: int min_value: - description: Min value of range. + description: Specifies the minimum allowable value for the parameter. type: int type: list + elements: dict required: - description: Is param required. + description: Dictates whether the parameter is mandatory for template operations. type: bool selection: - description: Configuration Template Import Template's selection. + description: Contains options for parameter selection when a choice is available. suboptions: default_selected_values: - description: Default selection values. + description: Lists the default values that are preselected. elements: str type: list id: - description: UUID of selection. + description: A unique identifier for the selection entity, represented as a UUID. type: str selection_type: - description: Type of selection(SINGLE_SELECT or MULTI_SELECT). + description: Specifies the type of selection, such as 'SINGLE_SELECT' or 'MULTI_SELECT'. type: str selection_values: - description: Selection values. + description: A dictionary of available values for selection. type: dict type: dict type: list version: - description: Current version of template. + description: The current version of template. type: str type: list + elements: dict create_time: - description: Create time of template. + description: The creation time of the template refers to the initial development. type: int custom_params_order: - description: Custom Params Order. + description: Specifies the sequence in which custom parameters or variables should be arranged within the template. type: bool - description: - description: Description of template. + template_description: + description: Provides a overview of the template. type: str device_types: - description: Configuration Template Import Template's deviceTypes. + description: List of dictionaries details the types of devices that the templates can be applied to. + type: list elements: dict suboptions: product_family: - description: Device family. + description: Denotes the family to which the device belongs. type: str product_series: - description: Device series. + description: Specifies the series classification of the device. type: str product_type: - description: Device type. + description: Describes the exact type of the device. type: str - type: list failure_policy: description: Define failure policy if template provisioning fails. type: str id: - description: UUID of template. + description: A unique identifier, represented as a UUID. type: str language: - description: Template language (JINJA or VELOCITY). + description: Programming language used for templating. Options are 'JINJA' for Jinja templating or 'VELOCITY' for Apache Velocity. + choices: + - JINJA + - VELOCITY type: str last_update_time: - description: Update time of template. + description: Indicates the most recent timestamp when the template was modified or revised. type: int latest_version_time: - description: Latest versioned template time. + description: Indicates when the most recent version of a template was released or updated. type: int - name: - description: Name of template. + template_name: + description: Name of template. This field is mandatory to create a new template. type: str parent_template_id: - description: Parent templateID. + description: Refers to the unique identifier of a template from which another template derives. type: str project_id: - description: Project UUID. + description: A unique identifier for the project, formatted as a UUID. type: str project_name: - description: Project name. + description: Title of the project within which the template is categorized and managed. + type: str + project_description: + description: Narrative that elaborates on the purpose and scope of the project. type: str rollback_template_content: - description: Rollback template content. + description: Refers to the process of reverting the content of a template back to a previous version or state. type: str rollback_template_params: - description: Configuration Template Import Template's rollbackTemplateParams. - elements: dict + description: A list of dictionaries defining parameters necessary for the rollback functionality of a template. suboptions: binding: - description: Bind to source. + description: Associates the parameter with its source. type: str custom_order: - description: CustomOrder of template param. + description: Specifies a user-defined ordering for the parameter. type: int data_type: - description: Datatype of template param. + description: Identifies the data type of the parameter (e.g., string, integer, boolean). type: str default_value: - description: Default value of template param. + description: Establishes a default value for the parameter, used if no other value is provided. type: str description: - description: Description of template param. + description: Provides a descriptive explanation of the parameter's purpose. type: str display_name: - description: Display name of param. + description: The name of the parameter as displayed to users. type: str group: - description: Group. + description: Categorizes the parameter into a named group for organizational purposes. type: str id: - description: UUID of template param. + description: A unique identifier for the parameter, formatted as a UUID. type: str instruction_text: - description: Instruction text for param. + description: Gives guidance or instructions regarding the parameter's use. type: str key: - description: Key. + description: A unique key that identifies the parameter within the template. type: str not_param: - description: Is it not a variable. + description: Indicates whether the entry is not to be treated as a parameter. type: bool order: - description: Order of template param. + description: Determines the sequence in which the parameter appears relative to others. type: int param_array: - description: Is it an array. + description: Specifies if the parameter should be treated as an array. type: bool parameter_name: - description: Name of template param. + description: The name of the parameter. type: str provider: - description: Provider. + description: Denotes the provider associated with the parameter. type: str range: - description: Configuration Template Import Template's range. - elements: dict + description: Defines the permissible range for the parameter's value. suboptions: id: - description: UUID of range. + description: Unique identifier for the range, represented as a UUID. type: str max_value: - description: Max value of range. + description: Specifies the maximum allowable value for the parameter. type: int min_value: - description: Min value of range. + description: Specifies the minimum allowable value for the parameter. type: int type: list + elements: dict required: - description: Is param required. + description: Dictates whether the parameter is mandatory for template operations. type: bool selection: - description: Configuration Template Import Template's selection. + description: Contains options for parameter selection when a choice is available. suboptions: default_selected_values: - description: Default selection values. + description: Lists the default values that are preselected. elements: str type: list id: - description: UUID of selection. + description: A unique identifier for the selection entity, represented as a UUID. type: str selection_type: - description: Type of selection(SINGLE_SELECT or MULTI_SELECT). + description: Specifies the type of selection, such as 'SINGLE_SELECT' or 'MULTI_SELECT'. type: str selection_values: - description: Selection values. + description: A dictionary of available values for selection. type: dict type: dict type: list + elements: dict software_type: - description: Applicable device software type. + description: Applicable device software type. This field is mandatory to create a new template. type: str software_variant: - description: Applicable device software variant. + description: Refers to a version or edition of a software application that differs from the main or standard release. type: str software_version: description: Applicable device software version. type: str - tags: - description: Configuration Template Import Template's tags. - elements: dict + template_tag: + description: Refers to a keyword, label, or metadata assigned to a template. suboptions: id: - description: UUID of tag. + description: A unique identifier for the tag, represented as a UUID. type: str name: - description: Name of tag. + description: The name of the tag. type: str type: list + elements: dict template_content: - description: Template content. + description: The actual script or code constituting the body of the template. type: str template_params: - description: Configuration Template Import Template's templateParams. - elements: dict + description: The customization of the contents within the template. suboptions: binding: - description: Bind to source. + description: Associates the parameter with its source. type: str custom_order: - description: CustomOrder of template param. + description: Specifies a user-defined ordering for the parameter. type: int data_type: - description: Datatype of template param. + description: Identifies the data type of the parameter (e.g., string, integer, boolean). type: str default_value: - description: Default value of template param. + description: Establishes a default value for the parameter, used if no other value is provided. type: str description: - description: Description of template param. + description: Provides a descriptive explanation of the parameter's purpose. type: str display_name: - description: Display name of param. + description: The name of the parameter as displayed to users. type: str group: - description: Group. + description: Categorizes the parameter into a named group for organizational purposes. type: str id: - description: UUID of template param. + description: A unique identifier for the parameter, formatted as a UUID. type: str instruction_text: - description: Instruction text for param. + description: Gives guidance or instructions regarding the parameter's use. type: str key: - description: Key. + description: A unique key that identifies the parameter within the template. type: str not_param: - description: Is it not a variable. + description: Indicates whether the entry is not to be treated as a parameter. type: bool order: - description: Order of template param. + description: Determines the sequence in which the parameter appears relative to others. type: int param_array: - description: Is it an array. + description: Specifies if the parameter should be treated as an array. type: bool parameter_name: - description: Name of template param. + description: The name of the parameter. type: str provider: - description: Provider. + description: Denotes the provider associated with the parameter. type: str range: - description: Configuration Template Import Template's range. - elements: dict + description: Defines the permissible range for the parameter's value. suboptions: id: - description: UUID of range. + description: Unique identifier for the range, represented as a UUID. type: str max_value: - description: Max value of range. + description: Specifies the maximum allowable value for the parameter. type: int min_value: - description: Min value of range. + description: Specifies the minimum allowable value for the parameter. type: int type: list + elements: dict required: - description: Is param required. + description: Dictates whether the parameter is mandatory for template operations. type: bool selection: - description: Configuration Template Import Template's selection. + description: Contains options for parameter selection when a choice is available. suboptions: default_selected_values: - description: Default selection values. + description: Lists the default values that are preselected. elements: str type: list id: - description: UUID of selection. + description: A unique identifier for the selection entity, represented as a UUID. type: str selection_type: - description: Type of selection(SINGLE_SELECT or MULTI_SELECT). + description: Specifies the type of selection, such as 'SINGLE_SELECT' or 'MULTI_SELECT'. type: str selection_values: - description: Selection values. + description: A dictionary of available values for selection. type: dict type: dict type: list + elements: dict validation_errors: - description: Configuration Template Import Template's validationErrors. + description: Refer to issues or discrepancies identified during the validation process. suboptions: rollback_template_errors: - description: Validation or design conflicts errors of rollback template. - type: dict + description: Refer to errors or issues encountered during the process of reverting a template to a previous version or state. + elements: dict + type: list template_errors: - description: Validation or design conflicts errors. - type: dict + description: Refer to issues or discrepancies encountered during the processing of a template within a software application. + elements: dict + type: list template_id: - description: UUID of template. + description: A unique identifier for the template, represented as a UUID. type: str template_version: - description: Current version of template. + description: The current version of validation process in the template. type: str type: dict version: - description: Current version of template. + description: The current version of template. type: str - type: list project_name: description: ProjectName path parameter. Project name to create template under the project. @@ -1104,7 +1129,7 @@ requirements: - dnacentersdk == 2.4.5 -- python >= 3.5 +- python >= 3.9 notes: - SDK Method used are configuration_templates.ConfigurationTemplates.create_template, @@ -1239,6 +1264,26 @@ - name: string - name: string +- name: Import the Templates. + cisco.dnac.template_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: True + dnac_log_level: "{{dnac_log_level}}" + state: merged + config_verify: True + config: + import: + template: + do_version: false + project_name: string + template_file: string + """ RETURN = r""" @@ -1312,6 +1357,7 @@ """ import copy +import json from ansible.module_utils.basic import AnsibleModule from ansible_collections.cisco.dnac.plugins.module_utils.dnac import ( DnacBase, @@ -1371,7 +1417,7 @@ def validate_input(self): 'containing_templates': {'type': 'list'}, 'create_time': {'type': 'int'}, 'custom_params_order': {'type': 'bool'}, - 'description': {'type': 'str'}, + 'template_description': {'type': 'str'}, 'device_types': { 'type': 'list', 'elements': 'dict', @@ -1398,8 +1444,7 @@ def validate_input(self): 'template_params': {'type': 'list'}, 'template_name': {'type': 'str'}, 'validation_errors': {'type': 'dict'}, - 'version': {'type': 'str'}, - 'version_description': {'type': 'str'} + 'version': {'type': 'str'} }, 'export': { 'type': 'dict', @@ -1429,7 +1474,7 @@ def validate_input(self): 'containing_templates': {'type': 'list'}, 'create_time': {'type': 'int'}, 'custom_params_order': {'type': 'bool'}, - 'description': {'type': 'str'}, + 'template_description': {'type': 'str'}, 'device_types': { 'type': 'list', 'elements': 'dict', @@ -1861,7 +1906,6 @@ def get_template_params(self, params): """ self.log("Template params playbook details: {0}".format(params), "DEBUG") - self.log(str(params)) temp_params = { "tags": self.get_tags(params.get("template_tag")), "author": params.get("author"), @@ -1936,7 +1980,6 @@ def get_template_params(self, params): for item in copy_temp_params: if temp_params[item] is None: del temp_params[item] - self.log(str(temp_params)) return temp_params def get_template(self, config): @@ -2296,8 +2339,6 @@ def update_mandatory_parameters(self, template_params): # Mandate fields required for creating a new template. # Store it with other template parameters. - self.log(str(template_params)) - self.log(str(self.have_project)) template_params["projectId"] = self.have_project.get("id") template_params["project_id"] = self.have_project.get("id") # Update language,deviceTypes and softwareType if not provided for existing template. @@ -2564,7 +2605,6 @@ def handle_import(self, _import): _import_project = { "do_version": do_version, "payload": final_payload, - "active_validation": False, } self.log("Importing project details from the playbook: {0}" .format(_import_project), "DEBUG") @@ -2589,30 +2629,60 @@ def handle_import(self, _import): do_version = _import_template.get("do_version") if not do_version: do_version = False + + project_name = _import_template.get("project_name") if not _import_template.get("project_name"): self.msg = "Mandatory parameter project_name is not found under import template" self.status = "failed" return self - if not _import_template.get("payload"): - self.msg = "Mandatory parameter payload is not found under import template" + is_project_exists = self.get_project_details(project_name) + if not is_project_exists: + self.msg = "Project '{0}' is not found.".format(project_name) self.status = "failed" return self payload = _import_template.get("payload") - final_payload = [] - for item in payload: - self.log(str(item)) - final_payload.append(self.get_template_params(item)) - self.log(str(final_payload)) + template_file = _import_template.get("template_file") + if not (payload or template_file): + self.msg = "Mandatory parameter 'payload' or 'template_file' is not found under import template" + self.status = "failed" + return self + + final_payload = None + if template_file: + is_path_exists = self.is_path_exists(template_file) + if not is_path_exists: + self.msg = "Import template file path '{0}' does not exist.".format(template_file) + self.status = "failed" + return self + + is_json = self.is_json(template_file) + if not is_json: + self.msg = "Import template file '{0}' is not in JSON format".format(template_file) + self.status = "failed" + return self + try: + with open(template_file, 'r') as file: + json_data = file.read() + json_template = json.loads(json_data) + final_payload = json_template + except Exception as msg: + self.msg = "An unexpected error occurred while processing the file '{0}': {1}".format(template_file, msg) + self.status = "failed" + return self + + elif payload: + final_payload = [] + for item in payload: + final_payload.append(self.get_template_params(item)) import_template = { - "do_version": _import_template.get("do_version"), - "project_name": _import_template.get("project_name"), + "do_version": do_version, + "project_name": project_name, "payload": final_payload, - "active_validation": False, } self.log("Import template details from the playbook: {0}" - .format(_import_template), "DEBUG") + .format(import_template), "DEBUG") if _import_template: response = self.dnac._exec( family="configuration_templates", @@ -2622,7 +2692,8 @@ def handle_import(self, _import): ) validation_string = "successfully imported template" self.check_task_response_status(response, validation_string).check_return_status() - self.result['response'][2].get("import").get("response").update({"importTemplate": validation_string}) + self.result['response'][2].get("import").get("response") \ + .update({"importTemplate": "Successfully imported the templates"}) return self diff --git a/plugins/modules/templates_details_info.py b/plugins/modules/templates_details_info.py index d8d2b07046..f2f45271cb 100644 --- a/plugins/modules/templates_details_info.py +++ b/plugins/modules/templates_details_info.py @@ -89,8 +89,8 @@ - Limit query parameter. Limits number of results. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Configuration Templates GetTemplatesDetails description: Complete reference of the GetTemplatesDetails API. diff --git a/plugins/modules/threat_detail.py b/plugins/modules/threat_detail.py index 685b60b155..0bcfac62c2 100644 --- a/plugins/modules/threat_detail.py +++ b/plugins/modules/threat_detail.py @@ -44,8 +44,8 @@ elements: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are devices.Devices.threat_details, diff --git a/plugins/modules/threat_detail_count.py b/plugins/modules/threat_detail_count.py index fab706a16c..7a21cd1ade 100644 --- a/plugins/modules/threat_detail_count.py +++ b/plugins/modules/threat_detail_count.py @@ -44,8 +44,8 @@ elements: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are devices.Devices.threat_detail_count, diff --git a/plugins/modules/threat_summary.py b/plugins/modules/threat_summary.py index e3f3742bb0..635b0c43c0 100644 --- a/plugins/modules/threat_summary.py +++ b/plugins/modules/threat_summary.py @@ -35,8 +35,8 @@ elements: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 notes: - SDK Method used are devices.Devices.threat_summary, diff --git a/plugins/modules/topology_layer_2_info.py b/plugins/modules/topology_layer_2_info.py index 2d9324000e..2ba3667e27 100644 --- a/plugins/modules/topology_layer_2_info.py +++ b/plugins/modules/topology_layer_2_info.py @@ -24,8 +24,8 @@ - VlanID path parameter. Vlan Name for e.g Vlan1, Vlan23 etc. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Topology GetTopologyDetails description: Complete reference of the GetTopologyDetails API. diff --git a/plugins/modules/topology_layer_3_info.py b/plugins/modules/topology_layer_3_info.py index fc09e3f565..008b5d1ac7 100644 --- a/plugins/modules/topology_layer_3_info.py +++ b/plugins/modules/topology_layer_3_info.py @@ -24,8 +24,8 @@ - TopologyType path parameter. Type of topology(OSPF,ISIS,etc). type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Topology GetL3TopologyDetails description: Complete reference of the GetL3TopologyDetails API. diff --git a/plugins/modules/topology_network_health_info.py b/plugins/modules/topology_network_health_info.py index 907a87c5f7..b9c856316e 100644 --- a/plugins/modules/topology_network_health_info.py +++ b/plugins/modules/topology_network_health_info.py @@ -26,8 +26,8 @@ - Timestamp query parameter. Epoch time(in milliseconds) when the Network health data is required. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Topology GetOverallNetworkHealth description: Complete reference of the GetOverallNetworkHealth API. diff --git a/plugins/modules/topology_physical_info.py b/plugins/modules/topology_physical_info.py index 89afc87f2c..6a9573d577 100644 --- a/plugins/modules/topology_physical_info.py +++ b/plugins/modules/topology_physical_info.py @@ -24,8 +24,8 @@ - NodeType query parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Topology GetPhysicalTopology description: Complete reference of the GetPhysicalTopology API. diff --git a/plugins/modules/topology_site_info.py b/plugins/modules/topology_site_info.py index 034c84c962..d63661b43b 100644 --- a/plugins/modules/topology_site_info.py +++ b/plugins/modules/topology_site_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Topology GetSiteTopology description: Complete reference of the GetSiteTopology API. diff --git a/plugins/modules/topology_vlan_details_info.py b/plugins/modules/topology_vlan_details_info.py index c8585d26ae..555b5b9d8c 100644 --- a/plugins/modules/topology_vlan_details_info.py +++ b/plugins/modules/topology_vlan_details_info.py @@ -20,8 +20,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Topology GetVLANDetails description: Complete reference of the GetVLANDetails API. diff --git a/plugins/modules/transit_peer_network.py b/plugins/modules/transit_peer_network.py index 29c9889c13..38125e4d35 100644 --- a/plugins/modules/transit_peer_network.py +++ b/plugins/modules/transit_peer_network.py @@ -49,8 +49,8 @@ description: Transit Peer Network Type. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for AddTransitPeerNetwork description: Complete reference of the AddTransitPeerNetwork API. diff --git a/plugins/modules/transit_peer_network_info.py b/plugins/modules/transit_peer_network_info.py index ef9ecac22c..75ca07d7a7 100644 --- a/plugins/modules/transit_peer_network_info.py +++ b/plugins/modules/transit_peer_network_info.py @@ -24,8 +24,8 @@ - TransitPeerNetworkName query parameter. Transit or Peer Network Name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for GetTransitPeerNetworkInfo description: Complete reference of the GetTransitPeerNetworkInfo API. diff --git a/plugins/modules/user.py b/plugins/modules/user.py index 21769bb834..4567de33dd 100644 --- a/plugins/modules/user.py +++ b/plugins/modules/user.py @@ -40,8 +40,8 @@ description: Username. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for User and Roles AddUserAPI description: Complete reference of the AddUserAPI API. diff --git a/plugins/modules/user_enrichment_details_info.py b/plugins/modules/user_enrichment_details_info.py index 246dd7a83e..bcffca7466 100644 --- a/plugins/modules/user_enrichment_details_info.py +++ b/plugins/modules/user_enrichment_details_info.py @@ -22,8 +22,8 @@ description: Additional headers. type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Users GetUserEnrichmentDetails description: Complete reference of the GetUserEnrichmentDetails API. diff --git a/plugins/modules/user_info.py b/plugins/modules/user_info.py index f00e1d66e4..d4c20af69a 100644 --- a/plugins/modules/user_info.py +++ b/plugins/modules/user_info.py @@ -24,8 +24,8 @@ - InvokeSource query parameter. The source that invokes this API. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for User and Roles GetUsersAPI description: Complete reference of the GetUsersAPI API. diff --git a/plugins/modules/users_external_servers_info.py b/plugins/modules/users_external_servers_info.py index 536f958c8d..0373d2c859 100644 --- a/plugins/modules/users_external_servers_info.py +++ b/plugins/modules/users_external_servers_info.py @@ -24,8 +24,8 @@ - InvokeSource query parameter. The source that invokes this API. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for User and Roles GetExternalAuthenticationServersAPI description: Complete reference of the GetExternalAuthenticationServersAPI API. diff --git a/plugins/modules/wireless_accespoint_configuration.py b/plugins/modules/wireless_accespoint_configuration.py index 94dee6c5df..6a1cf29463 100644 --- a/plugins/modules/wireless_accespoint_configuration.py +++ b/plugins/modules/wireless_accespoint_configuration.py @@ -238,8 +238,8 @@ type: str type: dict requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless ConfigureAccessPoints description: Complete reference of the ConfigureAccessPoints API. diff --git a/plugins/modules/wireless_accesspoint_configuration_summary_info.py b/plugins/modules/wireless_accesspoint_configuration_summary_info.py index 3c21308685..ba43fe0526 100644 --- a/plugins/modules/wireless_accesspoint_configuration_summary_info.py +++ b/plugins/modules/wireless_accesspoint_configuration_summary_info.py @@ -24,8 +24,8 @@ - Key query parameter. The ethernet MAC address of Access point. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless GetAccessPointConfiguration description: Complete reference of the GetAccessPointConfiguration API. diff --git a/plugins/modules/wireless_dynamic_interface.py b/plugins/modules/wireless_dynamic_interface.py index ea48c79709..ed933a268b 100644 --- a/plugins/modules/wireless_dynamic_interface.py +++ b/plugins/modules/wireless_dynamic_interface.py @@ -27,8 +27,8 @@ description: Vlan Id. type: int requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless CreateUpdateDynamicInterface description: Complete reference of the CreateUpdateDynamicInterface API. diff --git a/plugins/modules/wireless_dynamic_interface_info.py b/plugins/modules/wireless_dynamic_interface_info.py index d1736fb206..152b1c339e 100644 --- a/plugins/modules/wireless_dynamic_interface_info.py +++ b/plugins/modules/wireless_dynamic_interface_info.py @@ -26,8 +26,8 @@ will be retrieved. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless GetDynamicInterface description: Complete reference of the GetDynamicInterface API. diff --git a/plugins/modules/wireless_enterprise_ssid.py b/plugins/modules/wireless_enterprise_ssid.py index eb8790381b..f288aaada9 100644 --- a/plugins/modules/wireless_enterprise_ssid.py +++ b/plugins/modules/wireless_enterprise_ssid.py @@ -81,8 +81,8 @@ description: Traffic Type Enum (voicedata or data ). type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless CreateEnterpriseSSID description: Complete reference of the CreateEnterpriseSSID API. diff --git a/plugins/modules/wireless_enterprise_ssid_info.py b/plugins/modules/wireless_enterprise_ssid_info.py index 8abacd8329..b277d03bd2 100644 --- a/plugins/modules/wireless_enterprise_ssid_info.py +++ b/plugins/modules/wireless_enterprise_ssid_info.py @@ -26,8 +26,8 @@ enterprise SSIDs will be retrieved. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless GetEnterpriseSSID description: Complete reference of the GetEnterpriseSSID API. diff --git a/plugins/modules/wireless_profile.py b/plugins/modules/wireless_profile.py index 4c696f0d6e..7c837cca75 100644 --- a/plugins/modules/wireless_profile.py +++ b/plugins/modules/wireless_profile.py @@ -68,8 +68,8 @@ description: WirelessProfileName path parameter. Wireless Profile Name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless CreateWirelessProfile description: Complete reference of the CreateWirelessProfile API. diff --git a/plugins/modules/wireless_profile_info.py b/plugins/modules/wireless_profile_info.py index f88760c141..fb175dedf6 100644 --- a/plugins/modules/wireless_profile_info.py +++ b/plugins/modules/wireless_profile_info.py @@ -24,8 +24,8 @@ - ProfileName query parameter. Wireless Network Profile Name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless GetWirelessProfile description: Complete reference of the GetWirelessProfile API. diff --git a/plugins/modules/wireless_provision_access_point.py b/plugins/modules/wireless_provision_access_point.py index f8db0233c7..d4651745fb 100644 --- a/plugins/modules/wireless_provision_access_point.py +++ b/plugins/modules/wireless_provision_access_point.py @@ -47,8 +47,8 @@ type: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless APProvision description: Complete reference of the APProvision API. diff --git a/plugins/modules/wireless_provision_device_create.py b/plugins/modules/wireless_provision_device_create.py index d626052a77..84622d9906 100644 --- a/plugins/modules/wireless_provision_device_create.py +++ b/plugins/modules/wireless_provision_device_create.py @@ -55,8 +55,8 @@ type: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless Provision description: Complete reference of the Provision API. diff --git a/plugins/modules/wireless_provision_device_update.py b/plugins/modules/wireless_provision_device_update.py index 07e983f302..c76487739e 100644 --- a/plugins/modules/wireless_provision_device_update.py +++ b/plugins/modules/wireless_provision_device_update.py @@ -55,8 +55,8 @@ type: list type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless ProvisionUpdate description: Complete reference of the ProvisionUpdate API. diff --git a/plugins/modules/wireless_provision_ssid_create_provision.py b/plugins/modules/wireless_provision_ssid_create_provision.py index 5a7322ea99..a0627c125e 100644 --- a/plugins/modules/wireless_provision_ssid_create_provision.py +++ b/plugins/modules/wireless_provision_ssid_create_provision.py @@ -78,8 +78,8 @@ description: SSID Type. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless CreateAndProvisionSSID description: Complete reference of the CreateAndProvisionSSID API. diff --git a/plugins/modules/wireless_provision_ssid_delete_reprovision.py b/plugins/modules/wireless_provision_ssid_delete_reprovision.py index fed3cb2ca7..8d713ce13f 100644 --- a/plugins/modules/wireless_provision_ssid_delete_reprovision.py +++ b/plugins/modules/wireless_provision_ssid_delete_reprovision.py @@ -26,8 +26,8 @@ description: SsidName path parameter. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless DeleteSSIDAndProvisionItToDevices description: Complete reference of the DeleteSSIDAndProvisionItToDevices API. diff --git a/plugins/modules/wireless_psk_override.py b/plugins/modules/wireless_psk_override.py index 0afada7c51..163ea45b5a 100644 --- a/plugins/modules/wireless_psk_override.py +++ b/plugins/modules/wireless_psk_override.py @@ -34,8 +34,8 @@ type: str type: list requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless PSKOverride description: Complete reference of the PSKOverride API. diff --git a/plugins/modules/wireless_rf_profile.py b/plugins/modules/wireless_rf_profile.py index 4aa97f651f..86c7ad953d 100644 --- a/plugins/modules/wireless_rf_profile.py +++ b/plugins/modules/wireless_rf_profile.py @@ -130,8 +130,8 @@ *non-custom RF profile cannot be deleted. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless CreateOrUpdateRFProfile description: Complete reference of the CreateOrUpdateRFProfile API. diff --git a/plugins/modules/wireless_rf_profile_info.py b/plugins/modules/wireless_rf_profile_info.py index 722ddfc40f..281f87b6dc 100644 --- a/plugins/modules/wireless_rf_profile_info.py +++ b/plugins/modules/wireless_rf_profile_info.py @@ -24,8 +24,8 @@ - Rf-profile-name query parameter. RF Profile Name. type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless RetrieveRFProfiles description: Complete reference of the RetrieveRFProfiles API. diff --git a/plugins/modules/wireless_sensor_test_results_info.py b/plugins/modules/wireless_sensor_test_results_info.py index 41d727dd59..f316a4602c 100644 --- a/plugins/modules/wireless_sensor_test_results_info.py +++ b/plugins/modules/wireless_sensor_test_results_info.py @@ -36,8 +36,8 @@ - TestFailureBy query parameter. Obtain failure statistics group by "area", "building", or "floor". type: str requirements: -- dnacentersdk >= 2.5.5 -- python >= 3.5 +- dnacentersdk >= 2.6.0 +- python >= 3.9 seealso: - name: Cisco DNA Center documentation for Wireless SensorTestResults description: Complete reference of the SensorTestResults API.