mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Add support for 25G and 100G interfaces (#47852)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6775ec3cf2
commit
f0a057b63a
@@ -168,6 +168,10 @@ def normalize_interface(name):
|
||||
if_type = 'port-channel'
|
||||
elif name.lower().startswith('nv'):
|
||||
if_type = 'nve'
|
||||
elif name.lower().startswith('twe'):
|
||||
if_type = 'TwentyFiveGigE'
|
||||
elif name.lower().startswith('hu'):
|
||||
if_type = 'HundredGigE'
|
||||
else:
|
||||
if_type = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user