Debian Codegraph @

ntc_templates/templates/mikrotik_routeros_snmp_community_print_without-paging.textfsm

raw
1 Value Key index (\d+)
2 Value flags ([X*]+)
3 Value name (\S+?)
4 Value addresses (\S+?)
5 Value security (authorized|none|private)
6 Value read_access (yes|no)
7 Value write_access (yes|no)
8
9 Start
10 ^\s#\s+NAME\s+ADDRESSES\s+SECURITY\s+READ-ACCESS\s+WRITE-ACCESS\s*$$ -> SNMPCommunitiesTable
11
12 SNMPCommunitiesTable
13 ^\s?${index}\s+(${flags})?\s+${name}\s+${addresses}\s+${security}\s+${read_access}\s+${write_access}\s*$$ -> Record
14 ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next
15 ^. -> Error