arubanetworks.aoscx.aoscx_upload_firmware (4.3.2) — module

Uploads a firmware image onto the AOS-CX switch.

| "added in version" 2.8.0 of arubanetworks.aoscx"

Authors: Aruba Networks (@ArubaNetworks)

preview | supported by certified

Install collection

Install with ansible-galaxy collection install arubanetworks.aoscx:==4.3.2


Add to requirements.yml

  collections:
    - name: arubanetworks.aoscx
      version: 4.3.2

Description

This module uploads a firmware image onto the switch stored locally or it can also upload the firmware from an HTTP server.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Upload firmware to primary through HTTP
  aoscx_upload_firmware:
    partition_name: primary
    remote_firmware_file_path: http://192.168.1.2:8000/TL_10_04_0030P.swi
    vrf: 'mgmt'
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Upload firmware to secondary through local
  aoscx_upload_firmware:
    partition_name: secondary
    firmware_file_path: /tftpboot/TL_10_04_0030A.swi

Inputs

    
vrf:
    description: 'VRF to be used to contact HTTP server, required if remote_firmware_file_path
      is provided.

      '
    required: false
    type: str

partition_name:
    choices:
    - primary
    - secondary
    default: primary
    description: Name of the partition for the image to be uploaded.
    required: false
    type: str

firmware_file_path:
    description: File name and path for locally uploading firmware image
    required: false
    type: str

wait_firmware_upload:
    default: false
    description: 'If true, the result will be displayed after the firmware upload process
      is done. If false, the result must be checked on the switch by the user.

      '
    required: false
    type: bool

remote_firmware_file_path:
    description: 'HTTP server address and path for uploading firmware image, must be reachable
      through provided vrf.

      '
    required: false
    type: str