Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update template: huawei_smartax display_ont_info_fsp to display_ont_info_0_0_0 #1711

Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixed template for display ont info fsp to display ont info 0 0 0.
  • Loading branch information
evilmonkey19 committed Jun 6, 2024
commit 512d7cef81bce4208e1d7ea11edf555d5d170c59
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 2,10 @@ Value Required FSP (\w \/\s\w \/\w )
Value Key ONT_ID (\d )
Value SERIAL_NUMBER (\w )
Value CONTROL_FLAG (\w )
Value RUN_STATE (\w )
Value CONFIG_STATE (\w )
Value MATCH_STATE (\w )
Value PROTECT_SIDE (\w )
Value RUN_STATE (\w |-)
Value CONFIG_STATE (\w |-)
Value MATCH_STATE (\w |-)
Value PROTECT_SIDE (no|yes)

Start
^\s -
Expand Down
2 changes: 1 addition & 1 deletion ntc_templates/templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 587,7 @@ hp_procurve_show_arp.textfsm, .*, hp_procurve, sh[[ow]] ar[[p]]
hp_procurve_show_ip.textfsm, .*, hp_procurve, sh[[ow]] ip

huawei_smartax_display_ont_info_summary_ont.textfsm:huawei_smartax_display_ont_info_summary_sn.textfsm, .*, huawei_smartax, di[[splay]] ont i[[nfo]] su[[mmary]] \S *$
huawei_smartax_display_ont_info_fsp.textfsm:huawei_smartax_display_ont_info_description.textfsm, .*, huawei_smartax, di[[splay]] ont i[[nfo]] \S *$
huawei_smartax_display_ont_info_0_0_0.textfsm:huawei_smartax_display_ont_info_description.textfsm, .*, huawei_smartax, di[[splay]] ont i[[nfo]] (\d \s\d \s\d ) *$
jmcgill298 marked this conversation as resolved.
Show resolved Hide resolved
huawei_smartax_display_sysman_service_state.textfsm, .*, huawei_smartax, di[[splay]] sysman s[[ervice]] s[[tate]]
huawei_smartax_display_board_serial-number.textfsm, .*, huawei_smartax, di[[splay]] bo[[ard]] s[[erial-number]]\s*
huawei_smartax_display_ont_info_by-sn_sn.textfsm, .*, huawei_smartax, di[[splay]] ont i[[nfo]] by-sn \S
Expand Down