Fix ios_l2_interfaces skipping relevant L2 interfaces facts (#63779)

* fix bug 63777

* fix comment
pull/63987/head
Sumit Jaiswal 6 years ago committed by GitHub
parent 3e4ae42256
commit d620a209a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -83,7 +83,7 @@ class L2_InterfacesFacts(object):
if get_interface_type(intf) == 'unknown':
return {}
if intf.lower().startswith('gi'):
if intf.upper()[:2] in ('HU', 'FO', 'TW', 'TE', 'GI', 'FA', 'ET', 'PO'):
# populate the facts from the configuration
config['name'] = normalize_interface(intf)

Loading…
Cancel
Save