Debian Codegraph @

ntc_templates/templates/ciena_saos_ssh_server_show_key.textfsm

raw
1 Value USERNAME (\S+)
2 Value KEY_STATUS (\S+)
3
4 Start
5 # Accounts for tabular delineations and table names
6 ^\+\-
7 # Account for SSH Server Key block
8 ^\|\s+[Kk]ey
9 ^\|\s+[Uu]sername.*[Kk]ey\s+[Ss]tatus
10 ^\|\s*${USERNAME}\s*\S*\s*\|\s*${KEY_STATUS}\s*\| -> Record
11 ^\s*$$
12 ^. -> Error