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

arista_eos_show_vlan template does not capture the list of interfaces part of the vlan #908

Closed
bharath-ravindranath opened this issue Mar 20, 2021 · 1 comment

Comments

@bharath-ravindranath
Copy link

ISSUE TYPE
  • Bug Report
TEMPLATE USING
Value VLAN_ID (\d+)
Value NAME (\S+)
Value STATUS (active|suspended)

Start
  ^${VLAN_ID}\s+${NAME}\s+${STATUS} -> Record

SAMPLE COMMAND OUTPUT
VLAN  Name                             Status    Ports
----- -------------------------------- --------- -------------------------------
1     default                          active    Et1
10    Test1                            active    Et1, Et2
20    Test2                            suspended
30    VLAN0030                         suspended

SUMMARY

I understand the contributors decided to leave out certain parts of the data. But the list of interfaces part of a vlan seems to be particularly useful.

As seen below the vlan_id and name are captured but not the interfaces part of that vlan.

ACTUAL RESULTS

[{'name': 'default', 'status': 'active', 'vlan_id': '1'},
 {'name': 'Test1', 'status': 'active', 'vlan_id': '10'},
 {'name': 'Test2', 'status': 'suspended', 'vlan_id': '20'},
 {'name': 'VLAN0030', 'status': 'suspended', 'vlan_id': '30'}]

I can do a PR and fix the issue if this is an acceptable change

@itdependsnetworks
Copy link
Contributor

Will track this on the PR: #909

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 a pull request may close this issue.

2 participants