From 9a40a7ce78bb719305ff4f940f0b3b37676d4067 Mon Sep 17 00:00:00 2001 From: Adam Troy Date: Sun, 14 Mar 2021 00:13:19 -0600 Subject: [PATCH] Add files via upload --- .../ruckus_fastiron_show_version.textfsm | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ntc_templates/templates/ruckus_fastiron_show_version.textfsm diff --git a/ntc_templates/templates/ruckus_fastiron_show_version.textfsm b/ntc_templates/templates/ruckus_fastiron_show_version.textfsm new file mode 100644 index 0000000000..8bd795ab9c --- /dev/null +++ b/ntc_templates/templates/ruckus_fastiron_show_version.textfsm @@ -0,0 +1,28 @@ +Value List VERSION (\S+) +Value List BOOTCODE (\S+\s+\S+) +Value HARDWARE (.*) +Value List SERIAL (\S+) +Value List UPTIME (.*) + + +Start + ^\s+Copyright\s+\(c\)\s+Ruckus\s+Networks,\s+Inc\.\s+All\s+rights\s+reserved\. + ^\s+UNIT\s+[0-9]*:\s+compiled\s+on\s+\S+\s+[0-9]*\s+[0-9]*\s+at\s+[0-9]*:[0-9]*:[0-9]*\s+labeled\s+as\s+\S+ + ^\s+\([0-9]*\s+bytes\)\s+from\s+Primary\s+\S+\s+\(UFI\) + ^\s+SW:\s+Version\s+${VERSION} + ^\s+Compressed\s+Primary\s+Boot\s+Code\s+size\s+=\s+[0-9]*,\s+Version:${BOOTCODE} + ^\s+Compiled\s+on\s+\S+\s+\S+\s+[0-9]*\s+[0-9]*:[0-9]*:[0-9]*\s+[0-9]* + ^\s+HW:\s+${HARDWARE} + ^UNIT\s+[0-9]*:\s+SL\s+[0-9]*:\s+.* + ^\s+Serial\s+#:${SERIAL} + ^\s+Software\s+Package:\S+ + ^\s+Current\s+License:\S+ + ^\s+P-ASIC\s+[0-9]*:\s+.* + ^\s+[0-9]* [KMGT](Hz|B)\s+.* + ^STACKID\s+[0-9]*\s+system\s+uptime\s+is\s+${UPTIME} + ^The\s+system\s+started\s+at\s+.* + ^The\s+system\s+:\s+started=.* + ^My\s+stack\s+unit\s+ID\s+=\s+[0-9]*,\s+bootup\s+role\s+=\s+\S+ -> Record + ^=* + ^\s* + ^. -> Error \ No newline at end of file