.. Document meta :orphan: .. |antsibull-internal-nbsp| unicode:: 0xA0 :trim: .. role:: ansible-attribute-support-label .. role:: ansible-attribute-support-property .. role:: ansible-attribute-support-full .. role:: ansible-attribute-support-partial .. role:: ansible-attribute-support-none .. role:: ansible-attribute-support-na .. role:: ansible-option-type .. role:: ansible-option-elements .. role:: ansible-option-required .. role:: ansible-option-versionadded .. role:: ansible-option-aliases .. role:: ansible-option-choices .. role:: ansible-option-choices-default-mark .. role:: ansible-option-default-bold .. role:: ansible-option-configuration .. role:: ansible-option-returned-bold .. role:: ansible-option-sample-bold .. Anchors .. _ansible_collections.cisco.dnac.discovery_workflow_manager_module: .. Anchors: short name for ansible.builtin .. Anchors: aliases .. Title cisco.dnac.discovery_workflow_manager module -- A resource module for handling device discovery tasks. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: This module is part of the `cisco.dnac collection `_ (version 6.19.0). To install it, use: :code:`ansible-galaxy collection install cisco.dnac`. You need further requirements to be able to use this module, see :ref:`Requirements ` for details. To use it in a playbook, specify: :code:`cisco.dnac.discovery_workflow_manager`. .. version_added .. rst-class:: ansible-version-added New in cisco.dnac 6.6.0 .. contents:: :local: :depth: 1 .. Deprecated Synopsis -------- .. Description - Manages device discovery using IP address, address range, CDP, and LLDP, including deletion of discovered devices. - API to discover a device or multiple devices - API to delete a discovery of a device or multiple devices .. Aliases .. Requirements .. _ansible_collections.cisco.dnac.discovery_workflow_manager_module_requirements: Requirements ------------ The below requirements are needed on the host that executes this module. - dnacentersdk == 2.6.10 - python \>= 3.9 .. Options Parameters ---------- .. rst-class:: ansible-option-table .. list-table:: :width: 100% :widths: auto :header-rows: 1 * - Parameter - Comments * - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config: .. rst-class:: ansible-option-title **config** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
List of details of device being managed. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/cdp_level: .. rst-class:: ansible-option-title **cdp_level** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
Total number of levels that are there in cdp's method of discovery .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`16` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/delete_all: .. rst-class:: ansible-option-title **delete_all** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Parameter to delete all the discoveries at one go .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry-default:`false` :ansible-option-choices-default-mark:`← (default)` - :ansible-option-choices-entry:`true` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_name: .. rst-class:: ansible-option-title **discovery_name** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
Name of the discovery task .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials: .. rst-class:: ansible-option-title **discovery_specific_credentials** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
Credentials specifically created by the user for performing device discovery. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/cli_credentials_list: .. rst-class:: ansible-option-title **cli_credentials_list** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary` .. raw:: html
- .. raw:: html
List of CLI credentials to be used during device discovery. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/cli_credentials_list/enable_password: .. rst-class:: ansible-option-title **enable_password** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Enable password for CLI authentication, mandatory when using CLI credential. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/cli_credentials_list/password: .. rst-class:: ansible-option-title **password** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Password for CLI authentication, mandatory when using CLI credential. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/cli_credentials_list/username: .. rst-class:: ansible-option-title **username** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Username for CLI authentication, mandatory when using CLI credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/http_read_credential: .. rst-class:: ansible-option-title **http_read_credential** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
HTTP read credential is used for authentication purposes and specifically utilized to grant read-only access to certain resources from the device. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/http_read_credential/password: .. rst-class:: ansible-option-title **password** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Password for HTTP(S) Read authentication, mandatory when using HTTP credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/http_read_credential/port: .. rst-class:: ansible-option-title **port** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
Port for HTTP(S) Read authentication, mandatory for using HTTP credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/http_read_credential/secure: .. rst-class:: ansible-option-title **secure** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Flag for HTTP(S) Read authentication, not mandatory when using HTTP credentials. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`false` - :ansible-option-choices-entry:`true` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/http_read_credential/username: .. rst-class:: ansible-option-title **username** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Username for HTTP(S) Read authentication, mandatory when using HTTP credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/http_write_credential: .. rst-class:: ansible-option-title **http_write_credential** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
HTTP write credential is used for authentication purposes and grants Cisco Catalyst Center the ability to alter configurations, update software, or perform other modifications on a network device. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/http_write_credential/password: .. rst-class:: ansible-option-title **password** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Password for HTTP(S) Write authentication, mandatory when using HTTP credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/http_write_credential/port: .. rst-class:: ansible-option-title **port** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
Port for HTTP(S) Write authentication, mandatory when using HTTP credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/http_write_credential/secure: .. rst-class:: ansible-option-title **secure** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Flag for HTTP(S) Write authentication, not mandatory when using HTTP credentials. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`false` - :ansible-option-choices-entry:`true` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/http_write_credential/username: .. rst-class:: ansible-option-title **username** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Username for HTTP(S) Write authentication, mandatory when using HTTP credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/net_conf_port: .. rst-class:: ansible-option-title **net_conf_port** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
To be used when network contains IOS XE-based wireless controllers. This is used for discovery and the enabling of wireless services on the controllers. Requires valid SSH credentials to work. Avoid standard ports like 22, 80, and 8080. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/snmp_v2_read_credential: .. rst-class:: ansible-option-title **snmp_v2_read_credential** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
The SNMP v2 credentials to be created and used for contacting a device via SNMP protocol in read mode. SNMP v2 also delivers data encryptions, but it uses data types. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/snmp_v2_read_credential/community: .. rst-class:: ansible-option-title **community** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
SNMP V2 Read community string enables Cisco Catalyst Center to extract read-only data from device. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/snmp_v2_read_credential/description: .. rst-class:: ansible-option-title **description** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Name/Description of the SNMP read credential to be used for creation of snmp\_v2\_read\_credential. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/snmp_v2_write_credential: .. rst-class:: ansible-option-title **snmp_v2_write_credential** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
The SNMP v2 credentials to be created and used for contacting a device via SNMP protocol in read and write mode. SNMP v2 also delivers data encryptions, but it uses data types. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/snmp_v2_write_credential/community: .. rst-class:: ansible-option-title **community** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
SNMP V2 Write community string is used to extract data and alter device configurations. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/snmp_v2_write_credential/description: .. rst-class:: ansible-option-title **description** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Name/Description of the SNMP write credential to be used for creation of snmp\_v2\_write\_credential. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/snmp_v3_credential: .. rst-class:: ansible-option-title **snmp_v3_credential** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
The SNMP v3 credentials to be created and used for contacting a device via SNMP protocol in read and write mode. SNMPv3 is the most secure version of SNMP, allowing users to fully encrypt transmissions, keeping us safe from external attackers. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/snmp_v3_credential/auth_password: .. rst-class:: ansible-option-title **auth_password** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Authentication Password of the SNMP v3 protocol to be used. Must be of length greater than 7 characters. Not required for NOAUTHNOPRIV snmp\_mode. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/snmp_v3_credential/auth_type: .. rst-class:: ansible-option-title **auth_type** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Authentication type of the SNMP v3 protocol to be used. SHA uses Secure Hash Algorithm (SHA) as your authentication protocol. MD5 uses Message Digest 5 (MD5) as your authentication protocol and is not recommended. Not required for NOAUTHNOPRIV snmp\_mode. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`"SHA"` - :ansible-option-choices-entry:`"MD5"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/snmp_v3_credential/privacy_password: .. rst-class:: ansible-option-title **privacy_password** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Privacy password of the SNMP v3 protocol to be used in AUTHPRIV SNMP mode Not required for AUTHNOPRIV and NOAUTHNOPRIV snmp\_mode. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/snmp_v3_credential/privacy_type: .. rst-class:: ansible-option-title **privacy_type** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Privacy type/protocol of the SNMP v3 protocol to be used in AUTHPRIV SNMP mode Not required for AUTHNOPRIV and NOAUTHNOPRIV snmp\_mode. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`"AES128"` - :ansible-option-choices-entry:`"AES192"` - :ansible-option-choices-entry:`"AES256"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/snmp_v3_credential/snmp_mode: .. rst-class:: ansible-option-title **snmp_mode** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Mode of SNMP which determines the encryption level of our community string. AUTHPRIV mode uses both Authentication and Encryption. AUTHNOPRIV mode uses Authentication but no Encryption. NOAUTHNOPRIV mode does not use either Authentication or Encryption. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`"AUTHPRIV"` - :ansible-option-choices-entry:`"AUTHNOPRIV"` - :ansible-option-choices-entry:`"NOAUTHNOPRIV"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_specific_credentials/snmp_v3_credential/username: .. rst-class:: ansible-option-title **username** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Username of the SNMP v3 protocol to be used. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/discovery_type: .. rst-class:: ansible-option-title **discovery_type** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
Determines the method of device discovery. Here are the available options. - SINGLE discovers a single device using a single IP address. - RANGE discovers multiple devices within a single IP address range. - MULTI RANGE discovers devices across multiple IP address ranges. - CDP uses Cisco Discovery Protocol to discover devices in subsequent layers of the given IP address. - LLDP uses Link Layer Discovery Protocol to discover devices in subsequent layers of the specified IP address. - CIDR discovers devices based on subnet filtering using Classless Inter-Domain Routing. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`"SINGLE"` - :ansible-option-choices-entry:`"RANGE"` - :ansible-option-choices-entry:`"MULTI RANGE"` - :ansible-option-choices-entry:`"CDP"` - :ansible-option-choices-entry:`"LLDP"` - :ansible-option-choices-entry:`"CIDR"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials: .. rst-class:: ansible-option-title **global_credentials** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` :ansible-option-versionadded:`added in cisco.dnac 6.12.0` .. raw:: html
- .. raw:: html
Set of various credential types, including CLI, SNMP, HTTP, and NETCONF, that a user has pre-configured in the Device Credentials section of the Cisco Catalyst Center. If user doesn't pass any global credentials in the playbook, then by default, we will use all the global credentials present in the Cisco Catalyst Center of each type for performing discovery. (Max 5 allowed) .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/cli_credentials_list: .. rst-class:: ansible-option-title **cli_credentials_list** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary` .. raw:: html
- .. raw:: html
Accepts a list of global CLI credentials for use in device discovery. It's recommended to create device credentials with both a unique username and a clear description. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/cli_credentials_list/description: .. rst-class:: ansible-option-title **description** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Name of the CLI credential, mandatory when using global CLI credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/cli_credentials_list/username: .. rst-class:: ansible-option-title **username** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Username required for CLI authentication and is mandatory when using global CLI credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/http_read_credential_list: .. rst-class:: ansible-option-title **http_read_credential_list** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary` .. raw:: html
- .. raw:: html
List of global HTTP Read credentials that will be used in the process of discovering devices. It's recommended to create device credentials with both a unique username and a clear description for easy identification. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/http_read_credential_list/description: .. rst-class:: ansible-option-title **description** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Name of the HTTP Read credential, mandatory when using global HTTP credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/http_read_credential_list/username: .. rst-class:: ansible-option-title **username** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Username for HTTP Read authentication, mandatory when using global HTTP credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/http_write_credential_list: .. rst-class:: ansible-option-title **http_write_credential_list** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary` .. raw:: html
- .. raw:: html
List of global HTTP Write credentials that will be used in the process of discovering devices. It's recommended to create device credentials with both a unique username and a clear description for easy identification. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/http_write_credential_list/description: .. rst-class:: ansible-option-title **description** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Name of the HTTP Write credential, mandatory when using global HTTP credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/http_write_credential_list/username: .. rst-class:: ansible-option-title **username** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Username for HTTP Write authentication, mandatory when using global HTTP credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/net_conf_port_list: .. rst-class:: ansible-option-title **net_conf_port_list** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary` .. raw:: html
- .. raw:: html
List of Global Net conf ports to be used during device discovery. It's recommended to create device credentials with unique description. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/net_conf_port_list/description: .. rst-class:: ansible-option-title **description** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Name of the Net Conf Port credential, mandatory when using global Net conf port. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/snmp_v2_read_credential_list: .. rst-class:: ansible-option-title **snmp_v2_read_credential_list** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary` .. raw:: html
- .. raw:: html
List of Global SNMP V2 Read credentials to be used during device discovery. It's recommended to create device credentials with a clear description for easy identification. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/snmp_v2_read_credential_list/description: .. rst-class:: ansible-option-title **description** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Name of the SNMP Read credential, mandatory when using global SNMP credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/snmp_v2_write_credential_list: .. rst-class:: ansible-option-title **snmp_v2_write_credential_list** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary` .. raw:: html
- .. raw:: html
List of Global SNMP V2 Write credentials to be used during device discovery. It's recommended to create device credentials with a clear description for easy identification. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/snmp_v2_write_credential_list/description: .. rst-class:: ansible-option-title **description** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Name of the SNMP Write credential, mandatory when using global SNMP credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/snmp_v3_credential_list: .. rst-class:: ansible-option-title **snmp_v3_credential_list** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary` .. raw:: html
- .. raw:: html
List of Global SNMP V3 credentials to be used during device discovery, giving read and write mode. It's recommended to create device credentials with both a unique username and a clear description for easy identification. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/snmp_v3_credential_list/description: .. rst-class:: ansible-option-title **description** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Name of the SNMP V3 credential, mandatory when using global SNMP credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/global_credentials/snmp_v3_credential_list/username: .. rst-class:: ansible-option-title **username** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Username for SNMP V3 authentication, mandatory when using global SNMP credentials. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/ip_address_list: .. rst-class:: ansible-option-title **ip_address_list** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=string` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
List of IP addresses to be discovered. For CDP/LLDP/SINGLE based discovery, we should 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 elements 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. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/ip_filter_list: .. rst-class:: ansible-option-title **ip_filter_list** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=string` .. raw:: html
- .. raw:: html
List of IP adddrsess that needs to get filtered out from the IP addresses passed. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/lldp_level: .. rst-class:: ansible-option-title **lldp_level** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
Total number of levels that are there in lldp's method of discovery .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`16` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/preferred_mgmt_ip_method: .. rst-class:: ansible-option-title **preferred_mgmt_ip_method** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Preferred method for the management of the IP (None/UseLoopBack) .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"None"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/protocol_order: .. rst-class:: ansible-option-title **protocol_order** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Determines the order in which device connections will be attempted. Here are the options - "telnet" Only telnet connections will be tried. - "ssh, telnet" SSH (Secure Shell) will be attempted first, followed by telnet if SSH fails. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"ssh"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/records_to_return: .. rst-class:: ansible-option-title **records_to_return** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
Number of records to return for the header in fetching global v2 credentials .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`100` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/retry: .. rst-class:: ansible-option-title **retry** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
Number of times to try establishing connection to device .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/start_index: .. rst-class:: ansible-option-title **start_index** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
Start index for the header in fetching SNMP v2 credentials .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`1` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/timeout: .. rst-class:: ansible-option-title **timeout** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
Time to wait for device response in seconds .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config/use_global_credentials: .. rst-class:: ansible-option-title **use_global_credentials** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Determines if device discovery should utilize pre-configured global credentials. Setting to True employs the predefined global credentials for discovery tasks. This is the default setting. Setting to False requires manually provided, device-specific credentials for discovery, as global credentials will be bypassed. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`false` - :ansible-option-choices-entry-default:`true` :ansible-option-choices-default-mark:`← (default)` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-config_verify: .. rst-class:: ansible-option-title **config_verify** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Set to True to verify the Cisco Catalyst Center config after applying the playbook config. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry-default:`false` :ansible-option-choices-default-mark:`← (default)` - :ansible-option-choices-entry:`true` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-dnac_api_task_timeout: .. rst-class:: ansible-option-title **dnac_api_task_timeout** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
Defines the timeout in seconds for API calls to retrieve task details. If the task details are not received within this period, the process will end, and a timeout notification will be logged. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`1200` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-dnac_debug: .. rst-class:: ansible-option-title **dnac_debug** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Indicates whether debugging is enabled in the Cisco Catalyst Center SDK. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry-default:`false` :ansible-option-choices-default-mark:`← (default)` - :ansible-option-choices-entry:`true` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-dnac_host: .. rst-class:: ansible-option-title **dnac_host** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
The hostname of the Cisco Catalyst Center. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-dnac_log: .. rst-class:: ansible-option-title **dnac_log** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Flag to enable/disable playbook execution logging. When true and dnac\_log\_file\_path is provided, - Create the log file at the execution location with the specified name. When true and dnac\_log\_file\_path is not provided, - Create the log file at the execution location with the name 'dnac.log'. When false, - Logging is disabled. If the log file doesn't exist, - It is created in append or write mode based on the "dnac\_log\_append" flag. If the log file exists, - It is overwritten or appended based on the "dnac\_log\_append" flag. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry-default:`false` :ansible-option-choices-default-mark:`← (default)` - :ansible-option-choices-entry:`true` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-dnac_log_append: .. rst-class:: ansible-option-title **dnac_log_append** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Determines the mode of the file. Set to True for 'append' mode. Set to False for 'write' mode. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`false` - :ansible-option-choices-entry-default:`true` :ansible-option-choices-default-mark:`← (default)` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-dnac_log_file_path: .. rst-class:: ansible-option-title **dnac_log_file_path** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Governs logging. Logs are recorded if dnac\_log is True. If path is not specified, - When 'dnac\_log\_append' is True, 'dnac.log' is generated in the current Ansible directory; logs are appended. - When 'dnac\_log\_append' is False, 'dnac.log' is generated; logs are overwritten. If path is specified, - When 'dnac\_log\_append' is True, the file opens in append mode. - When 'dnac\_log\_append' is False, the file opens in write (w) mode. - In shared file scenarios, without append mode, content is overwritten after each module execution. - For a shared log file, set append to False for the 1st module (to overwrite); for subsequent modules, set append to True. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"dnac.log"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-dnac_log_level: .. rst-class:: ansible-option-title **dnac_log_level** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Sets the threshold for log level. Messages with a level equal to or higher than this will be logged. Levels are listed in order of severity [CRITICAL, ERROR, WARNING, INFO, DEBUG]. CRITICAL indicates serious errors halting the program. Displays only CRITICAL messages. ERROR indicates problems preventing a function. Displays ERROR and CRITICAL messages. WARNING indicates potential future issues. Displays WARNING, ERROR, CRITICAL messages. INFO tracks normal operation. Displays INFO, WARNING, ERROR, CRITICAL messages. DEBUG provides detailed diagnostic info. Displays all log messages. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"WARNING"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-dnac_password: .. rst-class:: ansible-option-title **dnac_password** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
The password for authentication at the Cisco Catalyst Center. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-dnac_port: .. rst-class:: ansible-option-title **dnac_port** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Specifies the port number associated with the Cisco Catalyst Center. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"443"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-dnac_task_poll_interval: .. rst-class:: ansible-option-title **dnac_task_poll_interval** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
Specifies the interval in seconds between successive calls to the API to retrieve task details. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`2` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-dnac_username: .. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-user: .. rst-class:: ansible-option-title **dnac_username** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-aliases:`aliases: user` .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
The username for authentication at the Cisco Catalyst Center. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"admin"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-dnac_verify: .. rst-class:: ansible-option-title **dnac_verify** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Flag to enable or disable SSL certificate verification. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`false` - :ansible-option-choices-entry-default:`true` :ansible-option-choices-default-mark:`← (default)` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-dnac_version: .. rst-class:: ansible-option-title **dnac_version** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Specifies the version of the Cisco Catalyst Center that the SDK should use. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"2.2.3.3"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-state: .. rst-class:: ansible-option-title **state** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
The state of Cisco Catalyst Center after module completion. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry-default:`"merged"` :ansible-option-choices-default-mark:`← (default)` - :ansible-option-choices-entry:`"deleted"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__parameter-validate_response_schema: .. rst-class:: ansible-option-title **validate_response_schema** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Flag for Cisco Catalyst Center SDK to enable the validation of request bodies against a JSON schema. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`false` - :ansible-option-choices-entry-default:`true` :ansible-option-choices-default-mark:`← (default)` .. raw:: html
.. Attributes .. Notes Notes ----- .. note:: - SDK Method used are discovery.Discovery.get\_all\_global\_credentials\_v2, discovery.Discovery.start\_discovery, task.Task.get\_task\_by\_id, discovery.Discovery.get\_discoveries\_by\_range, discovery.Discovery.get\_discovered\_network\_devices\_by\_discovery\_id', discovery.Discovery.delete\_discovery\_by\_id discovery.Discovery.delete\_all\_discovery discovery.Discovery.get\_count\_of\_all\_discovery\_jobs - Paths used are get /dna/intent/api/v2/global-credential post /dna/intent/api/v1/discovery get /dna/intent/api/v1/task/{taskId} get /dna/intent/api/v1/discovery/{startIndex}/{recordsToReturn} get /dna/intent/api/v1/discovery/{id}/network-device delete /dna/intent/api/v1/discovery/{id} delete /dna/intent/api/v1/delete get /dna/intent/api/v1/discovery/count - Removed 'global\_cli\_len' option in v6.12.0. - Does not support \ :literal:`check\_mode`\ - The plugin runs on the control node and does not use any ansible connection plugins instead embedded connection manager from Cisco Catalyst Center SDK - The parameters starting with dnac\_ are used by the Cisco Catalyst Center Python SDK to establish the connection .. Seealso .. Examples Examples -------- .. code-block:: yaml+jinja - name: Execute discovery of devices with both global credentials and discovery specific credentials cisco.dnac.discovery_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: - discovery_name: Discovery with both global and job specific credentials discovery_type: RANGE ip_address_list: - 201.1.1.1-201.1.1.100 ip_filter_list: - 201.1.1.2 - 201.1.1.10 discovery_specific_credentials: cli_credentials_list: - username: cisco password: Cisco123 enable_password: Cisco123 http_read_credential: username: cisco password: Cisco123 port: 443 secure: true http_write_credential: username: cisco password: Cisco123 port: 443 secure: True snmp_v2_read_credential: description: snmp_v2-new community: Cisco123 snmp_v2_write_credential: description: snmp_v2-new community: Cisco123 snmp_v3_credential: username: v3Public2 snmp_mode: AUTHPRIV auth_type: SHA auth_password: Lablab123 privacy_type: AES256 privacy_password: Lablab123 net_conf_port: 750 global_credentials: cli_credentials_list: - description: ISE username: cisco - description: CLI1234 username: cli http_read_credential_list: - description: HTTP Read username: HTTP_Read http_write_credential_list: - description: HTTP Write username: HTTP_Write snmp_v3_credential_list: - description: snmpV3 username: snmpV3 snmp_v2_read_credential_list: - description: snmpV2_read snmp_v2_write_credential_list: - description: snmpV2_write net_conf_port_list: - description: Old_one start_index: 1 records_to_return: 100 protocol_order: ssh retry: 5 timeout: 3 - name: Execute discovery of devices with discovery specific credentials only cisco.dnac.discovery_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: - discovery_name: Single with discovery specific credentials only discovery_type: SINGLE ip_address_list: - 204.1.1.10 discovery_specific_credentials: cli_credentials_list: - username: cisco password: Cisco123 enable_password: Cisco123 http_read_credential: username: cisco password: Cisco123 port: 443 secure: true http_write_credential: username: cisco password: Cisco123 port: 443 secure: True snmp_v2_read_credential: description: snmp_v2-new community: Cisco123 snmp_v2_write_credential: description: snmp_v2-new community: Cisco123 snmp_v3_credential: username: v3Public2 snmp_mode: AUTHPRIV auth_type: SHA auth_password: Lablab123 privacy_type: AES256 privacy_password: Lablab123 net_conf_port: 750 use_global_credentials: False start_index: 1 records_to_return: 100 protocol_order: ssh retry: 5 timeout: 3 - name: Execute discovery of devices with global credentials only cisco.dnac.discovery_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: - discovery_name: CDP with global credentials only discovery_type: CDP ip_address_list: - 204.1.1.1 cdp_level: 16 global_credentials: cli_credentials_list: - description: ISE username: cisco - description: CLI1234 username: cli http_read_credential_list: - description: HTTP Read username: HTTP_Read http_write_credential_list: - description: HTTP Write username: HTTP_Write snmp_v3_credential_list: - description: snmpV3 username: snmpV3 snmp_v2_read_credential_list: - description: snmpV2_read snmp_v2_write_credential_list: - description: snmpV2_write net_conf_port_list: - description: Old_one start_index: 1 records_to_return: 100 protocol_order: ssh retry: 5 timeout: 3 - name: Execute discovery of devices with all the global credentials (max 5 allowed) cisco.dnac.discovery_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: - discovery_name: CIDR with all global credentials discovery_type: CIDR ip_address_list: - 204.1.2.0/24 ip_filter_list: - 204.1.2.10 preferred_mgmt_ip_method: None start_index: 1 records_to_return: 100 protocol_order: telnet retry: 10 timeout: 3 use_global_credentials: True - name: Delete disovery by name cisco.dnac.discovery_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: deleted config_verify: True config: - discovery_name: Single discovery .. Facts .. Return values Return Values ------------- Common return values are documented :ref:`here `, the following are the fields unique to this module: .. rst-class:: ansible-option-table .. list-table:: :width: 100% :widths: auto :header-rows: 1 * - Key - Description * - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__return-response_1: .. rst-class:: ansible-option-title **response_1** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
A dictionary with the response returned by the Cisco Catalyst Center Python SDK .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` always .. rst-class:: ansible-option-line .. rst-class:: ansible-option-sample :ansible-option-sample-bold:`Sample:` :ansible-rv-sample-value:`"{\\n \\"response\\":\\n {\\n \\"response\\": String,\\n \\"version\\": String\\n },\\n \\"msg\\": String\\n}\\n"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__return-response_2: .. rst-class:: ansible-option-title **response_2** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=string` .. raw:: html
- .. raw:: html
A list with the response returned by the Cisco Catalyst Center Python SDK .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` always .. rst-class:: ansible-option-line .. rst-class:: ansible-option-sample :ansible-option-sample-bold:`Sample:` :ansible-rv-sample-value:`["{\\n \\"response\\": []", "\\n \\"msg\\": String\\n}\\n"]` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.discovery_workflow_manager_module__return-response_3: .. rst-class:: ansible-option-title **response_3** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
A string with the response returned by the Cisco Catalyst Center Python SDK .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` always .. rst-class:: ansible-option-line .. rst-class:: ansible-option-sample :ansible-option-sample-bold:`Sample:` :ansible-rv-sample-value:`"{\\n \\"response\\": String,\\n \\"msg\\": String\\n}\\n"` .. raw:: html
.. Status (Presently only deprecated) .. Authors Authors ~~~~~~~ - Abinash Mishra (@abimishr) Phan Nguyen (@phannguy) Madhan Sankaranarayanan (@madhansansel) .. Extra links Collection links ~~~~~~~~~~~~~~~~ .. raw:: html .. Parsing errors