Debian Codegraph @

ntc_templates/templates/mikrotik_routeros_ip_route_print_terse.textfsm

raw
1 Value Key index (\d+)
2 Value flags ([XADCSrbomBUP ]+)
3 Value comment (.*)
4 Value dst_address ([\w.:/\d]+)
5 Value pref_src (\S+?)
6 Value gateway (\S+)
7 Value gateway_status (.+)
8 Value distance (\d+)
9 Value scope (\d+)
10 Value target_scope (\d+)
11
12 Start
13 ^\s?${index}\s${flags}\s\s(comment=${comment}\s)?dst-address=${dst_address}(\spref-src=${pref_src})?\sgateway=${gateway}\sgateway-status=${gateway_status}\sdistance=${distance}\sscope=${scope}(\starget-scope=${target_scope})?.*$$ -> Record
14 ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next
15 ^. -> Error