You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nearly all Network OS report a short name for interfaces. It would be useful for interface_split or a similar filter to spit such short names out given a full interface name.
ISSUE TYPE
ANSIBLE VERSION
Network OS
All
SUMMARY
Nearly all Network OS report a short name for interfaces. It would be useful for interface_split or a similar filter to spit such short names out given a full interface name.
EXPECTED RESULTS
{{ 'Ethernet1/1' | interface_split('shortname') }} returns 'Et1/1'
{{ 'Loopback0' | interface_split('shortname') }} returns 'Lo0'
{{ 'TenGigabitEthernet1/0/1' | interface_split('shortname') }} returns 'Te1/0/1'
{{ 'Tunnel1' | interface_split('shortname') }} returns 'Tu1'
The text was updated successfully, but these errors were encountered: