cisco.dnac.network_device_autocomplete – Manage NetworkDeviceAutocomplete objects of Devices¶
Note
This plugin is part of the cisco.dnac collection (version 2.0.7).
To install it use: ansible-galaxy collection install cisco.dnac.
To use it in a playbook, specify: cisco.dnac.network_device_autocomplete.
New in version 1.0.0: of cisco.dnac
Synopsis¶
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.
Note
This module has a corresponding action plugin.
Parameters¶
See Also¶
See also
- cisco.dnac.plugins.module_utils.definitions.network_device_autocomplete
 The official documentation on the cisco.dnac.plugins.module_utils.definitions.network_device_autocomplete module.
- NetworkDeviceAutocomplete reference
 Complete reference of the NetworkDeviceAutocomplete object model.
- NetworkDeviceAutocomplete reference
 SDK reference.
Examples¶
- 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
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Rafael Campos (@racampos)