cisco / cisco.dnac / 2.0.7 / module / network_device_autocomplete Manage NetworkDeviceAutocomplete objects of Devices | "added in version" 1.0.0 of cisco.dnac" Authors: Rafael Campos (@racampos) This plugin has a corresponding action plugin.cisco.dnac.network_device_autocomplete (2.0.7) — module
Install with ansible-galaxy collection install cisco.dnac:==2.0.7
collections: - name: cisco.dnac version: 2.0.7
Gets the list of first 500 network devices sorted lexicographically based on host name. It can be filtered using management IP address, mac address, hostname and location name. If id param is provided, it will be returning the list of network-devices for the given id's and other request params will be ignored. In case of autocomplete request, returns the list of specified attributes.
- name: retrieves_all_network_devices cisco.dnac.network_device_autocomplete: state: query # required associated_wlc_ip: SomeValue # string collection_interval: SomeValue # string collection_status: SomeValue # string error_code: SomeValue # string family: SomeValue # string hostname: SomeValue # string limit: SomeValue # string mac_address: SomeValue # string management_ip_address: SomeValue # string offset: SomeValue # string platform_id: SomeValue # string reachability_failure_reason: SomeValue # string reachability_status: SomeValue # string role: SomeValue # string role_source: SomeValue # string serial_number: SomeValue # string series: SomeValue # string software_type: SomeValue # string software_version: SomeValue # string type: SomeValue # string up_time: SomeValue # string vrf_name: SomeValue # string register: nm_retrieves_all_network_devices
role: description: - Role query parameter. type: str type: description: - Type query parameter. type: str limit: description: - Limit query parameter. type: str family: description: - Family query parameter. type: str offset: description: - Offset query parameter. type: str series: description: - Series query parameter. type: str up_time: description: - UpTime query parameter. type: str hostname: description: - Hostname query parameter. type: str vrf_name: description: - VrfName query parameter. type: str error_code: description: - ErrorCode query parameter. type: str mac_address: description: - MacAddress query parameter. type: str platform_id: description: - PlatformId query parameter. type: str role_source: description: - RoleSource query parameter. type: str serial_number: description: - SerialNumber query parameter. type: str software_type: description: - SoftwareType query parameter. type: str software_version: description: - SoftwareVersion query parameter. type: str associated_wlc_ip: description: - AssociatedWlcIp query parameter. type: str collection_status: description: - CollectionStatus query parameter. type: str collection_interval: description: - CollectionInterval query parameter. type: str reachability_status: description: - ReachabilityStatus query parameter. type: str management_ip_address: description: - ManagementIpAddress query parameter. type: str reachability_failure_reason: description: - ReachabilityFailureReason query parameter. type: str
dnac_response: description: A dictionary with the response returned by the DNA Center Python SDK returned: always sample: response: 29 version: '1.0' type: dict missing_params: description: Provided arguments do not comply with the schema of the DNA Center Python SDK function returned: when the function request schema is not satisfied sample: null type: list sdk_function: description: The DNA Center SDK function used to execute the task returned: always sample: devices.retrieves_all_network_devices type: str