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

Adding new template for Huawei SmartAX: display location <mac> #1994

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

evilmonkey19
Copy link
Contributor

Although the command look similar to #1993 it is not as the end result is different. Take care because this command comes doesn't add the ont and the output different.

…aaa-aaaa.textfsm


I take note! Commiting 🚀

Co-authored-by: Michael Bear <[email protected]>
@@ -674,6 +674,7 @@ huawei_smartax_display_ont_info_0_1_2.textfsm:huawei_smartax_display_ont_info_de
huawei_smartax_display_ont_port_vlan_0_1_byport_eth_0.textfsm, .*, huawei_smartax, di[[splay]] ont p[[ort]] vl[[an]] \d+ \d+ byport eth \d+\s*
huawei_smartax_display_ont_port_state_0_1_eth-port.textfsm, .*, huawei_smartax, di[[splay]] on[[t]] por[[t]] st[[ate]] \d+ \d+ e[[th-port]]
huawei_smartax_display_ont_port_vlan_0_1_byvlan_0.textfsm, .*, huawei_smartax, di[[splay]] ont p[[ort]] v[[lan]] \d+ \d+ byvlan \d+
huawei_smartax_display_location_aaaa-aaaa-aaaa.textfsm, .*, huawei_smartax, disp[[lay]] loc[[ation]] \S+\s*$
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
huawei_smartax_display_location_aaaa-aaaa-aaaa.textfsm, .*, huawei_smartax, disp[[lay]] loc[[ation]] \S+\s*$
huawei_smartax_display_location.textfsm, .*, huawei_smartax, disp[[lay]] loc[[ation]] \S+\s*$

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that we want to keep it at the short end of the command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants