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

Fix mac address table #485

Merged
merged 3 commits into from
Oct 8, 2019
Merged

Fix mac address table #485

merged 3 commits into from
Oct 8, 2019

Conversation

FragmentedPacket
Copy link
Contributor

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT

cisco_ios_show_mac-address-table.template

SUMMARY

Type3/4 are expecting a space at the beginning, but when VLAN is 1000+, it breaks and doesn't capture.

Changing from \s+ to \s*

Fixes #385

['0008.e3ff.fca8', 'static', '950', 'Switch'],
['0008.e3ff.fca8', 'static', '1105', 'Switch'],
['0008.e3ff.fcac', 'dynamic', '1105', 'Port-channel30'],
['0008.e3ff.fca8', 'static', '1106', 'Switch'],
['002a.6a8b.e343', 'dynamic', '1106', 'TenGigabitEthernet1/1/1'],
['0008.e3ff.fca8', 'static', '1171', 'Switch'],
['001b.baf8.ca15', 'dynamic', '1171', 'Port-channel41'],
['001b.baf8.ca31', 'dynamic', '1171', 'Port-channel41']

@FragmentedPacket FragmentedPacket merged commit b160158 into networktocode:master Oct 8, 2019
@FragmentedPacket FragmentedPacket deleted the fix-mac-address-table branch February 21, 2020 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

show_mac_address-table - Output contains single dictionary
1 participant