Update _ios_l2_interface.py (#61401)

Add support for TwoGigabitEthernet switchports in IOS-XE
pull/60915/head
thetriforce 5 years ago committed by Sumit Jaiswal
parent e7a9d71ac0
commit 0696fcacf0

@ -118,7 +118,7 @@ from ansible.module_utils.network.ios.ios import ios_argument_spec
def get_interface_type(interface):
intf_type = 'unknown'
if interface.upper()[:2] in ('ET', 'GI', 'FA', 'TE', 'FO', 'HU', 'TWE'):
if interface.upper()[:2] in ('ET', 'GI', 'FA', 'TE', 'FO', 'HU', 'TWE', 'TW'):
intf_type = 'ethernet'
elif interface.upper().startswith('VL'):
intf_type = 'svi'

Loading…
Cancel
Save