Debian Codegraph @

ntc_templates/templates/zyxel_os_cfg_lan_get.textfsm

raw
1 Value NAME (.+?)
2 Value IP ((\d+\.){3}\d+)
3 Value IPV4_DHCP (Enable|Disable)
4 Value IPV6_ENABLE (true|false)
5
6 Start
7 ^Group\sName\s+LAN\sIP\sAddress\s+IPv4\sDHCP\sServer\s+IPv6\sEnable\s*$$ -> LANTable
8 ^\s*$$
9 ^. -> Error
10
11 LANTable
12 ^${NAME}\s+${IP}\s+${IPV4_DHCP}\s+${IPV6_ENABLE}\s*$$ -> Record
13 ^${NAME}\s+${IPV4_DHCP}\s+${IPV6_ENABLE}\s*$$ -> Record
14 ^Command\sSuccessful.\s*$$
15 ^\s*$$
16 ^. -> Error