Debian Codegraph @

ntc_templates/templates/juniper_junos_show_chassis_firmware.textfsm

raw
1 Value Filldown PART (\w+\s\w+\s\w+|\w+\s\d+?|\w+)
2 Value TYPE (\S+)
3 Value VERSION (\d+\.+.+?|\S+\s+\S+)
4
5 Start
6 ^[Pp]art
7 ^${PART}\s+${TYPE}?\s+?(.+Version\s+|.+U-Boot\s.+|.+?)${VERSION}(Copy\S+$$|\s+.+$$|$$) -> Record
8 ^\s+${TYPE}\s+?(.+Version\s+|.+U-Boot\s.+|.+?)${VERSION}(Copy\S+$$|\s+.+$$|$$) -> Record
9 ^\s*$$
10 ^{master:\d+}
11
12 EOF