mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Fixes ios_l2_interface and ios_vlan not working on certain interface types issue (#43819)
* Fixes #43654 and #43582 * Remove q statement * Fix shippable errors * Fix more shippable errors * Fix unittest
This commit is contained in:
committed by
GitHub
parent
e188073629
commit
b14f256d41
@@ -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'):
|
||||
if interface.upper()[:2] in ('ET', 'GI', 'FA', 'TE', 'FO'):
|
||||
intf_type = 'ethernet'
|
||||
elif interface.upper().startswith('VL'):
|
||||
intf_type = 'svi'
|
||||
|
||||
Reference in New Issue
Block a user