cisco.dnac.pnp_device_reset (2.0.7) — module

Manage PnpDeviceReset objects of DeviceOnboardingPnp

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

Recovers a device from a Workflow Execution Error state.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: reset_device
  cisco.dnac.pnp_device_reset:
    state: create  # required
    deviceResetList:
    - configList:
      - configId: SomeValue  # string
        configParameters:
        - key: SomeValue  # string
          value: SomeValue  # string
      deviceId: SomeValue  # string
      licenseLevel: SomeValue  # string
      licenseType: SomeValue  # string
      topOfStackSerialNumber: SomeValue  # string
    projectId: SomeValue  # string
    workflowId: SomeValue  # string

Inputs

    
projectId:
    description:
    - ResetRequest's projectId.
    type: str

workflowId:
    description:
    - ResetRequest's workflowId.
    type: str

deviceResetList:
    description:
    - ResetRequest's deviceResetList (list of objects).
    elements: dict
    suboptions:
      configList:
        description:
        - It is the pnp device reset's configList.
        elements: dict
        suboptions:
          configId:
            description:
            - It is the pnp device reset's configId.
            type: str
          configParameters:
            description:
            - It is the pnp device reset's configParameters.
            elements: dict
            suboptions:
              key:
                description:
                - It is the pnp device reset's key.
                type: str
              value:
                description:
                - It is the pnp device reset's value.
                type: str
            type: list
        type: list
      deviceId:
        description:
        - It is the pnp device reset's deviceId.
        type: str
      licenseLevel:
        description:
        - It is the pnp device reset's licenseLevel.
        type: str
      licenseType:
        description:
        - It is the pnp device reset's licenseType.
        type: str
      topOfStackSerialNumber:
        description:
        - It is the pnp device reset's topOfStackSerialNumber.
        type: str
    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: device_onboarding_pnp.reset_device
  type: str

See also