Add aruba_aoscx_show_ip_interface_brief - #2340
Open
Ardeck wants to merge 1 commit into
Open
Conversation
Ardeck
requested review from
itdependsnetworks,
jmcgill298,
jvanderaa,
matt852 and
mjbear
as code owners
July 30, 2026 13:56
Collaborator
|
@Ardeck So in this aoscx case, If the normal (more verbose) version would suffice your use case, maybe it is amenable to template that instead? Thank you for considering this suggestion. |
Contributor
Author
|
In this case, the job is done. I understand your thinking. I did not find any difference, but again for convenience, It is part of a bigger process, so it makes sense for me. |
Collaborator
|
Could This way the project only needs to maintain one template. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a new TextFSM template to support parsing
show ip interface brieffor Aruba AOS-CX switches.Files Added / Modified
ntc_templates/templates/aruba_aoscx_show_ip_interface_brief.textfsmntc_templates/templates/indextests/aruba_aoscx/show_ip_interface_brief/aruba_aoscx_show_ip_interface_brief.rawtests/aruba_aoscx/show_ip_interface_brief/aruba_aoscx_show_ip_interface_brief.ymlExample CLI Output
Parsed Data Structure
[ { "interface": "loopback1", "ip_address": "192.168.216.15/24", "link_status": "up", "admin_status": "up" }, { "interface": "vlan1", "ip_address": "No Address", "link_status": "down", "admin_status": "up" }, { "interface": "vlan300", "ip_address": "192.168.200.13/24", "link_status": "up", "admin_status": "up" }, { "interface": "vlan302", "ip_address": "No Address", "link_status": "up", "admin_status": "up" } ]Verification
invoke gen-yaml-folder)poetry run pytest -k aruba_aoscx_show_ip_interface_brief(All tests pass)invoke yamllint black flake8)