racampos.dnac.pnp_device_reset (0.0.1) — module

Manage PnpDeviceReset objects of DeviceOnboardingPnp

| "added in version" 1.0 of racampos.dnac"

Authors: first last (@GitHubID)

preview | supported by community

This plugin has a corresponding action plugin.

Install collection

Install with ansible-galaxy collection install racampos.dnac:==0.0.1


Add to requirements.yml

  collections:
    - name: racampos.dnac
      version: 0.0.1

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

reset_device:
  contains: null
  description: Recovers a device from a Workflow Execution Error state.
  jsonArrayResponse:
    description: ResetRequest's Json Array Response (list of any objects).
    returned: success
    type: list
  jsonResponse:
    description: ResetRequest's Json Response.
    returned: success
    type: dict
  message:
    description: ResetRequest's Message.
    returned: success
    sample: <message>
    type: str
  returned: success
  statusCode:
    description: ResetRequest's statusCode.
    returned: success
    sample: 0
    type: int
  type: dict

See also