Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixes #903 - Updated cisco_ios_show_interfaces_switchport.textfsm #907

Merged
merged 1 commit into from
Jul 7, 2021
Merged

Fixes #903 - Updated cisco_ios_show_interfaces_switchport.textfsm #907

merged 1 commit into from
Jul 7, 2021

Conversation

mickyhale
Copy link
Contributor

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT

cisco_ios_show_interfaces_switchport.textfsm

SUMMARY

Modified Trunk state in template to address issue described in #903. Updated corresponding raw and yml files.

Before:

[{'interface': 'Te5/0/1',
  'switchport': 'Enabled',
  'switchport_monitor': '',
  'switchport_negotiation': 'Off',
  'mode': 'trunk',
  'admin_mode': 'trunk',
  'access_vlan': '1',
  'native_vlan': '1',
  'voice_vlan': 'none',
  'trunking_vlans': ['1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604',
   '900,910,920,930,940',
   '900,910,920,930,940']}]

After:

[{'interface': 'Te5/0/1',
  'switchport': 'Enabled',
  'switchport_monitor': '',
  'switchport_negotiation': 'Off',
  'mode': 'trunk',
  'admin_mode': 'trunk',
  'access_vlan': '1',
  'native_vlan': '1',
  'voice_vlan': 'none',
  'trunking_vlans': ['1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604',
   '900,910,920,930,940']},
 {'interface': 'Te5/0/2',
  'switchport': 'Enabled',
  'switchport_monitor': '',
  'switchport_negotiation': 'Off',
  'mode': 'trunk',
  'admin_mode': 'trunk',
  'access_vlan': '1',
  'native_vlan': '1',
  'voice_vlan': 'none',
  'trunking_vlans': ['1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604',
   '900,910,920,930,940']}]

@FragmentedPacket FragmentedPacket merged commit f07db4e into networktocode:master Jul 7, 2021
jvanderaa pushed a commit that referenced this pull request Nov 10, 2021
@mickyhale mickyhale deleted the ios-sh-int-switch-fix branch November 15, 2021 17:41
guillaume-mbali pushed a commit to unyc-io/ntc-templates that referenced this pull request Apr 12, 2023
cppmonkey pushed a commit to cppmonkey/ntc-templates that referenced this pull request Oct 25, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants