racampos.dnac.trigger_image_activation (0.0.1) — module

Manage TriggerImageActivation objects of SoftwareImageManagementSwim

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

Activates a software image on a given device. Software image must be present in the device flash.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: trigger_software_image_activation
  cisco.dnac.trigger_image_activation:
    state: create  # required
    payload:  # required
    - activateLowerImageVersion: True  # boolean
      deviceUpgradeMode: SomeValue  # string
      deviceUuid: SomeValue  # string
      distributeIfNeeded: True  # boolean
      imageUuidList:
      - SomeValue  # string
      smuImageUuidList:
      - SomeValue  # string
    schedule_validate: True  # boolean

Inputs

    
payload:
    description:
    - An object to send in the Request body.
    elements: dict
    required: true
    suboptions:
      activateLowerImageVersion:
        description:
        - It is the trigger image activation's activateLowerImageVersion.
        type: bool
      deviceUpgradeMode:
        description:
        - It is the trigger image activation's deviceUpgradeMode.
        type: str
      deviceUuid:
        description:
        - It is the trigger image activation's deviceUuid.
        type: str
      distributeIfNeeded:
        description:
        - It is the trigger image activation's distributeIfNeeded.
        type: bool
      imageUuidList:
        description:
        - It is the trigger image activation's imageUuidList.
        type: list
      smuImageUuidList:
        description:
        - It is the trigger image activation's smuImageUuidList.
        type: list
    type: list

schedule_validate:
    description:
    - ScheduleValidate, validates data before schedule (Optional).
    type: bool

Outputs

trigger_software_image_activation:
  contains: null
  description: Activates a software image on a given device. Software image must be
    present in the device flash.
  response:
    contains:
      taskId:
        description: It is the trigger image activation's taskId.
        returned: success
        type: dict
      url:
        description: It is the trigger image activation's url.
        returned: success
        sample: <url>
        type: str
    description: ActivateDTO's response.
    returned: success
    type: dict
  returned: success
  type: dict
  version:
    description: ActivateDTO's version.
    returned: success
    sample: '1.0'
    type: str

See also