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

cisco_nxos_show_version extension for pulling PLATFORM from N9K #393

Merged
merged 2 commits into from
Jul 27, 2019

Conversation

jonesbra
Copy link
Contributor

@jonesbra jonesbra commented Apr 5, 2019

ISSUE TYPE
  • Additional Testing
COMPONENT

Template: cisco_nxos_show_version.template
OS: Cisco NX-OS
Command: show version

SUMMARY

Extending the cisco_nxos show version template to pull Platform value from slightly different output.


@jonesbra
Copy link
Contributor Author

jonesbra commented Apr 5, 2019

Assuming this failed due to case-sensitive keys not matching up.

---

parsed_sample:
- BOOT_IMAGE: /bootflash/aci-n9000-dk9.14.0.1h.bin
  LAST_REBOOT_REASON: unknown
  OS: 14.0(1h) [build 14.0(1h)]
  PLATFORM: C9396PX
  UPTIME: 11 day(s), 01 hour(s), 57 minute(s), 02 second(s)

should be:

---

parsed_sample:
- boot_image: /bootflash/aci-n9000-dk9.14.0.1h.bin
  last_reboot_reason: unknown
  os: 14.0(1h) [build 14.0(1h)]
  platform: C9396PX
  uptime: 11 day(s), 01 hour(s), 57 minute(s), 02 second(s)

@FragmentedPacket FragmentedPacket merged commit d065e73 into networktocode:master Jul 27, 2019
jvanderaa pushed a commit that referenced this pull request Nov 10, 2021
Enhancement: cisco_nxos_show_version extension for pulling PLATFORM from N9K
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