ntc_templates/templates/huawei_vrp_display_snmp-agent_community_read.textfsm
raw| 1 | Value NAME (\S+) |
| 2 | Value GROUP (\S+) |
| 3 | Value STORAGE_TYPE (volatile|nonVolatile|permanent|readOnly|other) |
| 4 | Value VIEW (\S+) |
| 5 | Value ACL (\d+) |
| 6 | |
| 7 | Start |
| 8 | ^\s*Community\sname:.*$$ -> Continue.Record |
| 9 | ^\s*Community\sname:\s+${NAME}\s*$$ |
| 10 | ^\s*Group\sname:\s+${GROUP}\s*$$ |
| 11 | ^\s*Storage(\s|-)type:\s+${STORAGE_TYPE}\s*$$ |
| 12 | ^\s*View\sname:\s+${VIEW}\s*$$ |
| 13 | ^\s*Acl:\s+${ACL}\s*$$ |
| 14 | ^\s*Total\snumber\sis\s\d+\s*$$ |
| 15 | ^\s*$$ |
| 16 | ^. -> Error |