arista_eos_show_vlan template does not capture the list of interfaces part of the vlan
Closed this issue · 1 comments
bharath-ravindranath commented
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 commented
Will track this on the PR: #909