Skip to content

Conversation

@peio42
Copy link

@peio42 peio42 commented Aug 28, 2024

SUMMARY

Add an optional parameter "epld_image_file" to the cisco.nxos.nxos_install_os command.
If the parameter is not specified (default), the upgrade behavior remains unchanged.
If an EPLD file is provided, the installation command will be modified to include the EPLD update alongside the NXOS image update. The command used will then be "install all nxos <...> epld <...>".

Note: Updating the EPLDs results in a longer upgrade time. Be sure to adjust the ansible_command_timeout variable accordingly.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

cisco.nxos

ADDITIONAL INFORMATION

Exemple variables

  target:
    nxos_ver: 10.2(8)
    image: nxos64-cs.10.2.8.M.bin
    image_md5: de8c8756f80c1cd4bae8597a23aec414
    epld: n9000-epld.10.2.6.M.img
    epld_md5: 32a456aecf481321df5b56b018d1c602

Exemple upgrade block

    - name: Install/Upgrade NXOS software
      block:
        - name: Installing Target NXOS {{ target['nxos_ver'] }}
          check_mode: false
          nxos_install_os:
            system_image_file: "{{ target['image'] }}"
            epld_image_file: "{{ target['epld'] }}"
            issu: no
          register: install_output
          vars:
            ansible_command_timeout: 900
            ansible_connect_timeout: 600

        - name: Show install results
          debug: var=install_output.install_state

      always:
        - name: Waiting for {{ inventory_hostname }} to come back up
          wait_for:
            host: "{{ (ansible_ssh_host|default(ansible_host))|default(inventory_hostname) }}"
            port: 22
            state: started
            timeout: 300
            delay: 60

@peio42
Copy link
Author

peio42 commented Sep 8, 2024

Hello,
Is there anything I can do to help for this PR?

@ChiefJReloaded
Copy link

Hi,
I am also interested in this feature. Is there any chance to get this merged to a release in the near future?

@NilashishC NilashishC removed their request for review June 18, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants