cisco.dnac.network_device_poller_read_request (2.0.7) — module

Manage NetworkDevicePollerReadRequest objects of CommandRunner

| "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

Submit request for read-only CLIs.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: run_read_only_commands_on_devices
  cisco.dnac.network_device_poller_read_request:
    state: create  # required
    commands:  # required
    - SomeValue  # string
    deviceUuids:  # required
    - SomeValue  # string
    description: SomeValue  # string
    name: SomeValue  # string
    timeout: 1  #  integer

Inputs

    
name:
    description:
    - CommandRunnerDTO's name.
    type: str

timeout:
    description:
    - CommandRunnerDTO's timeout.
    type: int

commands:
    description:
    - CommandRunnerDTO's commands (list of strings).
    required: true
    type: list

description:
    description:
    - CommandRunnerDTO's description.
    type: str

deviceUuids:
    description:
    - CommandRunnerDTO's deviceUuids (list of strings).
    required: true
    type: list

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

See also