Debian Codegraph @

ntc_templates/templates/cisco_ios_show_license.textfsm

raw
1 Value FEATURE (\S+)
2 Value PERIOD_LEFT (.*)
3 Value PERIOD_USED (.*)
4 Value LICENSE_TYPE (.*)
5 Value LICENSE_STATE (.*)
6 Value LICENSE_COUNT (.*)
7 Value LICENSE_PRIORITY (.*)
8
9 Start
10 ^Index\s+\d+\s+Feature: -> Continue.Record
11 ^Index\s+\d+\s+Feature:\s+${FEATURE}\s*$$
12 ^\s+Period\s+left:\s+${PERIOD_LEFT}$$
13 ^\s+Period\s+Used:\s+${PERIOD_USED}$$
14 ^\s+License\s+Type:\s+${LICENSE_TYPE}$$
15 ^\s+License\s+State:\s+${LICENSE_STATE}$$
16 ^\s+License\s+Count:\s+${LICENSE_COUNT}$$
17 ^\s+License\s+Priority:\s+${LICENSE_PRIORITY}$$
18 ^\s*$$
19 ^. -> Error