ansible.utils/tests/unit/plugins/action/fixtures/nxos_show_version.textfsm

13 lines
332 B
Plaintext

Value uptime ((\d+\s\w+.s.,?\s?){4})
Value last_reboot_reason (\w+)
Value version (\d+.\d+(.+)?)
Value boot_image (.*)
Value platfrom (\w+)
Start
^\s+NXOS: version\s${version}
^\s+NXOS image file is:\s${boot_image}
^\s+cisco Nexus\d+\s${platfrom}
^Kernel uptime is\s${uptime}
^\s+Reason:\s${last_reboot_reason} -> Record