Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Kickstart version to determine NXOS version #1172

Conversation

Ichabond
Copy link
Contributor

rr_sys_ver reports the system version from before a reboot, not the current version. As the NXAPI seems to lack a straightforward sys_ver_str (This is why we’re in this mess in the first place), we’ll need to use the kickstart_ver_str instead.

This is also shown to be an issue in the official documentation: https://developer.cisco.com/docs/nx-api-cli-reference-for-the-cisco-nexus-9000-series-platform/#!version-commands/show-version

This fixes #1171

`rr_sys_ver` reports the system version from before a reboot, not the current version. As the NXAPI seems to lack a straightforward `sys_ver_str` (This is why we’re in this mess in the first place), we’ll need to use the `kickstart_ver_str` instead.

This is also shown to be an issue in the official documentation: https://developer.cisco.com/docs/nx-api-cli-reference-for-the-cisco-nexus-9000-series-platform/#!version-commands/show-version

This fixes napalm-automation#1171
@coveralls
Copy link

Coverage Status

Coverage remained the same at 0.0% when pulling e5373b9 on Ichabond:develop_fix_version_because_reasons into 638af2d on napalm-automation:develop.

@mirceaulinic mirceaulinic merged commit 7166977 into napalm-automation:develop Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cisco Nexus 9000 series report old version number
3 participants