cisco.dnac.device_detail (2.0.7) — module

Manage DeviceDetail objects of Devices

| "added in version" 1.0.0 of cisco.dnac"

Authors: Rafael Campos (@racampos)

This plugin has a corresponding action plugin.

Install collection

Install with ansible-galaxy collection install cisco.dnac:==2.0.7


Add to requirements.yml

  collections:
    - name: cisco.dnac
      version: 2.0.7

Description

Returns detailed Network Device information retrieved by Mac Address, Device Name or UUID for any given point of time.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get_device_detail
  cisco.dnac.device_detail:
    state: query  # required
    identifier: SomeValue  # string, required
    search_by: SomeValue  # string, required
    timestamp: 1  #  integer
  register: nm_get_device_detail

Inputs

    
search_by:
    description:
    - MAC Address or Device Name value or UUID of the network device.
    required: true
    type: str

timestamp:
    description:
    - Epoch time(in milliseconds) when the device data is required.
    type: int

identifier:
    description:
    - One of keywords macAddress or uuid or nwDeviceName.
    required: true
    type: str

Outputs

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.get_device_detail
  type: str

See also